mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-26 09:01:21 +00:00
33 lines
859 B
TypeScript
33 lines
859 B
TypeScript
import Link from "next/link";
|
|
|
|
import { cn } from "@/lib/utils";
|
|
import { buttonVariants } from "@/components/ui/button";
|
|
|
|
interface MarketingLayoutProps {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
export default async function MarketingLayout({
|
|
children,
|
|
}: MarketingLayoutProps) {
|
|
return (
|
|
<div className="flex min-h-screen flex-col">
|
|
<header className="container z-40 bg-background">
|
|
<div className="flex h-20 items-center justify-between py-6">
|
|
<nav>
|
|
<Link
|
|
href="https://github.com/bartvdbraak"
|
|
className={cn(
|
|
buttonVariants({ variant: "secondary", size: "sm" }),
|
|
"px-4"
|
|
)}
|
|
>
|
|
My GitHub
|
|
</Link>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
<main className="flex-1">{children}</main>
|
|
</div>
|
|
);
|
|
}
|