22 lines
513 B
React
22 lines
513 B
React
import { Outlet } from "react-router";
|
|
import Footer from "./components/Footer/Footer.jsx"
|
|
import Header from "./components/Header/Header.jsx";
|
|
import Background from "./components/background/background.jsx";
|
|
|
|
|
|
function Layout(){
|
|
|
|
return (
|
|
<div>
|
|
<Background>
|
|
<div className="content">
|
|
<Header />
|
|
<Outlet />
|
|
<Footer />
|
|
</div>
|
|
</Background>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Layout; |