| import type React from "react" | |
| import type { Metadata } from "next" | |
| import { Inter } from "next/font/google" | |
| import "./globals.css" | |
| import { SidebarProvider } from "@/components/ui/sidebar" | |
| import { AppSidebar } from "@/components/app-sidebar" | |
| import { Toaster } from "@/components/ui/toaster" | |
| const inter = Inter({ subsets: ["latin"] }) | |
| export const metadata: Metadata = { | |
| title: "SETA Smart Inventory", | |
| description: "Inventory and Customer Engagement App for Electrical Trade Associations", | |
| generator: 'v0.dev' | |
| } | |
| export default function RootLayout({ | |
| children, | |
| }: { | |
| children: React.ReactNode | |
| }) { | |
| return ( | |
| <html lang="en"> | |
| <body className={inter.className}> | |
| <SidebarProvider> | |
| <AppSidebar /> | |
| <main className="flex-1 overflow-auto">{children}</main> | |
| </SidebarProvider> | |
| <Toaster /> | |
| </body> | |
| </html> | |
| ) | |
| } | |