mirror of
https://github.com/Techtonic-Fault/homepage.git
synced 2026-01-23 05:26:30 +00:00
Initial commit
This commit is contained in:
14
app/pages/layout.tsx
Normal file
14
app/pages/layout.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Navbar } from "@/components/navbar";
|
||||
import { Footer } from "@/components/footer";
|
||||
|
||||
export default function MdxLayout({ children }: { children: React.ReactNode }) {
|
||||
// Create any shared layout or styles here
|
||||
return (<div className="flex min-h-screen flex-col">
|
||||
<Navbar />
|
||||
<main className="flex-1 py-8">
|
||||
<div className="container"><div className="prose dark:prose-invert">{children}</div></div>
|
||||
</main>
|
||||
|
||||
<Footer />
|
||||
</div>);
|
||||
}
|
||||
Reference in New Issue
Block a user