Next.js app with Hoeren, Lesen, Schreiben, Sprechen, Grammatik and Wortschatz sections, flashcards with spaced repetition, speaking chat, XP/streaks/badges, daily reminders (PWA) and Docker Compose setup for Coolify.
31 lines
1.1 KiB
TypeScript
31 lines
1.1 KiB
TypeScript
import type { Metadata, Viewport } from "next";
|
||
import { Nunito, Cairo } from "next/font/google";
|
||
import "./globals.css";
|
||
import AppShell from "@/components/AppShell";
|
||
|
||
const latin = Nunito({ subsets: ["latin", "latin-ext"], variable: "--font-latin", display: "swap" });
|
||
const arabic = Cairo({ subsets: ["arabic"], variable: "--font-arabic", display: "swap" });
|
||
|
||
export const metadata: Metadata = {
|
||
title: "B1 Meister – ÖSD B1 Prüfungstrainer",
|
||
description: "Bereite dich mit Spaß auf das ÖSD Zertifikat B1 vor: Hören, Lesen, Schreiben, Sprechen, Grammatik, Wortschatz – mit arabischer Übersetzung.",
|
||
icons: { icon: "/icon.svg", apple: "/icon.svg" },
|
||
appleWebApp: { capable: true, title: "B1 Meister", statusBarStyle: "default" },
|
||
};
|
||
|
||
export const viewport: Viewport = {
|
||
width: "device-width",
|
||
initialScale: 1,
|
||
themeColor: "#e63946",
|
||
};
|
||
|
||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||
return (
|
||
<html lang="de" className={`${latin.variable} ${arabic.variable}`}>
|
||
<body>
|
||
<AppShell>{children}</AppShell>
|
||
</body>
|
||
</html>
|
||
);
|
||
}
|