Files
koc-loop/koc-portal/app/layout.tsx

33 lines
861 B
TypeScript
Raw Permalink Normal View History

2026-07-30 12:06:41 +08:00
import type { Metadata } from "next";
import "./globals.css";
const description =
"领取KOC内容任务逐篇查看笔记详情并一一回填发布账号、链接与截图。";
2026-07-30 12:06:41 +08:00
export const metadata: Metadata = {
metadataBase: new URL("https://koc-loop.example.com"),
title: "KOC LOOP外部任务领取",
description,
robots: { index: false, follow: false, noarchive: true, nosnippet: true },
referrer: "no-referrer",
icons: { icon: "/koc/favicon.svg", shortcut: "/koc/favicon.svg" },
openGraph: {
2026-07-30 12:06:41 +08:00
title: "KOC LOOP外部任务领取",
description,
type: "website",
images: [{ url: "/koc/og.png", width: 1200, height: 630 }],
},
};
2026-07-30 12:06:41 +08:00
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="zh-CN">
<body>{children}</body>
2026-07-30 12:06:41 +08:00
</html>
);
}