From 4119098b0219d9a4ac242f5d0142f9312fb99106 Mon Sep 17 00:00:00 2001 From: Tim <0xtimc@gmail.com> Date: Wed, 2 Oct 2024 19:39:34 +0100 Subject: [PATCH] Fix speaker links --- Sources/Conference/Components/Videos.swift | 2 +- Sources/Conference/Models/Speaker.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Conference/Components/Videos.swift b/Sources/Conference/Components/Videos.swift index 5feb7c0..7c77e71 100644 --- a/Sources/Conference/Components/Videos.swift +++ b/Sources/Conference/Components/Videos.swift @@ -26,7 +26,7 @@ struct Videos: Component { for speaker in talk.speakers { ListItem { H4 { - Link(speaker.name, url: "/speakers/\(speaker.name)/") + Link(speaker.name, url: "/speakers/\(speaker.url)/") }.class("f-weight-300") } } diff --git a/Sources/Conference/Models/Speaker.swift b/Sources/Conference/Models/Speaker.swift index d2f756b..1bece8d 100644 --- a/Sources/Conference/Models/Speaker.swift +++ b/Sources/Conference/Models/Speaker.swift @@ -149,7 +149,7 @@ struct AllSpeakers { name: "Babeth Velghe", role: "Student", bio: "A student with a passion for coding, who recently delved into Swift programming. For her bachelor thesis, she explored the Swift OpenAPI Generator.", - talkIDs: [16]), + talkIDs: [6]), Speaker( name: "Franz Busch", role: "Software Engineer",