add base front
This commit is contained in:
15
frontend/src/root.tsx
Normal file
15
frontend/src/root.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Outlet } from "react-router";
|
||||
import { Navbar } from "./components/Navbar";
|
||||
import { Footer } from "./components/Footer";
|
||||
|
||||
export default function Root() {
|
||||
return (
|
||||
<>
|
||||
<Navbar />
|
||||
<main style={{display: "flex", justifyContent: "center"}}>
|
||||
<Outlet />
|
||||
</main>
|
||||
<Footer />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user