Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
parkpow
GitHub Repository: parkpow/deep-license-plate-recognition
Path: blob/master/gate-controller/app/layout.tsx
1080 views
1
import type { Metadata } from "next";
2
import { Geist, Geist_Mono } from "next/font/google";
3
import "./globals.css";
4
import { ThemeProvider } from "@/components/theme-provider";
5
import { Toaster } from "@/components/ui/sonner";
6
7
const geistSans = Geist({
8
variable: "--font-geist-sans",
9
subsets: ["latin"],
10
});
11
12
const geistMono = Geist_Mono({
13
variable: "--font-geist-mono",
14
subsets: ["latin"],
15
});
16
17
export const metadata: Metadata = {
18
title: "GateController",
19
description: "USB Relay Controller with a local webhook server.",
20
};
21
22
export default function RootLayout({
23
children,
24
}: Readonly<{
25
children: React.ReactNode;
26
}>) {
27
return (
28
<html lang="en" suppressHydrationWarning>
29
<body
30
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
31
>
32
<ThemeProvider
33
attribute="class"
34
defaultTheme="system"
35
enableSystem
36
disableTransitionOnChange
37
>
38
{children}
39
<Toaster />
40
</ThemeProvider>
41
</body>
42
</html>
43
);
44
}
45
46