File size: 1,229 Bytes
1e8ff3b
94f1dbe
dd10606
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94f1dbe
 
1e8ff3b
 
 
94f1dbe
76b9248
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94f1dbe
 
76b9248
 
 
dd10606
 
 
 
76b9248
dd10606
76b9248
1e8ff3b
94f1dbe
1e8ff3b
94f1dbe
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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>
  );
}