// components/navbar.tsx "use client"; import { Navbar as NextUINavbar, NavbarContent, NavbarBrand, NavbarItem, } from "@nextui-org/navbar"; import { Button } from "@nextui-org/button"; import { Link } from "@nextui-org/link"; import NextLink from "next/link"; import { usePathname } from 'next/navigation'; import Image from "next/image"; import { siteConfig } from "@/config/site"; import { ThemeSwitch } from "@/components/theme-switch"; import { GithubIcon } from "@/components/icons"; export const Navbar = () => { const pathname = usePathname(); if (pathname.includes("/buildings/")) { return <>; } return ( Carbin Logo

Carbin

); };