"use client"; import { RotateCcw } from "lucide-react"; import Link from "next/link"; import { usePathname, useRouter } from "next/navigation"; export default function HeaderAgenda() { const pathname = usePathname(); const router = useRouter(); const isAg = pathname?.startsWith("/agendamento"); const isPr = pathname?.startsWith("/procedimento"); const isFi = pathname?.startsWith("/financeiro"); const tabCls = (active: boolean, extra = "") => `px-4 py-1.5 text-[13px] border ${ active ? "border-blue-500 bg-blue-50 text-blue-700 font-medium" : "text-gray-700 hover:bg-gray-100" } ${extra}`; return (

Novo Agendamento

); }