Files
claude-nextjs-starterkit/app/layout.tsx
NEW_GIL_HOME\hyeon 3c5eb87784 feat: initialize Next.js v15 starter kit with Korean support
Set up Next.js v15 starter kit with App Router architecture including:
- TailwindCSS v4 with CSS-based config and OKLCH color system
- shadcn/ui components (New York style) with Lucide icons
- next-themes for light/dark/system theme toggle (Korean labels)
- Layout components: navbar, footer, theme-toggle
- Import aliases and TypeScript configuration

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 19:42:50 +09:00

47 lines
1.2 KiB
TypeScript

import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { ThemeProvider } from "@/components/providers/theme-provider";
import { Navbar } from "@/components/layout/navbar";
import { Footer } from "@/components/layout/footer";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Next.js Starter Kit",
description: "Next.js v15, TypeScript, TailwindCSS v4, shadcn/ui로 구성된 스타터 킷입니다.",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="ko" suppressHydrationWarning>
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased min-h-screen flex flex-col`}
>
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
<Navbar />
<main className="flex-1">{children}</main>
<Footer />
</ThemeProvider>
</body>
</html>
);
}