-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.tsx
42 lines (38 loc) · 1.01 KB
/
layout.tsx
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
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import { ThemeProvider } from "./provider";
import Transition from "@/components/transition";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Tech@NYU",
description: "NYU's Premier Tech Club",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<head>
<meta name="description" content="Tech@NYU" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
></meta>
</head>
<body className={inter.className}>
<ThemeProvider
attribute="class"
defaultTheme="dark"
enableSystem
disableTransitionOnChange
>
{children}
</ThemeProvider>
</body>
</html>
);
}