Spaces:
Sleeping
Sleeping
| import type {Metadata} from 'next'; | |
| import './globals.css'; | |
| import { Toaster } from "@/components/ui/toaster"; | |
| import { Inter } from 'next/font/google'; | |
| const inter = Inter({ subsets: ['latin'], variable: '--font-inter' }); | |
| export const metadata: Metadata = { | |
| title: 'Syllabus', | |
| description: 'M.Sc. (CS) Third Semester Syllabus', | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ | |
| children: React.ReactNode; | |
| }>) { | |
| return ( | |
| <html lang="en" suppressHydrationWarning className={inter.variable}> | |
| <head> | |
| {/* Removed Literata font import, Inter is handled by next/font */} | |
| </head> | |
| <body className="font-body antialiased min-h-screen flex flex-col"> | |
| <div className="flex-grow"> | |
| {children} | |
| </div> | |
| <Toaster /> | |
| </body> | |
| </html> | |
| ); | |
| } | |