Skip to content

Commit

Permalink
stubs for upcoming talks
Browse files Browse the repository at this point in the history
  • Loading branch information
Krever committed Nov 7, 2024
1 parent 89a76fd commit a626d68
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions assets/build-accordion.js
Original file line number Diff line number Diff line change
@@ -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: [
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit a626d68

Please sign in to comment.