diff --git a/src/components/layout/Navbar.tsx b/src/components/layout/Navbar.tsx index d6b0494..932a426 100644 --- a/src/components/layout/Navbar.tsx +++ b/src/components/layout/Navbar.tsx @@ -1,3 +1,5 @@ +"use client"; + import Link from "next/link"; import { Button } from "../ui/button"; import { @@ -8,6 +10,8 @@ import { WalletIcon, } from "lucide-react"; import { SolanaLogo } from "../logos"; +import { cn } from "@/lib/utils"; +import { usePathname } from "next/navigation"; const links = [ { @@ -23,6 +27,7 @@ const links = [ export default function Navbar() { const personalItemClass = "rounded-full bg-card p-2! aspect-square group hover:bg-accent/20 hover:text-accent"; + const pathname = usePathname(); return (