{"version":3,"file":"CategoryNav.DwUIDnWd.mjs","names":[],"sources":["https:/framerusercontent.com/modules/CEL34650oVs840tKcspQ/AGXSmzf9CUHgOGRoLdIh/CategoryNav.js"],"sourcesContent":["// CategoryNav v3\n// Reusable category switcher for the Ortopylot blog hubs and index.\n// Shows All Posts plus the live category hubs as pills. The current one is marked\n// active (amber, non-clickable). Real anchor links, server-rendered, crawlable.\n// Constrains itself to the 1200px content column and centres, so it lines up with\n// the dividers and post grids on every page. Set the `active` prop per page.\n//\n// v3 (Jul 2026): Business Research and Business Operations pills hidden while\n// those categories have no published posts (their entries stay below, commented,\n// so restoring them is a one-line change). Categories realigned to the\n// implementation positioning.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const AMBER=\"#C17A2A\";const AMBER_TINT=\"#FEF3E2\";const PRIMARY=\"#111111\";const BODY=\"#555555\";const BORDER=\"#F0EDE8\";const items=[{label:\"All Posts\",href:\"/blog\",key:\"all\"},// { label: \"Business Research\", href: \"/business-research\", key: \"research\" }, // empty, hidden Jul 2026\n{label:\"Business Setup\",href:\"/business-setup\",key:\"setup\"},// { label: \"Business Operations\", href: \"/business-operations\", key: \"operations\" }, // empty, hidden Jul 2026\n{label:\"Business AI Tools\",href:\"/business-ai-tools\",key:\"ai-tools\"},{label:\"Business Case Studies\",href:\"/business-case-studies\",key:\"case-studies\"},{label:\"Business Automation\",href:\"/business-automation\",key:\"automation\"}];export default function CategoryNav({active=\"\"}){return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",maxWidth:\"1200px\",margin:\"0 auto\"},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n                    .op-catnav{display:flex;flex-wrap:wrap;gap:8px;width:100%;}\n                    .op-catnav a{font-family:'Instrument Sans',sans-serif;font-weight:500;font-size:13px;\n                        line-height:1;text-decoration:none;padding:9px 14px;border-radius:999px;\n                        border:1px solid ${BORDER};color:${BODY};background:#fff;white-space:nowrap;\n                        transition:color .15s,border-color .15s;}\n                    .op-catnav a:hover{color:${PRIMARY};border-color:${AMBER};}\n                    .op-catnav a.is-active{background:${AMBER_TINT};border-color:${AMBER};color:${PRIMARY};\n                        font-weight:600;pointer-events:none;}\n                `}}),/*#__PURE__*/_jsx(\"div\",{className:\"op-catnav\",children:items.map(it=>/*#__PURE__*/_jsx(\"a\",{href:it.href,className:active===it.key?\"is-active\":\"\",children:it.label},it.key))})]});}addPropertyControls(CategoryNav,{active:{type:ControlType.Enum,title:\"Active\",options:[\"\",\"all\",\"research\",\"setup\",\"operations\",\"ai-tools\",\"case-studies\",\"automation\"],optionTitles:[\"None\",\"All Posts\",\"Research\",\"Setup\",\"Operations\",\"AI Tools\",\"Case Studies\",\"Automation\"],defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CategoryNav\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CategoryNav.map"],"mappings":"mKAakO,SAAwB,EAAY,CAAC,SAAO,IAAI,CAAC,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,SAAS,SAAS,OAAO,QAAQ,EAAE,SAAS,CAAc,EAAK,QAAQ,CAAC,wBAAwB,CAAC,OAAO;;;;2CAIrY,EAAO,SAAS,EAAK;;+CAEjB,EAAQ,gBAAgB,EAAM;wDACrB,EAAW,gBAAgB,EAAM,SAAS,EAAQ;;iBAEzF,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,UAAU,YAAY,SAAS,EAAM,IAAI,GAAiB,EAAK,IAAI,CAAC,KAAK,EAAG,KAAK,UAAU,IAAS,EAAG,IAAI,YAAY,GAAG,SAAS,EAAG,KAAK,EAAE,EAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,6BAXjJ,IAAoD,EAAO,EAAM,UAAgB,EAA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