File size: 1,258 Bytes
d328b13 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
import type React from "react"
import type { Metadata } from "next"
import { Inter } from "next/font/google"
import { JetBrains_Mono as JetBrainsMono } from "next/font/google"
import { Analytics } from "@vercel/analytics/next"
import { Suspense } from "react"
import "./globals.css"
import { ThemeProvider } from "@/theme-provider"
const inter = Inter({ subsets: ["latin"], variable: "--font-inter", display: "swap" })
const jetBrainsMono = JetBrainsMono({ subsets: ["latin"], variable: "--font-jetbrains-mono", display: "swap" })
export const metadata: Metadata = {
title: "Awesome Food Allergy Research Datasets",
description: "A curated collection of datasets for advancing food allergy research",
generator: "v0.app",
}
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode
}>) {
return (
<html lang="en" suppressHydrationWarning>
<body className={`font-sans ${inter.variable} ${jetBrainsMono.variable} min-h-dvh antialiased`}>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange>
<Suspense fallback={null}>
{children}
<Analytics />
</Suspense>
</ThemeProvider>
</body>
</html>
)
}
|