import Link from "next/link" import { NextIntlClientProvider } from "next-intl" import { getMessages } from "next-intl/server" import { Cannabis } from "lucide-react" import type { ReactNode } from "react" // Force dynamic rendering — prevents NextAuth from being called at build time // (AUTH_URL is not available during Docker image build) export const dynamic = "force-dynamic" export default async function MarketingLayout({ children, }: { children: ReactNode }) { const messages = await getMessages() return (
{/* Header */}
CannaManage
{/* Main content */}
{children}
{/* Footer */}
) }