nav-next/app/layout.tsx
2024-12-28 09:00:37 +08:00

42 lines
1.1 KiB
TypeScript

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: "Linuxcat NAV - https://nav.linuxcat.top",
description: "Linuxcat NAV",
keywords: ['Linuxcat NAV', '导航', 'mei', 'linuxcat', 'linuxcat周刊', '开源', '软件', '分享', '推荐'],
authors: [{ name: 'mei' }],
creator: 'mei',
publisher: 'mei',
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="zh-Hans">
<head>
<script defer src="https://umami.mmeiblog.cn/script.js" data-website-id="4ed0e465-19be-497e-8e3b-676303b53246"></script>
</head>
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
</body>
</html>
);
}