@@ -12,11 +12,12 @@ import Typography from "@material-ui/core/Typography";
1212import { Link , List , ListItem , ListItemText } from "@material-ui/core" ;
1313import FiberManualRecordIcon from '@material-ui/icons/FiberManualRecord' ;
1414import GitHubIcon from '@material-ui/icons/GitHub' ;
15+ import LinkedInIcon from "@material-ui/icons/LinkedIn" ;
1516
1617const useStyles = ( theme ) => ( {
1718 root : {
1819 backgroundColor : '#fbfafa' ,
19- height : '100% ' ,
20+ height : '100vh ' ,
2021 display : 'flex' ,
2122 flexDirection : 'column' ,
2223 flex : '1' ,
@@ -25,13 +26,19 @@ const useStyles = (theme) => ({
2526 headline : {
2627 marginBottom : '10px' ,
2728 } ,
29+ ctaText : {
30+ fontWeight : 'bold' ,
31+ } ,
2832 cmd : {
2933 backgroundColor : '#dedede' ,
3034 } ,
3135 listBullet : {
3236 fontSize : '10px' ,
3337 marginRight : '3px' ,
3438 } ,
39+ footer : {
40+ marginTop : '30px' ,
41+ }
3542} ) ;
3643
3744const App = ( { classes} ) => {
@@ -75,7 +82,7 @@ const App = ({classes}) => {
7582
7683 return (
7784 < GlobalHotKeys keyMap = { keyMap } handlers = { handlers } >
78- < Grid className = { classes . root } container justify = 'center' alignItems = 'center' spacing = { 3 } >
85+ < Grid className = { classes . root } container alignItems = 'center' spacing = { 3 } >
7986 < Grid item >
8087 < Typography className = { classes . headline } align = "center" variant = "h4" >
8188 react-super-cmd < span role = "img" aria-label = "lightning-emoji" > ⚡</ span >
@@ -84,7 +91,7 @@ const App = ({classes}) => {
8491 < Typography align = "center" variant = "h6" > A blazing fast command line to allow your users to seamlessly interact with your React app.</ Typography >
8592 </ Grid >
8693 { ! lastRunCmd && < Grid item >
87- < Typography align = "center" variant = "body1" >
94+ < Typography className = { classes . ctaText } color = "primary" align = "center" variant = "body1" >
8895 Give it a spin < span role = "img" aria-label = "point-emoji" > 👉</ span > Press < code className = { classes . cmd } > cmd+k</ code >
8996 </ Typography >
9097 </ Grid > }
@@ -111,17 +118,24 @@ const App = ({classes}) => {
111118 </ ListItem >
112119 </ List >
113120 </ Grid >
114- < Grid item >
115- < Grid item container direction = "row" spacing = { 1 } >
121+ < Grid item className = { classes . footer } >
122+ < Grid item >
123+ < Typography variant = { "body1" } >
124+ < Link href = "https://github.com/saharmor/react-super-cmd" target = "_blank" rel = "noreferrer" >
125+ By Sahar Mor
126+ </ Link >
127+ </ Typography >
128+ </ Grid >
129+ < Grid item container justify = "center" direction = "row" spacing = { 1 } >
116130 < Grid item >
117- < GitHubIcon />
131+ < Link href = "https://github.com/saharmor/react-super-cmd" target = "_blank" rel = "noreferrer" >
132+ < GitHubIcon fontSize = "small" />
133+ </ Link >
118134 </ Grid >
119135 < Grid item >
120- < Typography variant = { "body1" } >
121- < Link href = "https://github.com/saharmor/react-super-cmd" target = "_blank" rel = "noreferrer" >
122- By Sahar Mor
123- </ Link >
124- </ Typography >
136+ < Link href = "https://www.linkedin.com/in/sahar-mor/" target = "_blank" rel = "noreferrer" >
137+ < LinkedInIcon />
138+ </ Link >
125139 </ Grid >
126140 </ Grid >
127141 </ Grid >
0 commit comments