Complete authentication and event management frontend

This commit is contained in:
Denis Urs Rudolph
2026-04-03 21:29:09 +02:00
parent e6430e855b
commit 924c5c8420
3 changed files with 76 additions and 11 deletions
+13 -4
View File
@@ -1,6 +1,8 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { AuthProvider } from "@/lib/auth-context";
import { Navigation } from "@/components/navigation";
const geistSans = Geist({
variable: "--font-geist-sans",
@@ -13,8 +15,8 @@ const geistMono = Geist_Mono({
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "RacePlanner - Event Management",
description: "Plan and manage race events",
};
export default function RootLayout({
@@ -27,7 +29,14 @@ export default function RootLayout({
lang="en"
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col">{children}</body>
<body className="min-h-full flex flex-col bg-gray-50">
<AuthProvider>
<Navigation />
<main className="flex-1">
{children}
</main>
</AuthProvider>
</body>
</html>
);
}
}