From a626d68e0fab8538b3e3a594a29455b35014be51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Pitu=C5=82a?= Date: Thu, 7 Nov 2024 11:50:22 +0100 Subject: [PATCH] stubs for upcoming talks --- assets/build-accordion.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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");