fixing titles and stuff

This commit is contained in:
2025-12-22 23:39:12 -05:00
parent c01aabb003
commit 70fac2857e
4 changed files with 10 additions and 12 deletions
+4 -1
View File
@@ -11,9 +11,11 @@ import ThemeToggle from "@/components/ThemeToggle";
function NavLink({
href,
children,
title
}: {
href: string;
children: React.ReactNode;
title?: string;
}) {
const pathname = usePathname();
const active = pathname === href;
@@ -21,6 +23,7 @@ function NavLink({
return (
<Link
href={href}
title={title}
className={[
"text-xs font-medium transition-colors",
active ? "text-zinc-100" : "text-zinc-400 hover:text-zinc-100",
@@ -60,7 +63,7 @@ export function TopNav() {
<span className="text-xs text-zinc-500">Checking session</span>
) : isAuthenticated ? (
<>
<NavLink href="/vault">Vault</NavLink>
<NavLink href="/vault" title={"Your builds"}>Vault</NavLink>
{/* Email/displayName links to Account */}
<Link