Nieuwe fotos #72

Merged
j00lz merged 4 commits from staging into main 2024-12-22 11:35:03 +01:00
2 changed files with 14 additions and 2 deletions
Showing only changes of commit 463451bd7d - Show all commits

View file

@ -26,8 +26,12 @@ Activiteiten die voorbij zijn kun je <a href="/oudeactiviteiten" target="_self">
let slideIndex = 1; let slideIndex = 1;
let slides = [];
let slides = [...(Array(29).keys().map((idx) => `${idx+1}`.padStart(2,"0")).map((arg) => `https://s3.asraphiel.dev/galerie/20241220/${arg}.jpg`))] for(let i = 0; i < 29; i++) {
// [...((new Array(29)).keys().map((idx) => `${idx+1}`.padStart(2,"0")).map((arg) => `https://s3.asraphiel.dev/galerie/20241220/${arg}.jpg`))]
slides.push(`https://s3.asraphiel.dev/galerie/20241220/${(i+1).toString().padStart(2,"0")}.jpg`)
}
function createImage(url, index, total) { function createImage(url, index, total) {
let content = ` let content = `

View file

@ -65,9 +65,17 @@ met een enkele uitzondering. Klik op de foto hieronder voor een impressie van he
let slideIndex = 1; let slideIndex = 1;
let dots = document.getElementById("dots")
let slides = [];
for(let i = 0; i < 29; i++) {
// [...((new Array(29)).keys().map((idx) => `${idx+1}`.padStart(2,"0")).map((arg) => `https://s3.asraphiel.dev/galerie/20241220/${arg}.jpg`))]
slides.push(`https://s3.asraphiel.dev/galerie/20241220/${(i+1).toString().padStart(2,"0")}.jpg`)
}
let slides = [...(Array(29).keys().map((idx) => `${idx+1}`.padStart(2,"0")).map((arg) => `https://s3.asraphiel.dev/galerie/20241220/${arg}.jpg`))] // dots.innerHTML = `slides length: ${slides.length}`
function createImage(url, index, total) { function createImage(url, index, total) {
let content = ` let content = `