You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223
  1. import { Box } from '@mui/material';
  2. import React from 'react';
  3. import Footer from '../footer/Footer';
  4. import MainNav from '../navbar/MainNav';
  5. type LayoutProps = {
  6. children: JSX.Element | JSX.Element[]
  7. }
  8. const Layout: React.FC<LayoutProps> = ({ children }) => {
  9. return (
  10. <>
  11. <Box sx={{ width: '100%' }}>
  12. {/* <Navbar /> */}
  13. <MainNav />
  14. <main>{children}</main>
  15. <Footer></Footer>
  16. </Box>
  17. </>
  18. );
  19. }
  20. export default Layout;