first commit
This commit is contained in:
25
app/layout.tsx
Normal file
25
app/layout.tsx
Normal file
@@ -0,0 +1,25 @@
|
||||
import type { Metadata } from "next";
|
||||
import "./globals.css";
|
||||
import { ToasterProvider } from "@/components/ui/toaster";
|
||||
import { AuthProvider } from "./provider";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "ATS System",
|
||||
description: "Applicant Tracking System",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className="bg-gray-50">
|
||||
<ToasterProvider />
|
||||
{/* ✅ Wrap all routes (public & main) with AuthProvider */}
|
||||
<AuthProvider>{children}</AuthProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user