import type { Metadata, Viewport } from "next";
import { Inter, Sora } from "next/font/google";
import "./globals.css";

const inter = Inter({
  variable: "--font-inter",
  subsets: ["latin"],
  display: "swap",
});

const sora = Sora({
  variable: "--font-sora",
  subsets: ["latin"],
  weight: ["600", "700", "800"],
  display: "swap",
});

export const metadata: Metadata = {
  title: {
    default: "Avaria Team OS",
    template: "%s · Avaria Team OS",
  },
  description:
    "Internes Betriebssystem für Organisation und Teamverwaltung von Avaria Media.",
  robots: { index: false, follow: false },
};

export const viewport: Viewport = {
  themeColor: "#050817",
  width: "device-width",
  initialScale: 1,
};

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