Files
ApiCore/ApiCore-Frontend/src/app/layout.tsx
T
Nick Szaunig 8080a7f5ec feat(frontend): Toast-Bestaetigungen fuer Schnellerfassung
Sonner-Toaster global eingebunden. Erfolgs-Toast auf allen sechs
Schnellerfassungs-Formularen (Durchsicht, Varroa, Behandlung,
Fuetterung, Aufgabe, Ernte) - ohne Toast blieb nach dem Speichern
und Wegnavigieren keine sichtbare Bestaetigung, dass die Eingabe
gespeichert wurde. Wichtig fuer klares Feedback bei zeitkritischer
Erfassung am Bienenstand.
2026-08-23 06:24:14 +02:00

42 lines
1.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { Metadata } from "next";
import { Space_Grotesk, Inter, IBM_Plex_Mono } from "next/font/google";
import "./globals.css";
import { Providers } from "./providers";
import { Toaster } from "@/components/ui/sonner";
const spaceGrotesk = Space_Grotesk({
variable: "--font-heading",
subsets: ["latin"],
weight: ["500", "600", "700"],
});
const inter = Inter({
variable: "--font-body",
subsets: ["latin"],
});
const plexMono = IBM_Plex_Mono({
variable: "--font-data",
subsets: ["latin"],
weight: ["400", "500"],
});
export const metadata: Metadata = {
title: "ApiCore – Imkereiverwaltung",
description: "Digitale Imkereiverwaltung für Wabenhain",
};
export default function RootLayout({ children }: LayoutProps<"/">) {
return (
<html
lang="de"
className={`${spaceGrotesk.variable} ${inter.variable} ${plexMono.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col">
<Providers>{children}</Providers>
<Toaster position="top-right" richColors />
</body>
</html>
);
}