's'
This commit is contained in:
48
app/layout.tsx
Normal file
48
app/layout.tsx
Normal file
@@ -0,0 +1,48 @@
|
||||
import "./globals.css";
|
||||
|
||||
import { type Metadata } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Nomadro | 中文数字游民操作系统",
|
||||
description:
|
||||
"从城市、技能、工具到社群,一站开始你的数字游民生活。探索城市、学习路径、会员社区,帮你从固定工位走向自由生活与自由收入。",
|
||||
keywords: [
|
||||
"数字游民",
|
||||
"远程工作",
|
||||
"旅居",
|
||||
"自由职业",
|
||||
"城市探索",
|
||||
"学习路径",
|
||||
"会员社区",
|
||||
],
|
||||
openGraph: {
|
||||
title: "Nomadro | 中文数字游民操作系统",
|
||||
description:
|
||||
"从城市、技能、工具到社群,一站开始你的数字游民生活。",
|
||||
type: "website",
|
||||
},
|
||||
icons: [{ rel: "icon", url: "/nomadro.ico" }],
|
||||
};
|
||||
|
||||
const geist = Geist({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-geist-sans",
|
||||
});
|
||||
|
||||
const geistMono = Geist_Mono({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-geist-mono",
|
||||
});
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{ children: React.ReactNode }>) {
|
||||
return (
|
||||
<html lang="zh-CN" className={`${geist.variable} ${geistMono.variable}`}>
|
||||
<body className="font-sans antialiased">
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user