Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,21 @@ export function Navbar() {
return (
<header className="sticky top-0 z-50 w-full border-border/60 border-b bg-background/70 backdrop-blur-md">
<div className="mx-auto flex h-14 max-w-6xl items-center justify-between px-6">
<Link
href="/"
className="flex items-center gap-2 font-mono font-semibold text-foreground text-sm tracking-tight"
>
<span aria-hidden className="inline-block h-2 w-2 rounded-full bg-accent" />
<span>{site.name.toLowerCase()}</span>
<span className="text-muted-foreground/60">/</span>
<span className="text-muted-foreground">{site.section}</span>
</Link>
<div className="flex items-center gap-2 font-mono font-semibold text-foreground text-sm tracking-tight">
<a
href={site.homeUrl}
className="flex items-center gap-2 transition-colors hover:text-foreground/80"
>
<span aria-hidden className="inline-block h-2 w-2 rounded-full bg-accent" />
<span>{site.name.toLowerCase()}</span>
</a>
<span aria-hidden className="text-muted-foreground/60">
/
</span>
<Link href="/" className="text-muted-foreground transition-colors hover:text-foreground">
{site.section}
</Link>
</div>
<nav className="flex items-center gap-1 text-sm">
{nav.map((item) => {
const openInNewTab = "external" in item && item.external;
Expand Down
Loading