Almost finish implementing client side
This commit is contained in:
14
Client/app/layout/RootLayout.tsx
Normal file
14
Client/app/layout/RootLayout.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import Footer from "~/components/Footer";
|
||||
import Header from "~/components/Header";
|
||||
|
||||
export default function RootLayout({children}: {children: React.ReactNode}) {
|
||||
return (
|
||||
<div className="bg-gray-100 min-h-screen font-sans flex flex-col">
|
||||
<Header/>
|
||||
<main className="container mx-auto pb-8 flex-grow">
|
||||
{children}
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user