--- /** * The phone menu's content (RFC-0025 ยง2), in the header's disclosure, its drawer or full-screen * dialog, and the `/menu` page: the header's menu with its groups as disclosures, the second menu, * and the search form where the deployment answers searches. */ import type { ActiveNavItem } from "@cloudhal/astro-renderer/navigation"; import NavLink from "./NavLink.astro"; import NavMenu from "./NavMenu.astro"; interface Props { nav: ActiveNavItem[]; utility: ActiveNavItem[]; search?: { label: string; placeholder: string; button: string; query?: string } | undefined; words: { main: string; secondary: string }; /** Keeps ids unique when the panel shows twice on a page. */ idSuffix: string; /** RFC-0026 26c: the site's icon weight. */ iconWeight?: string | undefined; } const { nav, utility, search, words, idSuffix, iconWeight } = Astro.props; const link = { on: "ch-menu__current", off: "" }; ---