mirror of
https://github.com/nihonbuzz/nihonbuzz-academy.git
synced 2026-01-26 21:41:54 +07:00
16 lines
605 B
TypeScript
16 lines
605 B
TypeScript
import { ThemeProvider } from "@/Components/ThemeProvider";
|
|
import { Navbar } from "@/Components/Landing/Navbar";
|
|
import { Footer } from "@/Components/Landing/Footer";
|
|
|
|
export default function GuestLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<ThemeProvider defaultTheme="dark" storageKey="nihonbuzz-theme">
|
|
<div className="min-h-screen bg-background text-foreground selection:bg-primary/30 selection:text-primary">
|
|
<Navbar />
|
|
<main>{children}</main>
|
|
<Footer />
|
|
</div>
|
|
</ThemeProvider>
|
|
);
|
|
}
|