mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-06-29 15:59:11 +00:00
feat: reworked page and components
This commit is contained in:
parent
23bdd5aa94
commit
62656fa963
8 changed files with 175 additions and 113 deletions
33
app/(index)/layout.tsx
Normal file
33
app/(index)/layout.tsx
Normal file
|
@ -0,0 +1,33 @@
|
|||
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>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue