accesscodes/src/components/top-bar.tsx
anonymousratwastaken cd51ea3c1b Redesign homepage with floating top bar and shimmer hero
Turn the top bar into a floating pill, add the shimmer behind the hero,
show the server status chip, and rename Support to Donate.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-23 19:40:16 +01:00

20 lines
950 B
TypeScript

"use client";
import localFont from "next/font/local";
import Link from "next/link";
import { PlayButton } from "@/components/play-dialog";
const makeSans = localFont({ src: "../../public/font/makesans.ttf" });
export function TopBar() {
return (
<header className="sticky top-0 z-10 w-full px-4 pt-3">
<div className="mx-auto max-w-5xl flex items-center justify-between rounded-full border border-border bg-background/70 backdrop-blur-md supports-backdrop-filter:bg-background/60 shadow-xl shadow-black/30 pl-5 pr-2 py-2 text-sm">
<Link href="/" className={`${makeSans.className} font-extrabold lowercase text-primary text-base tracking-tight`}>FRG Network</Link>
<nav className="flex items-center gap-4">
<Link href="/donate" className="text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">Donate</Link>
<PlayButton />
</nav>
</div>
</header>
);
}