34 lines
795 B
TypeScript
34 lines
795 B
TypeScript
import type { Metadata } from 'next'
|
|
import { Inter } from 'next/font/google'
|
|
import './globals.css'
|
|
|
|
const inter = Inter({ subsets: ['latin'] })
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
template: '%s | Cat API 文档',
|
|
default: 'Cat API 文档',
|
|
},
|
|
description: '欢迎使用 Cat API,由 mei 开发并维护',
|
|
keywords: ['Cat API', '二次元', '随机图片', 'mei API', 'mei', '随机图片API', 'API', '随机图片'],
|
|
authors: [{ name: 'mei' }],
|
|
creator: 'mei',
|
|
publisher: 'mei',
|
|
formatDetection: {
|
|
email: false,
|
|
address: false,
|
|
telephone: false,
|
|
},
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html lang="zh">
|
|
<body className={inter.className}>{children}</body>
|
|
</html>
|
|
)
|
|
} |