layout and middleware fix

This commit is contained in:
makearmy 2025-09-26 15:19:19 -04:00
parent afebc0843f
commit 7b2b185ed9
2 changed files with 28 additions and 26 deletions

View file

@ -1,11 +1,10 @@
// app/layout.tsx
import type { Metadata } from "next";
import "./styles/globals.css";
import { Toaster } from "@/components/ui/toaster";
export const metadata: Metadata = {
export const metadata = {
title: "MakeArmy",
description: "Laser tooling & community utilities",
description: "Laser Everything community tools",
};
export default function RootLayout({
@ -14,10 +13,11 @@ export default function RootLayout({
children: React.ReactNode;
}) {
return (
<html lang="en" suppressHydrationWarning>
<body className="min-h-screen bg-background text-foreground antialiased">
// Force dark theme (the simplest way to restore your previous look).
// If you later want system / toggle support, we can swap this for next-themes.
<html lang="en" className="dark" suppressHydrationWarning>
<body>
{children}
{/* Shadcn toast portal */}
<Toaster />
</body>
</html>