2025-12-11 11:30:18 +08:00

43 lines
1.1 KiB
TypeScript

import type { Metadata } from "next";
import { Playfair_Display, Noto_Serif_SC } from "next/font/google";
import "./globals.css";
import Navbar from "@/components/Navbar";
import Footer from "@/components/Footer";
const playfairDisplay = Playfair_Display({
variable: "--font-serif",
subsets: ["latin"],
weight: ["400", "600", "700"],
style: ["normal", "italic"],
});
const notoSerifSC = Noto_Serif_SC({
variable: "--font-serif-sc",
subsets: ["latin"],
weight: ["300", "400", "500", "700"],
});
export const metadata: Metadata = {
title: "南京市肥鹅信息技术有限公司 | Nanjing Feie Information Technology",
description: "南京市肥鹅信息技术有限公司致力于为企业提供卓越的数字化解决方案,以创新技术驱动商业价值。",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="zh-CN">
<body
className={`${playfairDisplay.variable} ${notoSerifSC.variable} antialiased selection:bg-feie-gold selection:text-white`}
>
<Navbar />
{children}
<Footer />
</body>
</html>
);
}