diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx index b5b8229..5cdaef4 100644 --- a/src/components/navbar.tsx +++ b/src/components/navbar.tsx @@ -5,9 +5,15 @@ import Link from "next/link"; import { cn } from "@/lib/cn"; import { nav, site } from "@/lib/site"; +import { isExternalUrl } from "@/lib/url"; import { ThemeToggle } from "./theme-toggle"; import { ArrowUpRight } from "./ui/icons"; +const linkClass = cn( + "hidden items-center gap-1 rounded-md px-3 py-1.5 sm:inline-flex", + "text-muted-foreground transition-colors hover:text-foreground", +); + export function Navbar() { return (
@@ -23,20 +29,31 @@ export function Navbar() {