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