29 lines
634 B
TypeScript
29 lines
634 B
TypeScript
// app/layout.tsx
|
|
import "./globals.css";
|
|
import type { ReactNode } from "react";
|
|
import { AuthProvider } from "@/context/AuthContext";
|
|
|
|
import { Banner } from "@/components/Banner";
|
|
|
|
export const metadata = {
|
|
title: {
|
|
default: "Battl Builders",
|
|
template: "%s — Battl Builders",
|
|
},
|
|
description: "Build rifles smarter, not harder.",
|
|
};
|
|
|
|
export default function RootLayout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html lang="en">
|
|
<body className="bg-black text-zinc-50">
|
|
|
|
<AuthProvider>
|
|
<Banner />
|
|
{children}
|
|
</AuthProvider>
|
|
|
|
</body>
|
|
</html>
|
|
);
|
|
} |