Skip to content

Commit 2834c65

Browse files
[DEN-2025] init program, speakers (#15314)
Co-authored-by: denverdevopsdays <[email protected]>
1 parent ec9f11b commit 2834c65

File tree

4 files changed

+86
-9
lines changed

4 files changed

+86
-9
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
+++
2+
Title = "Program"
3+
Type = "event"
4+
Description = "Program for devopsdays Denver 2024"
5+
+++
6+
7+
<script type="text/javascript" src="https://talks.devopsdays.org/dodrox-2025/widgets/schedule.js"></script>
8+
<pretalx-schedule event-url="https://talks.devopsdays.org/dodrox-2025/" locale="en" format="grid" style="--pretalx-clr-primary: #3aa57c"></pretalx-schedule>
9+
<noscript>
10+
<div class="pretalx-widget">
11+
<div class="pretalx-widget-info-message">
12+
JavaScript is disabled in your browser. To access our schedule without JavaScript,
13+
please <a target="_blank" href="https://talks.devopsdays.org/dodrox-2025/schedule/">click here</a>.
14+
</div>
15+
</div>
16+
</noscript>
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
+++
2+
Title = "Speakers"
3+
Type = "speakers"
4+
Description = "Meet our speakers for DevOpsDays Rockies 2025"
5+
+++
6+
7+
<div id="speakers" class="row"></div>
8+
<noscript>
9+
<div class="pretalx-widget">
10+
<div class="pretalx-widget-info-message">
11+
JavaScript is disabled in your browser. To access our speaker list without JavaScript,
12+
please <a target="_blank" href="https://talks.devopsdays.org/dodrox-2025/speaker/">click here</a>.
13+
</div>
14+
</div>
15+
</noscript>
16+
17+
<script>
18+
const ul = document.getElementById('speakers');
19+
const list = document.createDocumentFragment();
20+
const url = 'https://talks.devopsdays.org/api/events/dodrox-2025/speakers/?limit=50';
21+
22+
fetch(url)
23+
.then((response) => {
24+
return response.json();
25+
})
26+
.then((data) => {
27+
let speakers = data.results;
28+
29+
speakers.map(function(speaker) {
30+
let li = document.createElement('div');
31+
li.className = `col-lg-3 col-md-6 p-3`;
32+
let name = document.createElement('h3');
33+
let pic = document.createElement('img');
34+
let bio = document.createElement('details');
35+
bio.className = `p-1`;
36+
let talk = document.createElement('a');
37+
38+
name.innerHTML = `${speaker.name}`;
39+
pic.src = speaker.avatar_url.length != 0 ? `${speaker.avatar_url}`: '/img/speaker-default.jpg';
40+
pic.className = `speakers-page`;
41+
bio.innerHTML = `<summary><b>About ${speaker.name}</b></summary><p>${speaker.biography ? `${speaker.biography}`: `Ipsum`}</p>`;
42+
talk.setAttribute('href', speaker.submissions[0] ? `https://talks.devopsdays.org/dodrox-2025/talk/${speaker.submissions[0]}` : ``);
43+
talk.setAttribute('target', '_blank');
44+
talk.className = `btn btn-primary`;
45+
talk.innerHTML = `Link to talk`;
46+
47+
li.appendChild(name);
48+
li.appendChild(pic);
49+
li.appendChild(bio);
50+
li.appendChild(talk);
51+
list.appendChild(li);
52+
});
53+
})
54+
.catch(function(error) {
55+
console.log(error);
56+
})
57+
.finally(() => {
58+
ul.appendChild(list);
59+
});
60+
</script>

content/events/2025-denver/welcome.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ Description = "devopsdays Denver 2025"
66
+++
77
<b>DevOpsDays Rockies is returning to Denver in 2025!</b><br><br>
88

9-
<h2>{{< event_link url-key="cfp_link" text="Submit a Talk!" >}}</h2>
10-
<br><br>
119
<h2>{{< event_link page="registration" text="Purchase your Ticket!" >}}</h2>
1210
<br><br>
1311

12+
<h2>{{< event_link page="program" text="View the Program!" >}}</h2>
13+
<br><br>
14+
1415
<div style="float:right;">
1516
<!-- {{< event_logo >}} -->
1617
<img src="/events/2025-denver/colorado_square.png" width="300" style="padding: 20px 0;"/>
@@ -39,16 +40,16 @@ Description = "devopsdays Denver 2025"
3940
<strong>Register</strong>
4041
</div>
4142
<div class = "col-md-8">
42-
{{< event_link page="registration" text="Early bird tickets are on sale!" >}}
43+
{{< event_link page="registration" text="Early bird tickets sales end July 15!" >}}
4344
</div>
4445
</div>
4546

4647
<div class = "row">
4748
<div class = "col-md-2">
48-
<strong>Propose</strong>
49+
<strong>Program</strong>
4950
</div>
5051
<div class = "col-md-8">
51-
{{< event_link page="propose" text="Our CFP is open until May 25th - get your proposals in ASAP" >}}
52+
{{< event_link page="program" text="Checkout our speaker lineup!" >}}
5253
</div>
5354
</div>
5455

@@ -66,7 +67,7 @@ Description = "devopsdays Denver 2025"
6667
<strong>Contact</strong>
6768
</div>
6869
<div class = "col-md-8">
69-
{{< event_link page="contact" text="Get in touch with the organizers" >}}
70+
{{< event_link page="contact" text="Get in touch with the organizers!" >}}
7071
</div>
7172
</div>
7273
<br>

data/events/2025/denver/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ location: "Bierstadt Lagerhaus" # Defaults to city, but you can make it the venu
4040
location_address: "2875 Blake St, Denver, CO 80205" #Optional - use the street address of your venue. This will show up on the welcome page if set. Also used by the event_map shortcode!
4141

4242
nav_elements: # List of pages you want to show up in the navigation of your page.
43-
- name: propose
43+
# - name: propose
4444
# - name: location
4545
- name: registration
46-
# - name: program
47-
# - name: speakers
46+
- name: program
47+
- name: speakers
4848
- name: sponsor
4949
- name: contact
5050
- name: conduct

0 commit comments

Comments
 (0)