{"version":3,"file":"ProjectNavigation.CwtAilQo.mjs","names":[],"sources":["https:/framerusercontent.com/modules/MA0XRuMAkPbUKzBofjkw/nVzm7AhvNRuQ5ktsUuTL/ProjectNavigation.js"],"sourcesContent":["// Navigation arrows component for browsing between projects in a category with customizable links and text\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function ProjectNavigation(props){const{previousText,previousLink,nextText,nextLink,showPrevious,showNext,arrowColor,textColor,hoverColor,font,textSize,style}=props;const isFixedWidth=style?.width===\"100%\";return /*#__PURE__*/_jsxs(\"div\",{style:{...style,display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",gap:32,padding:\"16px 0\",position:\"relative\",...isFixedWidth?{}:{minWidth:\"max-content\"}},children:[showPrevious&&/*#__PURE__*/_jsxs(\"a\",{href:previousLink,style:{display:\"flex\",alignItems:\"center\",gap:12,textDecoration:\"none\",color:textColor,cursor:\"pointer\",transition:\"color 0.2s ease\",...font,fontSize:textSize},onMouseEnter:e=>{e.currentTarget.style.color=hoverColor;const arrow=e.currentTarget.querySelector(\"svg\");if(arrow)arrow.style.stroke=hoverColor;},onMouseLeave:e=>{e.currentTarget.style.color=textColor;const arrow=e.currentTarget.querySelector(\"svg\");if(arrow)arrow.style.stroke=arrowColor;},children:[/*#__PURE__*/_jsx(\"svg\",{width:\"26.5\",height:\"26.5\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:arrowColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{transition:\"stroke 0.2s ease\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M19 12H5M12 19l-7-7 7-7\"})}),/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"nowrap\"},children:previousText})]}),showNext&&/*#__PURE__*/_jsxs(\"a\",{href:nextLink,style:{display:\"flex\",alignItems:\"center\",gap:12,textDecoration:\"none\",color:textColor,cursor:\"pointer\",marginLeft:\"auto\",transition:\"color 0.2s ease\",...font,fontSize:textSize},onMouseEnter:e=>{e.currentTarget.style.color=hoverColor;const arrow=e.currentTarget.querySelector(\"svg\");if(arrow)arrow.style.stroke=hoverColor;},onMouseLeave:e=>{e.currentTarget.style.color=textColor;const arrow=e.currentTarget.querySelector(\"svg\");if(arrow)arrow.style.stroke=arrowColor;},children:[/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"nowrap\"},children:nextText}),/*#__PURE__*/_jsx(\"svg\",{width:\"26.5\",height:\"26.5\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:arrowColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{transition:\"stroke 0.2s ease\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12h14M12 5l7 7-7 7\"})})]})]});}addPropertyControls(ProjectNavigation,{showPrevious:{type:ControlType.Boolean,title:\"Show Previous\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},previousText:{type:ControlType.String,title:\"Previous Text\",defaultValue:\"Previous Project\",hidden:({showPrevious})=>!showPrevious},previousLink:{type:ControlType.Link,title:\"Previous Link\",defaultValue:\"/previous-project\",hidden:({showPrevious})=>!showPrevious},showNext:{type:ControlType.Boolean,title:\"Show Next\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},nextText:{type:ControlType.String,title:\"Next Text\",defaultValue:\"Next Project\",hidden:({showNext})=>!showNext},nextLink:{type:ControlType.Link,title:\"Next Link\",defaultValue:\"/next-project\",hidden:({showNext})=>!showNext},textSize:{type:ControlType.Number,title:\"Text Size\",defaultValue:15,min:8,max:72,step:1,unit:\"px\",displayStepper:true},arrowColor:{type:ControlType.Color,title:\"Arrow Color\",defaultValue:\"#000000\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},hoverColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#CCCCCC\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectNavigation\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProjectNavigation.map"],"mappings":"8JAIG,SAAwB,EAAkB,EAAM,CAAC,GAAK,CAAC,eAAa,eAAa,WAAS,WAAS,eAAa,WAAS,aAAW,YAAU,aAAW,OAAK,WAAS,SAAO,EAAY,EAAa,GAAO,QAAQ,OAAO,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,QAAQ,OAAO,eAAe,gBAAgB,WAAW,SAAS,IAAI,GAAG,QAAQ,SAAS,SAAS,WAAW,GAAG,EAAa,EAAE,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,GAA2B,EAAM,IAAI,CAAC,KAAK,EAAa,MAAM,CAAC,QAAQ,OAAO,WAAW,SAAS,IAAI,GAAG,eAAe,OAAO,MAAM,EAAU,OAAO,UAAU,WAAW,kBAAkB,GAAG,EAAK,SAAS,EAAS,CAAC,aAAa,GAAG,CAAC,EAAE,cAAc,MAAM,MAAM,EAAW,IAAM,EAAM,EAAE,cAAc,cAAc,MAAM,CAAI,IAAM,EAAM,MAAM,OAAO,IAAa,aAAa,GAAG,CAAC,EAAE,cAAc,MAAM,MAAM,EAAU,IAAM,EAAM,EAAE,cAAc,cAAc,MAAM,CAAI,IAAM,EAAM,MAAM,OAAO,IAAa,SAAS,CAAc,EAAK,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,QAAQ,YAAY,KAAK,OAAO,OAAO,EAAW,YAAY,IAAI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