60 lines
1.5 KiB
TypeScript
60 lines
1.5 KiB
TypeScript
import "./globals.css";
|
|
|
|
import { type Metadata, type Viewport } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
|
|
export const viewport: Viewport = {
|
|
width: "device-width",
|
|
initialScale: 1,
|
|
maximumScale: 5,
|
|
viewportFit: "cover",
|
|
themeColor: "#f8f7fc",
|
|
};
|
|
|
|
export const metadata: Metadata = {
|
|
metadataBase: new URL("https://nomadro.com"),
|
|
title: "Nomadro | 中文数字游民操作系统",
|
|
description:
|
|
"从城市探索到远程收入,从 AI 自动化到直播变现。游民导航、地理套利、直播工具箱,一站开启你的自由生活。",
|
|
keywords: [
|
|
"数字游民",
|
|
"远程工作",
|
|
"旅居",
|
|
"自由职业",
|
|
"直播工具箱",
|
|
"地理套利",
|
|
"学习路径",
|
|
"会员社区",
|
|
],
|
|
openGraph: {
|
|
title: "Nomadro | 中文数字游民操作系统",
|
|
description:
|
|
"从城市探索到远程收入,从 AI 自动化到直播变现,一站开启你的自由生活。",
|
|
type: "website",
|
|
url: "https://nomadro.live",
|
|
},
|
|
icons: [{ rel: "icon", url: "/favicon.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>
|
|
);
|
|
}
|