home structure
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -14,7 +14,7 @@ const useStyles = makeStyles((theme) => ({
|
|||||||
container: {
|
container: {
|
||||||
minHeight: '100vh',
|
minHeight: '100vh',
|
||||||
paddingTop: '2rem',
|
paddingTop: '2rem',
|
||||||
paddingBottom: '2rem',
|
// paddingBottom: '2rem',
|
||||||
fallbacks: [
|
fallbacks: [
|
||||||
{ minHeight: '-moz-calc(100% - 128px)' },
|
{ minHeight: '-moz-calc(100% - 128px)' },
|
||||||
{ minHeight: '-webkit-calc(100% - 128px)' },
|
{ minHeight: '-webkit-calc(100% - 128px)' },
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ const useStyles = makeStyles((theme) => ({
|
|||||||
icon: {
|
icon: {
|
||||||
width: '5rem',
|
width: '5rem',
|
||||||
height: '5rem',
|
height: '5rem',
|
||||||
|
[theme.breakpoints.down('md')]: { width: '3rem', height: '3rem' },
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
@@ -43,15 +44,8 @@ const Footer = (props) => {
|
|||||||
return (
|
return (
|
||||||
<Grid container justify="center" alignItems="center" id="footer">
|
<Grid container justify="center" alignItems="center" id="footer">
|
||||||
<ScrollTop {...props}>
|
<ScrollTop {...props}>
|
||||||
<KeyboardArrowUpIcon
|
<KeyboardArrowUpIcon className={classes.icon} />
|
||||||
className={classes.icon}
|
|
||||||
style={{
|
|
||||||
width: '5rem',
|
|
||||||
height: '5rem',
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</ScrollTop>
|
</ScrollTop>
|
||||||
{/* <div style={{ height: '30rem' }} /> */}
|
|
||||||
</Grid>
|
</Grid>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -17,6 +17,11 @@ const useStyles = makeStyles((theme) => ({
|
|||||||
name: {
|
name: {
|
||||||
textTransform: 'uppercase',
|
textTransform: 'uppercase',
|
||||||
letterSpacing: '2rem',
|
letterSpacing: '2rem',
|
||||||
|
[theme.breakpoints.down('md')]: {
|
||||||
|
letterSpacing: '1rem',
|
||||||
|
fontSize: '1.4rem',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
+27
-7
@@ -1,5 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Container, Grid, Typography, Link } from '@material-ui/core';
|
import { Grid, Typography, Divider } from '@material-ui/core';
|
||||||
import About from '../about';
|
import About from '../about';
|
||||||
import Games from '../games';
|
import Games from '../games';
|
||||||
import Snippets from '../snippets';
|
import Snippets from '../snippets';
|
||||||
@@ -7,18 +7,38 @@ import Projects from '../projects';
|
|||||||
|
|
||||||
const Home = () => {
|
const Home = () => {
|
||||||
return (
|
return (
|
||||||
<Grid container direction="row" alignItems="stretch">
|
<Grid container direction="row" alignItems="stretch" spacing={3}>
|
||||||
<Grid item container>
|
<Grid item container direction="column">
|
||||||
|
<Grid item>
|
||||||
|
<Typography variant="h3">Projects</Typography>
|
||||||
|
<Divider variant="inset"/>
|
||||||
|
</Grid>
|
||||||
|
<Grid item>
|
||||||
<Projects />
|
<Projects />
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item container>
|
</Grid>
|
||||||
|
<Grid item container direction="column">
|
||||||
|
<Grid item>
|
||||||
|
<Typography variant="h3">Games</Typography>
|
||||||
|
<Divider variant="inset"/>
|
||||||
|
</Grid>
|
||||||
|
<Grid item>
|
||||||
<Games />
|
<Games />
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item container>
|
</Grid>
|
||||||
|
<Grid item container direction="column">
|
||||||
|
<Grid item>
|
||||||
|
<Typography variant="h3">Snippets</Typography>
|
||||||
|
<Divider variant="inset"/>
|
||||||
|
</Grid>
|
||||||
|
<Grid item>
|
||||||
<Snippets />
|
<Snippets />
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item container>
|
</Grid>
|
||||||
<About />
|
|
||||||
|
<Grid item container justify="flex-end">
|
||||||
|
<Grid item>
|
||||||
|
<About /></Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user