33 lines
1.1 KiB
TypeScript
33 lines
1.1 KiB
TypeScript
import type { Metadata } from "next"
|
|
import { Inter } from 'next/font/google'
|
|
import "./globals.css"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
const inter = Inter({ subsets: ["latin"] })
|
|
|
|
export const metadata: Metadata = {
|
|
title: "KMS 激活指南",
|
|
description: "Windows KMS 激活步骤指南",
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<html lang="zh" className="dark">
|
|
<body className={cn(inter.className, "min-h-screen bg-background antialiased")}>
|
|
<div className="relative flex min-h-screen flex-col">
|
|
<div className="absolute inset-0 bg-grid-small-white/[0.2] bg-[size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]" />
|
|
<div className="absolute pointer-events-none inset-0 flex items-center justify-center bg-background [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,transparent_70%,#000_100%)]" />
|
|
<div className="relative flex-1 flex-col">
|
|
{children}
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|
|
|