2025-12-05 19:26:44 +00:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
2025-12-11 13:10:10 +00:00
|
|
|
import { SidebarProvider, SidebarTrigger, SidebarInset } from "@/components/ui/sidebar"
|
2025-12-11 11:54:57 +00:00
|
|
|
import { AppSidebar } from "@/components/app-sidebar"
|
2025-12-11 13:10:10 +00:00
|
|
|
|
2025-12-05 19:26:44 +00:00
|
|
|
|
|
|
|
|
const geistSans = Geist({
|
|
|
|
|
variable: "--font-geist-sans",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const geistMono = Geist_Mono({
|
|
|
|
|
variable: "--font-geist-mono",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: "Create Next App",
|
|
|
|
|
description: "Generated by create next app",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en">
|
2025-12-11 13:10:10 +00:00
|
|
|
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
|
2025-12-11 11:58:40 +00:00
|
|
|
<SidebarProvider>
|
|
|
|
|
<AppSidebar />
|
2025-12-11 13:10:10 +00:00
|
|
|
|
|
|
|
|
<SidebarInset>
|
2025-12-11 11:58:40 +00:00
|
|
|
<main>
|
|
|
|
|
<SidebarTrigger />
|
2025-12-11 13:10:10 +00:00
|
|
|
{children}
|
2025-12-11 11:58:40 +00:00
|
|
|
</main>
|
2025-12-11 13:10:10 +00:00
|
|
|
</SidebarInset>
|
2025-12-11 11:58:40 +00:00
|
|
|
</SidebarProvider>
|
2025-12-05 19:26:44 +00:00
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|
2025-12-11 13:10:10 +00:00
|
|
|
|