2020-11-28 18:50:30 +08:00

51 lines
1.6 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React from 'react';
import Box from "@material-ui/core/Box";
import Typography from "@material-ui/core/Typography";
import FavoriteIcon from "@material-ui/icons/Favorite";
import {Link} from "@material-ui/core";
import Container from "@material-ui/core/Container";
import makeStyles from "@material-ui/core/styles/makeStyles";
const useStyles = makeStyles((theme) => ({
footer: {
flex: 0,
textAlign: "center",
padding: theme.spacing(2),
},
link: {
padding: theme.spacing(0, 0.5),
},
temp: {
display: "flex",
justifyContent: "center",
alignItems: "center",
},
}));
function Footer() {
const classes = useStyles();
return (
<React.Fragment>
<Container className={classes.footer} component="footer">
<Box>
<Typography variant="caption">
React + Golang + SQLite 11 28
</Typography>
</Box>
<Box mt={2} className={classes.temp}>
<Typography display="inline">Developed with</Typography>
<FavoriteIcon color="error" fontSize="default" className={classes.link}/>
<Typography display="inline">by</Typography>
<Link color="secondary" href="https://github.com/kallydev" target="_blank"
className={classes.link}>KallyDev</Link>
<Typography display="inline">.</Typography>
</Box>
</Container>
</React.Fragment>
);
}
export default Footer;