import type { Metadata } from 'next'
import localFont from 'next/font/local'
import { Noto_Sans } from 'next/font/google'
import './globals.css'

const inter = localFont({
  src: '../public/fonts/Inter-VariableFont.woff2',
  variable: '--font-inter',
  display: 'swap',
})

const notoSans = Noto_Sans({
  subsets: ['latin', 'latin-ext'],
  variable: '--font-noto-sans',
  display: 'swap',
})

export const metadata: Metadata = {
  title: 'BreakPilot Admin Lehrer KI',
  description: 'Neues Admin-Frontend mit verbesserter Navigation und Rollen-System',
}

export default function RootLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <html lang="de">
      <body className={`${inter.className} ${notoSans.variable}`}>{children}</body>
    </html>
  )
}
