initial commit
This commit is contained in:
20
src/components/Layout/index.jsx
Normal file
20
src/components/Layout/index.jsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import React from "react";
|
||||
import { Outlet } from "react-router-dom";
|
||||
import Navbar from "../Navbar/index";
|
||||
import NavbarDown from "../Navbar/NavbarDown.jsx";
|
||||
import Footer from "../Footer/index";
|
||||
|
||||
const Layout = () => {
|
||||
return (
|
||||
<>
|
||||
<Navbar />
|
||||
<NavbarDown/>
|
||||
<main>
|
||||
<Outlet />
|
||||
</main>
|
||||
<Footer />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default Layout;
|
||||
Reference in New Issue
Block a user