import React from 'react' import { Box, BoxProps, Container, Divider, Typography } from '@mui/material' import { Footer, Toolbar } from 'components/molecules' /** * React function component that implements the default page template. * @see BoxProps from '@mui/material' for props */ const Page: React.FC = ({ title, children, ...props }) => { React.useEffect(() => { if (title) { document.title = `Michele Tartari - ${title}` } }, [title]) return ( {title && ( <> {title} )} {/* Children is included in props */} {children}