ui/ reusable header

This commit is contained in:
Leon van Zyl
2025-08-13 11:37:24 +02:00
parent 9c70c66dc5
commit 863906de86
5 changed files with 119 additions and 93 deletions

View File

@@ -0,0 +1,20 @@
import Link from "next/link";
import { UserProfile } from "@/components/auth/user-profile";
export function SiteHeader() {
return (
<header className="border-b">
<div className="container mx-auto px-4 py-4 flex justify-between items-center">
<h1 className="text-2xl font-bold">
<Link
href="/"
className="bg-clip-text text-transparent [background-image:linear-gradient(90deg,color-mix(in_oklab,var(--primary)_85%,white_0%),color-mix(in_oklab,var(--primary)_50%,white_0%))] hover:opacity-90"
>
Next.js Starter Kit
</Link>
</h1>
<UserProfile />
</div>
</header>
);
}