Skip to content

Commit

Permalink
Add link to typedoc documentation to Footer component
Browse files Browse the repository at this point in the history
  • Loading branch information
brunotot committed Apr 15, 2024
1 parent b8d608a commit 029f18c
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions packages/frontend/src/core/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Box, Breakpoint, Container, Typography } from "@mui/material";
import { Box, Breakpoint, Container, Link, Typography } from "@mui/material";
import { MuiSxProps } from "../Header";

export type FooterProps = {
Expand All @@ -20,7 +20,20 @@ export function Footer({ backgroundColor, maxWidth = false }: FooterProps) {
sx={{ paddingInline: maxWidth === false ? "0 !important" : undefined }}
>
<Box display="flex" alignItems="center" justifyContent="center">
<Typography>Demo App © {new Date().getFullYear()}</Typography>
<Box
display="flex"
flexDirection="column"
gap={0.5}
alignItems="center"
>
<Link
href="https://brunotot.github.io/monorepo-mern-railway-starter/"
target="_blank"
>
TypeDoc source
</Link>
<Typography>Demo App © {new Date().getFullYear()}</Typography>
</Box>
</Box>
</Container>
</Box>
Expand Down

0 comments on commit 029f18c

Please sign in to comment.