forked from kisrea-team/NoDrogen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.tsx
39 lines (36 loc) · 848 Bytes
/
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
/*
* @Author: zitons
* @Date: 2024-02-10 10:30:54
* @LastEditors: Please set LastEditors
* @LastEditTime: 2024-03-31 21:57:21
* @Description: 简介
*/
import "../app/copy.css";
import { Providers } from "./providers";
// import { Inter } from "next/font/google";
import { Noto_Sans_SC } from "next/font/google";
// const inter = Inter({ subsets: ["latin"] });
const noto = Noto_Sans_SC({
subsets: ["latin"],
weight: "500",
});
// export const metadata = {
// title: 'Nodrogen',
// description: 'Generated by Next.js',
// }
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html suppressHydrationWarning>
<head />
<body className={noto.className}>
<Providers>
{children}
</Providers>
</body>
</html>
);
}