| import type { Metadata } from "next"; |
| import { Fira_Sans, Fira_Code } from "next/font/google"; |
| import "./globals.css"; |
|
|
| const firaSans = Fira_Sans({ |
| subsets: ["latin"], |
| weight: ["300", "400", "500", "600", "700"], |
| variable: "--font-fira-sans", |
| display: "swap", |
| }); |
|
|
| const firaCode = Fira_Code({ |
| subsets: ["latin"], |
| weight: ["400", "500", "600", "700"], |
| variable: "--font-fira-code", |
| display: "swap", |
| }); |
|
|
| export const metadata: Metadata = { |
| title: "CityTracker - City Issue Reporter", |
| description: "Smart city issue tracking and resolution dashboard", |
| }; |
|
|
| import { AuthProvider } from "@/components/AuthProvider"; |
|
|
| export default function RootLayout({ |
| children, |
| }: Readonly<{ |
| children: React.ReactNode; |
| }>) { |
| return ( |
| <html lang="en"> |
| <body className={`${firaSans.variable} ${firaCode.variable} antialiased font-sans`}> |
| <AuthProvider>{children}</AuthProvider> |
| </body> |
| </html> |
| ); |
| } |
|
|