import type { Metadata } from "next";
import "pretendard/dist/web/static/pretendard-dynamic-subset.css";
import "./globals.css";
import { AnalysisYearProvider } from "@/contexts/AnalysisYearContext";
import { Toaster } from "@/components/ui/sonner";

export const metadata: Metadata = {
  title: "한우 유전체 컨설팅 서비스",
  description: "한우 개체 유전체 분석 및 KPN 추천 서비스",
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="ko">
       <body className="antialiased" style={{ fontFamily: 'Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif' }}>
          <AnalysisYearProvider>
            {children}
            <Toaster />
          </AnalysisYearProvider>
      </body>
    </html>
  );
}
