"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 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300 font-medium" : "text-muted-foreground hover:bg-muted border-border" } ${extra}`; return (

Novo Agendamento

); }