feat: various improvements
- add Terms of Service - add dark mode - use cards for blog with excerpt
This commit is contained in:
parent
5df4d34780
commit
df2fd8a520
12 changed files with 1021 additions and 268 deletions
25
src/components/atoms/Footer.tsx
Normal file
25
src/components/atoms/Footer.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue