--- /** * Navigazione principale (desktop, ≥ 960 px). Il sottomenu «Servizi» si apre al passaggio del * mouse oppure con il pulsante freccia (tastiera e touch: `aria-expanded`, chiusura con Esc). * Senza JavaScript la voce «Servizi» porta comunque alla pagina con tutti i servizi. */ import { ctaHeader, isCurrentSection, navPrincipale } from '../data/navigazione'; import { studio } from '../data/studio'; import { telHref, telNational, telText } from '../lib/format'; import { servizioHref, type Servizio } from '../lib/servizi'; import Icon from './Icon.astro'; interface Props { servizi: Servizio[]; } const { servizi } = Astro.props; const path = Astro.url.pathname; const current = (href: string) => path === href ? 'page' : isCurrentSection(path, href) ? 'true' : undefined; ---