2021-01-17 08:31:50 +00:00
|
|
|
import React from 'react';
|
2020-07-14 10:24:48 +00:00
|
|
|
|
2021-01-17 08:31:50 +00:00
|
|
|
import { makeStyles } from '@material-ui/core/styles';
|
|
|
|
import { Typography } from '@material-ui/core';
|
|
|
|
import Section from '@components/Section';
|
2020-07-14 10:24:48 +00:00
|
|
|
|
|
|
|
const useStyles = makeStyles(theme => {
|
|
|
|
return {
|
|
|
|
footer: {
|
2021-01-17 08:31:50 +00:00
|
|
|
padding: '1.5rem 0',
|
2020-07-14 10:24:48 +00:00
|
|
|
},
|
2021-01-17 08:31:50 +00:00
|
|
|
};
|
|
|
|
});
|
2020-07-14 10:24:48 +00:00
|
|
|
|
|
|
|
function Footer() {
|
2021-01-17 08:31:50 +00:00
|
|
|
const classes = useStyles();
|
2020-07-14 10:24:48 +00:00
|
|
|
return (
|
|
|
|
<Section component="footer" className={classes.footer}>
|
|
|
|
<Typography align="center" variant="h6">
|
|
|
|
© {new Date().getFullYear()} Dawid Wysokiński
|
|
|
|
</Typography>
|
|
|
|
</Section>
|
2021-01-17 08:31:50 +00:00
|
|
|
);
|
2020-07-14 10:24:48 +00:00
|
|
|
}
|
|
|
|
|
2021-01-17 08:31:50 +00:00
|
|
|
export default Footer;
|