creation of Header component
This commit is contained in:
1 parent
5b55ae6994
commit
b6a15f61f3
6 files changed
+250
-10
No files matched your search
+9
-4
@@ -1,15 +1,20 @@
|
||||
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>
|
||||
<div className="content">
|
||||
<Outlet />
|
||||
<Footer />
|
||||
</div>
|
||||
<Background>
|
||||
<div className="content">
|
||||
<Header />
|
||||
<Outlet />
|
||||
<Footer />
|
||||
</div>
|
||||
</Background>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user