Integrated the Footer component in the Root.jsx
This commit is contained in:
@ -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>
|
||||
</>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user