Files

51 lines
1.3 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { Metadata, Viewport } from "next";
import "./globals.css";
export const metadata: Metadata = {
title: {
default: "NekoNest Cloud|把本地 coding-agent 接回手机",
template: "%sNekoNest Cloud",
},
description:
"托管的私人 coding-agent 工作中继。项目、凭据和原生会话留在你的主机,手机负责继续与控制。",
openGraph: {
type: "website",
locale: "zh_CN",
title: "NekoNest Cloud|把本地 coding-agent 接回手机",
description:
"项目、CLI 凭据和原生会话留在你的主机;Cloud 负责托管中转与运维。",
images: [
{
url: "/og.png",
width: 1730,
height: 909,
alt: "手机通过 NekoNest Cloud 中继连接本地 coding-agent 工作站",
},
],
},
twitter: {
card: "summary_large_image",
title: "NekoNest Cloud",
description: "把电脑上的 coding-agent,接回手机继续。",
images: ["/og.png"],
},
icons: {
icon: "/favicon.svg",
shortcut: "/favicon.svg",
},
};
export const viewport: Viewport = {
width: "device-width",
initialScale: 1,
themeColor: "#121522",
};
export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
return (
<html lang="zh-CN">
<body>{children}</body>
</html>
);
}