{"version":3,"file":"BackToCourse.CRSz55Ac.mjs","names":[],"sources":["https:/framerusercontent.com/modules/VQK80quFyTG7PkcF7Kcz/Fk3i4MJaDV2WUW1RBzYW/BackToCourse.js"],"sourcesContent":["// Back to course page section with button link for module pages\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 BackToCourse(props){const{title,buttonText,buttonLink,backgroundColor,textColor,buttonColor,buttonTextColor,titleFont,buttonFont,style}=props;return /*#__PURE__*/_jsxs(\"div\",{style:{...style,width:\"100%\",backgroundColor,padding:\"40px 20px\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:20},children:[/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,color:textColor,textAlign:\"center\",...titleFont},children:title}),/*#__PURE__*/_jsx(\"a\",{href:buttonLink,style:{display:\"inline-block\",padding:\"12px 32px\",backgroundColor:buttonColor,color:buttonTextColor,textDecoration:\"none\",borderRadius:8,transition:\"opacity 0.2s ease\",cursor:\"pointer\",...buttonFont},onMouseEnter:e=>{e.currentTarget.style.opacity=\"0.9\";},onMouseLeave:e=>{e.currentTarget.style.opacity=\"1\";},children:buttonText})]});}addPropertyControls(BackToCourse,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Great job completing this lesson!\"},buttonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Back to Course\"},buttonLink:{type:ControlType.Link,title:\"Button Link\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#F5F5F5\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},buttonColor:{type:ControlType.Color,title:\"Button Color\",defaultValue:\"#000000\"},buttonTextColor:{type:ControlType.Color,title:\"Button Text Color\",defaultValue:\"#FFFFFF\"},titleFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"32px\",variant:\"Semibold\",letterSpacing:\"-0.03em\",lineHeight:\"1em\"}},buttonFont:{type:ControlType.Font,title:\"Button Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BackToCourse\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BackToCourse.map"],"mappings":"mKAIG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,QAAM,aAAW,aAAW,kBAAgB,YAAU,cAAY,kBAAgB,YAAU,aAAW,SAAO,EAAM,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,kBAAgB,QAAQ,YAAY,QAAQ,OAAO,cAAc,SAAS,WAAW,SAAS,eAAe,SAAS,IAAI,GAAG,CAAC,SAAS,CAAc,EAAK,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,EAAU,UAAU,SAAS,GAAG,EAAU,CAAC,SAAS,EAAM,CAAC,CAAc,EAAK,IAAI,CAAC,KAAK,EAAW,MAAM,CAAC,QAAQ,eAAe,QAAQ,YAAY,gBAAgB,EAAY,MAAM,EAAgB,eAAe,OAAO,aAAa,EAAE,WAAW,oBAAoB,OAAO,UAAU,GAAG,EAAW,CAAC,aAAa,GAAG,CAAC,EAAE,cAAc,MAAM,QAAQ,OAAQ,aAAa,GAAG,CAAC,EAAE,cAAc,MAAM,QAAQ,KAAM,SAAS,EAAW,CAAC,CAAC,CAAC,CAAC,kBAHnxB,IAAoD,CAGiuB,EAAoB,EAAa,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAA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