{"version":3,"file":"CourseSchema.Bvc4dgDF.mjs","names":[],"sources":["https:/framerusercontent.com/modules/YV1HStfUjzIDeODYeP7q/SevGCD3YjlT4TXKKk16R/CourseSchema.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Renders a JSON-LD Course schema script tag for Google rich results.\n * Place this component on each training/workshop/cursus page.\n * Pattern follows copilot-academy.nl: Course + hasCourseInstance per courseMode.\n * Set priceFrom to 0 to omit the offers block.\n */export default function CourseSchema({name,description,url,onsite,online,workload,priceFrom}){const provider={\"@type\":\"Organization\",name:\"Nexus Digital Solutions B.V.\",url:\"https://www.nexus-ai.nl\"};const instances=[];if(onsite){instances.push({\"@type\":\"CourseInstance\",courseMode:\"onsite\",courseWorkload:workload||\"PT4H\",location:{\"@type\":\"Place\",address:{\"@type\":\"PostalAddress\",addressCountry:\"NL\"}}});}if(online){instances.push({\"@type\":\"CourseInstance\",courseMode:\"online\",courseWorkload:workload||\"PT4H\"});}const schema={\"@context\":\"https://schema.org\",\"@type\":\"Course\",name,description,url,inLanguage:\"nl\",provider,hasCourseInstance:instances};if(priceFrom&&priceFrom>0){schema.offers={\"@type\":\"Offer\",price:String(priceFrom),priceCurrency:\"EUR\",category:\"Paid\"};}return /*#__PURE__*/_jsx(\"div\",{style:{display:\"none\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(schema)}})});}addPropertyControls(CourseSchema,{name:{type:ControlType.String,title:\"Course Name\",defaultValue:\"AI Training\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"Praktijkgerichte AI-training voor bedrijven\"},url:{type:ControlType.String,title:\"Page URL\",defaultValue:\"https://www.nexus-ai.nl/diensten/ai-training\"},onsite:{type:ControlType.Boolean,title:\"Onsite\",defaultValue:true},online:{type:ControlType.Boolean,title:\"Online\",defaultValue:true},workload:{type:ControlType.String,title:\"Workload (ISO)\",defaultValue:\"PT4H\"},priceFrom:{type:ControlType.Number,title:\"Price from (0 = none)\",defaultValue:0,min:0,max:1e5,step:1,displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CourseSchema\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CourseSchema.map"],"mappings":"4JAKG,SAAwB,EAAa,CAAC,OAAK,cAAY,MAAI,SAAO,SAAO,WAAS,aAAW,CAAC,IAAM,EAAS,CAAC,QAAQ,eAAe,KAAK,+BAA+B,IAAI,yBAAyB,EAAQ,EAAU,CAAC,EAAK,GAAQ,EAAU,KAAK,CAAC,QAAQ,iBAAiB,WAAW,SAAS,eAAe,GAAU,OAAO,SAAS,CAAC,QAAQ,QAAQ,QAAQ,CAAC,QAAQ,gBAAgB,eAAe,IAAI,CAAC,CAAC,CAAC,EAAM,GAAQ,EAAU,KAAK,CAAC,QAAQ,iBAAiB,WAAW,SAAS,eAAe,GAAU,MAAM,CAAC,EAAG,IAAM,EAAO,CAAC,WAAW,qBAAqB,QAAQ,SAAS,OAAK,cAAY,MAAI,WAAW,KAAK,WAAS,kBAAkB,CAAS,EAA0H,OAArH,GAAW,EAAU,IAAG,EAAO,OAAO,CAAC,QAAQ,QAAQ,MAAM,OAAO,CAAS,EAAE,cAAc,MAAM,SAAS,MAAM,GAAuB,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,MAAM,EAAE,SAAsB,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,KAAK,UAAU,CAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,iBALh5B,IAAoD,EAK61B,EAAoB,EAAa,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,aAAa,EAAE,YAAY,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,6CAA6C,EAAE,IAAI,CAAC,KAAK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