{"version":3,"file":"CaseStudySchema.BI9pvs95.mjs","names":["CASES","c","_Fragment"],"sources":["https:/framerusercontent.com/modules/JUq8032xGKfDZkB64muy/xNJBh0Dt1yxK87lCJCnS/CaseStudyCards.js","https:/framerusercontent.com/modules/QMXkgvPggvZtCOHNiRoP/5G8Us21iN8roucORP62T/CaseStudySchema.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";// Case study cards with real links. layout=grid for the /case-studies hub; layout=row for 'More case studies' (excludes the current case study).\nconst CASES=[{\"slug\":\"all-real-nutrition\",\"name\":\"All Real Nutrition\",\"industry\":\"Protein snacks\",\"stat\":\"58%\",\"label\":\"Lower CPA in 4 months\",\"cover\":\"https://framerusercontent.com/images/CNuaui5z5T8uJdQqKnfY3BfXkU.png\"},{\"slug\":\"nurecover\",\"name\":\"Nurecover\",\"industry\":\"Health and wellness\",\"stat\":\"\\xa320M+\",\"label\":\"Generated with our creatives\",\"cover\":\"https://framerusercontent.com/images/PfMPpal7zHsYIa8Gm0NTJAONM.png\"},{\"slug\":\"mauvais\",\"name\":\"Mauvais\",\"industry\":\"Fashion\",\"stat\":\"3M+\",\"label\":\"Organic views\",\"cover\":\"https://framerusercontent.com/images/H45HsZrpDKSNopW9GObxPBfBSg.png\"}];const CSS=`\n.csc{width:100%;font-family:\"Inter Display\",\"Inter\",sans-serif;display:grid;gap:20px}\n.csc *{box-sizing:border-box}\n.csc.grid{grid-template-columns:repeat(3,1fr)}.csc.row{grid-template-columns:1fr 1fr;gap:18px}\n.csc a{text-decoration:none;border:1px solid rgba(255,255,255,.08);background:#121212;transition:border-color .2s,transform .2s}\n.csc a:hover{border-color:#1B805A;transform:translateY(-3px)}\n.csc.grid a{display:block;border-radius:22px;overflow:hidden}\n.csc.grid img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}\n.csc.grid .t{padding:22px 24px 26px}\n.csc.row a{display:grid;grid-template-columns:150px 1fr;gap:22px;align-items:center;border-radius:20px;padding:16px}\n.csc.row img{width:150px;aspect-ratio:3/4;object-fit:cover;border-radius:14px;display:block}\n.csc small{font-size:12px;letter-spacing:.12em;color:#23A574;font-weight:600;text-transform:uppercase}\n.csc .n{color:#fff;font-weight:600;letter-spacing:-.02em;margin:6px 0 10px}.csc.grid .n{font-size:28px}.csc.row .n{font-size:24px;margin:6px 0 6px}\n.csc b{display:block;color:#fff;font-weight:600;letter-spacing:-.04em}.csc.grid b{font-size:40px}.csc.row b{font-size:30px}\n.csc span{font-size:15px;color:#9a9a9a}.csc em{font-style:normal;display:block;margin-top:14px;color:#23A574;font-size:15px}\n@media(max-width:809px){.csc.grid,.csc.row{grid-template-columns:1fr}.csc.row a{grid-template-columns:110px 1fr}.csc.row img{width:110px}}\n`;/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function CaseStudyCards({layout,exclude}){const H=layout===\"grid\"?\"h2\":\"h3\";const items=CASES.filter(c=>c.name!==(exclude||\"\").trim());return /*#__PURE__*/_jsxs(\"div\",{className:\"csc \"+layout,children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),items.map(c=>/*#__PURE__*/_jsxs(\"a\",{href:\"/case-studies/\"+c.slug,children:[/*#__PURE__*/_jsx(\"img\",{src:c.cover,alt:c.name+\" ad creative case study cover\",loading:\"lazy\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"t\",children:[/*#__PURE__*/_jsx(\"small\",{children:c.industry}),/*#__PURE__*/_jsx(H,{className:\"n\",children:c.name}),/*#__PURE__*/_jsx(\"b\",{children:c.stat}),/*#__PURE__*/_jsx(\"span\",{children:c.label}),/*#__PURE__*/_jsx(\"em\",{children:\"Read the case study →\"})]})]},c.slug))]});}addPropertyControls(CaseStudyCards,{layout:{type:ControlType.Enum,options:[\"grid\",\"row\"],defaultValue:\"grid\"},exclude:{type:ControlType.String,title:\"Exclude\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CaseStudyCards\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CaseStudyCards.map","import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";// Structured data for case studies. With `caseName` set (bind to CMS Title): Article + BreadcrumbList for that case study.\n// With `caseName` empty: BreadcrumbList + ItemList for the /case-studies hub. Renders nothing visible.\nconst CASES=[{\"slug\":\"all-real-nutrition\",\"name\":\"All Real Nutrition\"},{\"slug\":\"nurecover\",\"name\":\"Nurecover\"},{\"slug\":\"mauvais\",\"name\":\"Mauvais\"}];const SITE=\"https://www.225media.com\";const slugify=s=>s.toLowerCase().trim().replace(/[^a-z0-9]+/g,\"-\").replace(/(^-|-$)/g,\"\");/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function CaseStudySchema({caseName:name,description,image}){const crumbs=[{\"@type\":\"ListItem\",position:1,name:\"Home\",item:SITE+\"/\"},{\"@type\":\"ListItem\",position:2,name:\"Case studies\",item:SITE+\"/case-studies\"}];let schemas;if(name&&name.trim()){const url=SITE+\"/case-studies/\"+slugify(name);const img=typeof image===\"string\"?image:image?.src;schemas=[{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"@id\":url+\"#article\",headline:name+\" case study\",description,url,mainEntityOfPage:url,...img?{image:img}:{},author:{\"@id\":SITE+\"/#organization\"},publisher:{\"@id\":SITE+\"/#organization\"},about:{\"@type\":\"Organization\",name}},{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",itemListElement:[...crumbs,{\"@type\":\"ListItem\",position:3,name:name+\" case study\",item:url}]}];}else{schemas=[{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",itemListElement:crumbs},{\"@context\":\"https://schema.org\",\"@type\":\"ItemList\",name:\"225 Media ad creative case studies\",itemListElement:CASES.map((c,i)=>({\"@type\":\"ListItem\",position:i+1,url:SITE+\"/case-studies/\"+c.slug,name:c.name+\" case study\"}))}];}return /*#__PURE__*/_jsx(_Fragment,{children:schemas.map((s,i)=>/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(s)}},i))});}addPropertyControls(CaseStudySchema,{caseName:{type:ControlType.String,defaultValue:\"\"},description:{type:ControlType.String,defaultValue:\"\"},image:{type:ControlType.ResponsiveImage}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CaseStudySchema\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CaseStudySchema.map"],"mappings":"qKAoBG,SAAwB,EAAe,CAAC,SAAO,WAAS,CAAC,IAAM,EAAE,IAAS,OAAO,KAAK,KAAW,EAAMA,EAAM,OAAO,GAAG,EAAE,QAAQ,GAAS,GAAA,CAAI,KAAK,CAAC,EAAE,OAAoB,EAAM,MAAM,CAAC,UAAU,OAAO,EAAO,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,CAAG,CAAC,EAAE,EAAM,IAAI,GAAgB,EAAM,IAAI,CAAC,KAAK,iBAAiBC,EAAE,KAAK,SAAS,CAAc,EAAK,MAAM,CAAC,IAAIA,EAAE,MAAM,IAAIA,EAAE,KAAK,gCAAgC,QAAQ,MAAM,CAAC,EAAe,EAAM,MAAM,CAAC,UAAU,IAAI,SAAS,CAAc,EAAK,QAAQ,CAAC,SAASA,EAAE,QAAQ,CAAC,EAAe,EAAK,EAAE,CAAC,UAAU,IAAI,SAASA,EAAE,IAAI,CAAC,EAAe,EAAK,IAAI,CAAC,SAASA,EAAE,IAAI,CAAC,EAAe,EAAK,OAAO,CAAC,SAASA,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