2025-01-23 18:26:41 +00:00
|
|
|
import { NavigationMenu } from "../components/navigationMenu";
|
|
|
|
|
|
|
|
|
|
export default function Layout({
|
|
|
|
|
children,
|
2025-02-12 21:05:44 +00:00
|
|
|
params: { domain },
|
2025-01-23 18:26:41 +00:00
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
2025-02-12 21:05:44 +00:00
|
|
|
params: { domain: string };
|
2025-01-23 18:26:41 +00:00
|
|
|
}>) {
|
|
|
|
|
return (
|
|
|
|
|
<div className="min-h-screen flex flex-col">
|
2025-02-12 21:05:44 +00:00
|
|
|
<NavigationMenu domain={domain} />
|
2025-02-04 20:04:05 +00:00
|
|
|
<main className="flex-grow flex justify-center p-4 bg-[#fafafa] dark:bg-background relative">
|
|
|
|
|
<div className="w-full max-w-6xl rounded-lg p-6">{children}</div>
|
2025-01-23 18:26:41 +00:00
|
|
|
</main>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|