| import type { Metadata } from "next"; | |
| import { Inter } from "next/font/google"; | |
| import "./globals.css"; | |
| import { Toaster } from "react-hot-toast"; | |
| import { ConditionalHeader } from "@/components/layout/ConditionalHeader"; | |
| const inter = Inter({ | |
| subsets: ["latin"], | |
| variable: "--font-inter", | |
| }); | |
| export const metadata: Metadata = { | |
| title: "PsyAdGenesis", | |
| description: "Design ads that stop the scroll. Generate high-converting ad creatives for Home Insurance and GLP-1 niches using psychological triggers and AI-powered image generation.", | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ | |
| children: React.ReactNode; | |
| }>) { | |
| return ( | |
| <html lang="en"> | |
| <body | |
| className={`${inter.variable} font-sans antialiased bg-gray-50`} | |
| suppressHydrationWarning | |
| > | |
| <ConditionalHeader /> | |
| <main className="min-h-screen"> | |
| {children} | |
| </main> | |
| <Toaster position="top-right" /> | |
| </body> | |
| </html> | |
| ); | |
| } | |