27 lines
692 B
TypeScript
27 lines
692 B
TypeScript
// app/(builder)/layout.tsx
|
||
import type { ReactNode } from "react";
|
||
|
||
import { AuthProvider } from "@/context/AuthContext";
|
||
import { BuilderNav } from "@/components/BuilderNav";
|
||
|
||
export const metadata = {
|
||
title: {
|
||
default: "Battl Builder",
|
||
template: "%s | Battl Builder",
|
||
},
|
||
description:
|
||
"Battl Builder — the smarter, faster, data‑driven way to build your next firearm.",
|
||
};
|
||
|
||
export default function BuilderLayout({ children }: { children: ReactNode }) {
|
||
return (
|
||
<div className="min-h-screen bg-neutral-950 text-zinc-50">
|
||
<AuthProvider>
|
||
<BuilderNav />
|
||
<main className="min-h-screen">{children}</main>
|
||
</AuthProvider>
|
||
</div>
|
||
);
|
||
}
|
||
|