diff --git a/packages/frontend/src/components/etc/Footer.tsx b/packages/frontend/src/components/etc/Footer.tsx index ca24eaed1..1905d1b59 100644 --- a/packages/frontend/src/components/etc/Footer.tsx +++ b/packages/frontend/src/components/etc/Footer.tsx @@ -1,27 +1,40 @@ import GitHubIcon from "@mui/icons-material/GitHub"; -import { Container, IconButton, Typography } from "@mui/material"; +import type { BoxProps } from "@mui/material"; +import { Box, Container, IconButton, Typography } from "@mui/material"; -export const Footer = () => { - return ( - - - Something missing or not working correctly? Report it on GitHub: - - - - - - © 2022–2024 Marvin A. Ruder - +export const Footer = (props: FooterProps) => ( + <> + + + + + Something missing or not working correctly? Report it on GitHub: + + + + + + © 2022–2024 Marvin A. Ruder + + - ); -}; + +); + +interface FooterProps { + /** + * The maximum width of the container. + */ + maxWidth?: BoxProps["maxWidth"]; +} diff --git a/packages/frontend/src/content/modules/PortfolioBuilder/PortfolioBuilder.tsx b/packages/frontend/src/content/modules/PortfolioBuilder/PortfolioBuilder.tsx index 05708c070..2ba3e0c5c 100644 --- a/packages/frontend/src/content/modules/PortfolioBuilder/PortfolioBuilder.tsx +++ b/packages/frontend/src/content/modules/PortfolioBuilder/PortfolioBuilder.tsx @@ -563,7 +563,7 @@ const PortfolioBuilderModule = (): JSX.Element => { }>Select stocks manually - + {}} @@ -1090,7 +1090,7 @@ const PortfolioBuilderModule = (): JSX.Element => { - + { {portfolioSummariesFinal ? ( portfolioSummaries.length ? ( portfolioSummaries.map((portfolioSummary) => ( - + )) diff --git a/packages/frontend/src/content/modules/Stock/Stock.tsx b/packages/frontend/src/content/modules/Stock/Stock.tsx index 563498072..d214db61d 100644 --- a/packages/frontend/src/content/modules/Stock/Stock.tsx +++ b/packages/frontend/src/content/modules/Stock/Stock.tsx @@ -58,7 +58,7 @@ const StockModule = (): JSX.Element => { -