40 lines
927 B
TypeScript
Executable File
40 lines
927 B
TypeScript
Executable File
import type { Metadata } from "next";
|
|
import localFont from "next/font/local";
|
|
import "./globals.css";
|
|
|
|
const geistSans = localFont({
|
|
src: "./fonts/GeistVF.woff",
|
|
variable: "--font-geist-sans",
|
|
weight: "100 900",
|
|
});
|
|
const geistMono = localFont({
|
|
src: "./fonts/GeistMonoVF.woff",
|
|
variable: "--font-geist-mono",
|
|
weight: "100 900",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "URL Shortener",
|
|
description: "缩短你的长链接!",
|
|
keywords: ['短链接', '长链接', '缩短URL', '缩短长链接', '长链接缩短', '短链', 'URL Shortener'],
|
|
authors: [{ name: 'mei' }],
|
|
creator: 'mei',
|
|
publisher: 'mei',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="zh-Hans">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|
>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|