"use client"; import React from "react"; import { Button } from "@/ui/button"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbSeparator, } from "@/components/ui/breadcrumb"; import { cn } from "@/lib/utils"; import LocaleSwitcher from "./locale-switcher"; import { useTranslations } from "next-intl"; export default function Navbar() { const pathname = usePathname(); const isActive = (path: string) => pathname === path.replace(/\/#/g, ""); const t = useTranslations(); const navigation = [ { label: t("global.navbar.home"), path: "/", }, { label: t("global.navbar.projects"), path: "/projects", }, { label: t("global.navbar.work"), path: "/contact", isButton: true, }, ]; return (
); }