feat : add footer , header , base css, progressBar , main and page components
This commit is contained in:
17
src/layout/index.tsx
Normal file
17
src/layout/index.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Outlet } from "react-router-dom";
|
||||
import Header from "../components/header";
|
||||
import Footer from "../components/footer";
|
||||
|
||||
const Layout = () => {
|
||||
return (
|
||||
<div className={`relative bg-noisy w-full h-full`}>
|
||||
<Header />
|
||||
<main className="h-[100vh] p-5">
|
||||
<Outlet />
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Layout;
|
||||
Reference in New Issue
Block a user