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