2026-07-10 22:38:58 +08:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import localFont from "next/font/local";
|
|
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
|
|
|
|
import { Header } from "@/layout/header";
|
|
|
|
|
import { Footer } from "@/layout/footer";
|
|
|
|
|
import Script from "next/script";
|
|
|
|
|
import { cn } from "@/lib/utils";
|
2026-07-11 01:21:44 +08:00
|
|
|
import { Providers } from "./providers";
|
2026-07-10 22:38:58 +08:00
|
|
|
|
|
|
|
|
const alimamaFangYuan = localFont({
|
|
|
|
|
src: "../public/font/Alimama.ttf",
|
|
|
|
|
variable: "--font-sans",
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const geistMono = Geist_Mono({
|
|
|
|
|
variable: "--font-geist-mono",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2026-07-11 01:21:44 +08:00
|
|
|
title: "Koring Team",
|
2026-07-10 22:38:58 +08:00
|
|
|
description: "Generated by create next app",
|
|
|
|
|
icons: {
|
|
|
|
|
icon: "/favicon.svg",
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
return (
|
|
|
|
|
<html
|
2026-07-11 01:21:44 +08:00
|
|
|
lang="en"
|
|
|
|
|
suppressHydrationWarning
|
|
|
|
|
className={cn("h-full", "antialiased", alimamaFangYuan.variable, geistMono.variable, "font-sans")}
|
|
|
|
|
>
|
2026-07-10 22:38:58 +08:00
|
|
|
<body className="min-h-full flex flex-col">
|
2026-07-11 01:21:44 +08:00
|
|
|
<Providers>
|
2026-07-10 22:38:58 +08:00
|
|
|
<Header />
|
2026-07-11 01:29:10 +08:00
|
|
|
<div style={{ height: 90 }} />
|
2026-07-11 01:21:44 +08:00
|
|
|
<main className="flex-1 px-4 sm:px-10 lg:px-48">
|
2026-07-10 22:38:58 +08:00
|
|
|
{children}
|
|
|
|
|
<Script
|
|
|
|
|
src="https://analysis.rivfox.com/api/script.js"
|
|
|
|
|
data-site-id="aaedd41de497"
|
|
|
|
|
strategy="afterInteractive"
|
|
|
|
|
/>
|
|
|
|
|
</main>
|
2026-07-11 01:21:44 +08:00
|
|
|
<div style={{ height: 50 }} />
|
2026-07-10 22:38:58 +08:00
|
|
|
<Footer/>
|
2026-07-11 01:21:44 +08:00
|
|
|
</Providers>
|
2026-07-10 22:38:58 +08:00
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|