Spaces:
Sleeping
Sleeping
| import "./globals.css"; | |
| import { ColorSchemeScript, MantineProvider, createTheme } from "@mantine/core"; | |
| import { Space_Grotesk, Space_Mono } from "next/font/google"; | |
| // Font | |
| const sans = Space_Grotesk({ | |
| subsets: ["latin"], | |
| weight: ["400", "500", "600"], | |
| variable: "--font-sans", | |
| }); | |
| const mono = Space_Mono({ | |
| subsets: ["latin"], | |
| weight: ["400", "700"], | |
| variable: "--font-mono", | |
| }); | |
| export const metadata = { | |
| title: "Real-time SDTurbo + WebRTC", | |
| description: "", | |
| }; | |
| const theme = createTheme({ | |
| defaultRadius: "md", | |
| colors: { | |
| darkIndigo: [ | |
| "#eef3ff", | |
| "#dee2f2", | |
| "#bdc2de", | |
| "#98a0ca", | |
| "#7a84ba", | |
| "#6672b0", | |
| "#5c68ac", | |
| "#4c5897", | |
| "#424e88", | |
| "#364379", | |
| ], | |
| }, | |
| primaryColor: "darkIndigo", | |
| }); | |
| export default function RootLayout({ children }) { | |
| return ( | |
| <html lang="en"> | |
| <head> | |
| <ColorSchemeScript /> | |
| <meta | |
| name="viewport" | |
| content="minimum-scale=1, initial-scale=1, width=device-width, user-scalable=no" | |
| /> | |
| </head> | |
| <body className={`${sans.variable} ${mono.variable}`}> | |
| <MantineProvider theme={theme}>{children}</MantineProvider> | |
| </body> | |
| </html> | |
| ); | |
| } | |