3fefc550fe
- Django backend with DRF (clubs, wrestlers, trainers, exercises, templates, trainings, homework, locations, leistungstest) - Next.js 16 frontend with React, Shadcn UI, Tailwind - JWT authentication - Full CRUD for all entities - Calendar view for trainings - Homework management system - Leistungstest tracking
36 lines
845 B
TypeScript
36 lines
845 B
TypeScript
import type { Metadata } from "next"
|
|
import { Syne, DM_Sans } from "next/font/google"
|
|
import "./globals.css"
|
|
import { Providers } from "./providers"
|
|
|
|
const syne = Syne({
|
|
variable: "--font-heading",
|
|
subsets: ["latin"],
|
|
weight: ["400", "500", "600", "700", "800"],
|
|
})
|
|
|
|
const dmSans = DM_Sans({
|
|
variable: "--font-sans",
|
|
subsets: ["latin"],
|
|
weight: ["400", "500", "600", "700"],
|
|
})
|
|
|
|
export const metadata: Metadata = {
|
|
title: "WrestleDesk",
|
|
description: "Wrestling Club Management System",
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<html lang="de" suppressHydrationWarning>
|
|
<body className={`${syne.variable} ${dmSans.variable} min-h-screen bg-background font-sans antialiased`}>
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|