Skip to content

Commit a8e014f

Browse files
committed
Handle wifi details dynamically
1 parent 10e4ff6 commit a8e014f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/instructor_material/slides.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,12 @@ function populateSlideContent() {
194194
if (config.slides?.slide5) {
195195
const slide5 = config.slides.slide5;
196196

197+
// Update WiFi details
198+
const wifiDetails = document.getElementById('wifi-details');
199+
if (wifiDetails && slide5.wifi_details) {
200+
wifiDetails.textContent = slide5.wifi_details;
201+
}
202+
197203
// Update repository link
198204
const repoLink = document.getElementById('repo-link');
199205
if (repoLink && slide5.repository_link) {
@@ -242,6 +248,7 @@ function populateSlideContent() {
242248
reminder.innerHTML = `<p><strong>${slide6.reminder_text}</strong></p>`;
243249
}
244250
}
251+
245252
}
246253

247254
// Resolve template variables (simple implementation)

0 commit comments

Comments
 (0)