Spaces:
Running
Running
| import type { Metadata } from "next"; | |
| import "./globals.css"; | |
| import { Toaster } from "@/components/ui/toaster"; | |
| import { cn } from "@/lib/utils"; | |
| export const metadata: Metadata = { | |
| title: "Portfolio", | |
| description: "Portfolio of an aspiring data scientist.", | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ | |
| children: React.ReactNode; | |
| }>) { | |
| return ( | |
| <html lang="en" className="!scroll-smooth"> | |
| <head> | |
| <link rel="preconnect" href="https://fonts.googleapis.com" /> | |
| <link | |
| rel="preconnect" | |
| href="https://fonts.gstatic.com" | |
| crossOrigin="anonymous" | |
| /> | |
| <link | |
| href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Space+Grotesk:wght@400;500;700&display=swap" | |
| rel="stylesheet" | |
| /> | |
| </head> | |
| <body | |
| className={cn( | |
| "font-body antialiased bg-background min-h-screen flex flex-col" | |
| )} | |
| > | |
| {children} | |
| <Toaster /> | |
| </body> | |
| </html> | |
| ); | |
| } | |