Add admin login page and required logic

This commit is contained in:
Muhtadee Taron
2025-07-04 17:55:49 +06:00
parent ac49576b9b
commit 6b2690d1df
19 changed files with 781 additions and 37 deletions

View File

@ -1,6 +1,7 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { AuthProvider } from "@/context/AuthContext";
const geistSans = Geist({
variable: "--font-geist-sans",
@ -13,8 +14,8 @@ const geistMono = Geist_Mono({
});
export const metadata: Metadata = {
title: "NextJS template",
description: "With typescript, tailwindCSS and shadcnUI",
title: "ExamJam App",
description: "Authentication system for ExamJam",
};
export default function RootLayout({
@ -27,7 +28,7 @@ export default function RootLayout({
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
<AuthProvider>{children}</AuthProvider>
</body>
</html>
);