Skip to content

Commit eb6b3b2

Browse files
committed
fix(speaker-wall): patch speaker wall api issue for Austin 24, 25
Signed-off-by: Laura Santamaria <[email protected]>
1 parent 7ee0392 commit eb6b3b2

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

content/events/2024-austin/speakers.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Description = "Meet our speakers for DevOpsDays Austin 2024"
99
<div class="pretalx-widget">
1010
<div class="pretalx-widget-info-message">
1111
JavaScript is disabled in your browser. To access our speaker list without JavaScript,
12-
please <a target="_blank" href="https://talks.devopsdays.org/devopsdays-austin-2024/speakers/">click here</a>.
12+
please <a target="_blank" href="https://talks.devopsdays.org/devopsdays-austin-2024/speaker/">click here</a>.
1313
</div>
1414
</div>
1515
</noscript>
@@ -26,8 +26,6 @@ Description = "Meet our speakers for DevOpsDays Austin 2024"
2626
.then((data) => {
2727
let speakers = data.results;
2828

29-
console.log(speakers);
30-
3129
speakers.map(function(speaker) {
3230
let li = document.createElement('div');
3331
li.className = `col-lg-3 col-md-6 p-3`;
@@ -38,7 +36,7 @@ Description = "Meet our speakers for DevOpsDays Austin 2024"
3836
let talk = document.createElement('a');
3937

4038
name.innerHTML = `${speaker.name}`;
41-
pic.src = speaker.avatar.length != 0 ? `${speaker.avatar}`: '/img/speaker-default.jpg';
39+
pic.src = speaker.avatar_url.length != 0 ? `${speaker.avatar_url}`: '/img/speaker-default.jpg';
4240
pic.className = `speakers-page`;
4341
bio.innerHTML = `<summary><b>About ${speaker.name}</b></summary><p>${speaker.biography ? `${speaker.biography}`: `Ipsum`}</p>`;
4442
talk.setAttribute('href', speaker.submissions[0] ? `https://talks.devopsdays.org/devopsdays-austin-2024/talk/${speaker.submissions[0]}` : ``);

content/events/2025-austin/speakers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Description = "Meet our speakers for DevOpsDays Austin 2025"
99
<div class="pretalx-widget">
1010
<div class="pretalx-widget-info-message">
1111
JavaScript is disabled in your browser. To access our speaker list without JavaScript,
12-
please <a target="_blank" href="https://talks.devopsdays.org/devopsdays-austin-2025/speakers/">click here</a>.
12+
please <a target="_blank" href="https://talks.devopsdays.org/devopsdays-austin-2025/speaker/">click here</a>.
1313
</div>
1414
</div>
1515
</noscript>
@@ -36,7 +36,7 @@ Description = "Meet our speakers for DevOpsDays Austin 2025"
3636
let talk = document.createElement('a');
3737

3838
name.innerHTML = `${speaker.name}`;
39-
pic.src = speaker.avatar.length != 0 ? `${speaker.avatar}`: '/img/speaker-default.jpg';
39+
pic.src = speaker.avatar_url.length != 0 ? `${speaker.avatar_url}`: '/img/speaker-default.jpg';
4040
pic.className = `speakers-page`;
4141
bio.innerHTML = `<summary><b>About ${speaker.name}</b></summary><p>${speaker.biography ? `${speaker.biography}`: `Ipsum`}</p>`;
4242
talk.setAttribute('href', speaker.submissions[0] ? `https://talks.devopsdays.org/devopsdays-austin-2025/talk/${speaker.submissions[0]}` : ``);

0 commit comments

Comments
 (0)