33 lines
1.1 KiB
TypeScript
Raw Normal View History

2024-12-09 17:29:54 +08:00
import type { Metadata } from "next"
import { Inter } from 'next/font/google'
import "./globals.css"
import { cn } from "@/lib/utils"
2024-12-09 17:10:37 +08:00
2024-12-09 17:29:54 +08:00
const inter = Inter({ subsets: ["latin"] })
2024-12-09 17:10:37 +08:00
export const metadata: Metadata = {
2024-12-09 17:29:54 +08:00
title: "KMS 激活指南",
description: "Windows KMS 激活步骤指南",
}
2024-12-09 17:10:37 +08:00
export default function RootLayout({
children,
}: Readonly<{
2024-12-09 17:29:54 +08:00
children: React.ReactNode
2024-12-09 17:10:37 +08:00
}>) {
return (
2024-12-09 17:29:54 +08:00
<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>
2024-12-09 17:10:37 +08:00
</body>
</html>
2024-12-09 17:29:54 +08:00
)
2024-12-09 17:10:37 +08:00
}
2024-12-09 17:29:54 +08:00