feat: various improvements

- add Terms of Service
- add dark mode
- use cards for blog with excerpt
This commit is contained in:
Felix Schröter 2022-11-15 19:15:11 +01:00
parent 5df4d34780
commit df2fd8a520
Signed by: felschr
GPG key ID: 671E39E6744C807D
12 changed files with 1021 additions and 268 deletions

View file

@ -0,0 +1,25 @@
import { ReactNode } from "react"
import { Box, useTheme } from "@mui/material"
export type FooterProps = {
children: ReactNode
}
export const Footer = ({ children }: FooterProps) => {
const theme = useTheme()
return (
<Box
position="fixed"
display="flex"
bottom={0}
padding={2}
width="100%"
borderTop={`1px solid ${theme.palette.grey[200].toString()}`}
gap={2}
style={{ backgroundColor: theme.palette.background.default.toString()}}
>
{children}
</Box>
)
}