Integrated the Footer component in the Root.jsx

This commit is contained in:
2023-07-09 00:28:46 +02:00
parent 190f2c8fcf
commit abcb9e0d7a

View File

@ -1,16 +1,15 @@
import Navigation from "@components/Navigation";
import {Outlet} from "react-router-dom";
import {Box, Toolbar} from "@mui/material";
import Footer from "@components/Footer";
export const Root = () => {
return (
<>
export const Root = () => <>
<Navigation/>
<Box height="100vh" display="flex" flexDirection="column" sx={{ml: 5, mr: 5}}>
<Toolbar/>
<Outlet/>
<Footer/>
</Box>
</>
)
}
</>