{"version":3,"file":"SignupButton.CD0yOBJB.mjs","names":[],"sources":["https:/framerusercontent.com/modules/gtw8VAnMoA9SeNxfqrHF/IyTaQI3BiQorcDrd78Nv/SignupButton.js"],"sourcesContent":["// User request: Créer un bouton \"S'inscrire\" background blanc et texte noir qui redirige avec rel=\"noopener noreferrer\" vers l'URL fournie, en ouvrant dans un nouvel onglet.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Signup Button Link\n *\n * @framerIntrinsicWidth 140\n * @framerIntrinsicHeight 44\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function SignupButton(props){const{label,href,openInNewTab,backgroundColor,textColor,borderColor,borderWidth,radius,padding,font,style}=props;const target=openInNewTab?\"_blank\":undefined;const rel=openInNewTab?\"noopener noreferrer\":undefined;const isFixedWidth=style&&style.width===\"100%\";const isFixedHeight=style&&style.height===\"100%\";return /*#__PURE__*/_jsx(\"a\",{className:\"framer-text framer-styles-preset-1qyqs54\",\"data-styles-preset\":\"U3CnHqumq\",href:href,target:target,rel:rel,\"aria-label\":label,style:{position:\"relative\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",textDecoration:\"none\",cursor:\"pointer\",userSelect:\"none\",background:backgroundColor,color:textColor,borderStyle:borderWidth>0?\"solid\":\"none\",borderColor,borderWidth,borderRadius:radius,padding,...isFixedWidth?{width:\"100%\"}:{width:\"max-content\"},...isFixedHeight?{height:\"100%\"}:{},...font,...style},children:/*#__PURE__*/_jsx(\"span\",{style:{width:\"max-content\"},children:label})});}addPropertyControls(SignupButton,{label:{type:ControlType.String,title:\"Texte\",defaultValue:\"S'inscrire\"},href:{type:ControlType.Link,title:\"Lien\",defaultValue:\"https://guingamp-paimpol-scolaire.anvergur.org/guingamp-paimpol-agglo/index.php\"},openInNewTab:{type:ControlType.Boolean,title:\"Nouvel onglet\",defaultValue:true,enabledTitle:\"Oui\",disabledTitle:\"Non\"},backgroundColor:{type:ControlType.Color,title:\"Fond\",defaultValue:\"#FFFFFF\"},textColor:{type:ControlType.Color,title:\"Texte\",defaultValue:\"#000000\"},borderColor:{type:ControlType.Color,title:\"Bordure\",defaultValue:\"#000000\"},borderWidth:{type:ControlType.Number,title:\"\\xc9paisseur\",defaultValue:0,min:0,max:8,step:1,unit:\"px\"},radius:{type:ControlType.BorderRadius,title:\"Arrondi\",defaultValue:\"999px\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"12px 18px\"},font:{type:ControlType.Font,title:\"Police\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\",textAlign:\"center\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SignupButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"44\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"140\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SignupButton.map"],"mappings":"4JASG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,QAAM,OAAK,eAAa,kBAAgB,YAAU,cAAY,cAAY,SAAO,UAAQ,OAAK,SAAO,EAAY,EAAO,EAAa,SAAS,IAAA,GAAgB,EAAI,EAAa,sBAAsB,IAAA,GAAgB,EAAa,GAAO,EAAM,QAAQ,OAAa,EAAc,GAAO,EAAM,SAAS,OAAO,OAAoB,EAAK,IAAI,CAAC,UAAU,2CAA2C,qBAAqB,YAAiB,OAAY,SAAW,MAAI,aAAa,EAAM,MAAM,CAAC,SAAS,WAAW,QAAQ,cAAc,WAAW,SAAS,eAAe,SAAS,eAAe,OAAO,OAAO,UAAU,WAAW,OAAO,WAAW,EAAgB,MAAM,EAAU,YAAY,EAAY,E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