33 lines
861 B
TypeScript
33 lines
861 B
TypeScript
import type { Metadata } from "next";
|
||
import "./globals.css";
|
||
|
||
const description =
|
||
"领取KOC内容任务,逐篇查看笔记详情并一一回填发布账号、链接与截图。";
|
||
|
||
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: {
|
||
title: "KOC LOOP|外部任务领取",
|
||
description,
|
||
type: "website",
|
||
images: [{ url: "/koc/og.png", width: 1200, height: 630 }],
|
||
},
|
||
};
|
||
|
||
export default function RootLayout({
|
||
children,
|
||
}: Readonly<{
|
||
children: React.ReactNode;
|
||
}>) {
|
||
return (
|
||
<html lang="zh-CN">
|
||
<body>{children}</body>
|
||
</html>
|
||
);
|
||
}
|