mirror of
https://github.com/nihonbuzz/nihonbuzz-academy.git
synced 2026-01-26 05:25:37 +07:00
first commit
This commit is contained in:
15
resources/js/Layouts/GuestLayout.tsx
Normal file
15
resources/js/Layouts/GuestLayout.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user