diff --git a/assets/build-accordion.js b/assets/build-accordion.js index 37bc97c..bdec27d 100644 --- a/assets/build-accordion.js +++ b/assets/build-accordion.js @@ -1,5 +1,27 @@ // Sample data in JSON format const presentationsData = [ + { + title: "Durable Event-Sourced Workflow Monad... Seriously!", + conferences: [ + { + name: "Scalar 2025", + link: "https://www.scalar-conf.com/", + slides: null, + video: null + } + ] + }, + { + title: "Creative Engineering: The Subtle Art of Cutting Corners", + conferences: [ + { + name: "L8Conf 2025", + link: "https://l8conf.com/", + slides: null, + video: null + } + ] + }, { title: "Decisions4s: Complicated Conditionals, Higher-Kinded Data and Scala 3", conferences: [ @@ -216,6 +238,10 @@ function createAccordion(data) { const descriptionDiv = document.createElement("div"); descriptionDiv.className = "description"; + if (!conference.slides) { + descriptionDiv.innerHTML = "Incoming!" + } + // Slides link if (conference.slides) { const slidesLabel = document.createElement("a");