Spaces:
Sleeping
Sleeping
Update static/script.js
Browse files- static/script.js +5 -1
static/script.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
|
| 2 |
console.log("Script.js started executing at:", new Date().toISOString());
|
| 3 |
|
| 4 |
// Initialize Particles.js
|
|
@@ -576,6 +575,11 @@ fetchData('/api/talks', 'talks-grid', (data, container) => {
|
|
| 576 |
</div>
|
| 577 |
<h4 class="text-primary-blue glow mb-2">${talk.event}</h4>
|
| 578 |
<p class="text-gray-300 mb-4">${talk.description}</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 579 |
<div class="video-container mb-4">
|
| 580 |
<iframe src="${talk.videoLink}" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen class="glow"></iframe>
|
| 581 |
</div>
|
|
|
|
|
|
|
| 1 |
console.log("Script.js started executing at:", new Date().toISOString());
|
| 2 |
|
| 3 |
// Initialize Particles.js
|
|
|
|
| 575 |
</div>
|
| 576 |
<h4 class="text-primary-blue glow mb-2">${talk.event}</h4>
|
| 577 |
<p class="text-gray-300 mb-4">${talk.description}</p>
|
| 578 |
+
${talk.image ? `
|
| 579 |
+
<div class="mb-4">
|
| 580 |
+
<img src="${talk.image}" alt="${talk.title} thumbnail" class="w-full h-48 object-cover rounded-md glow">
|
| 581 |
+
</div>
|
| 582 |
+
` : ''}
|
| 583 |
<div class="video-container mb-4">
|
| 584 |
<iframe src="${talk.videoLink}" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen class="glow"></iframe>
|
| 585 |
</div>
|