maintenance page: hero uses the full-res photo (640px thumb upscaled blurry)
Browse files
app.py
CHANGED
|
@@ -457,7 +457,7 @@ fetch("team.json").then(r=>r.ok?r.json():[]).then(items=>{
|
|
| 457 |
const hero=document.getElementById("hero"),g=document.getElementById("grid");
|
| 458 |
items.forEach((it,i)=>{
|
| 459 |
const im=document.createElement("img");
|
| 460 |
-
im.src=it.thumb;im.alt=it.name;im.loading="lazy";
|
| 461 |
im.onclick=()=>{lbImg.src=it.full;lb.classList.add("show");};
|
| 462 |
(i===0?hero:g).appendChild(im);
|
| 463 |
});
|
|
|
|
| 457 |
const hero=document.getElementById("hero"),g=document.getElementById("grid");
|
| 458 |
items.forEach((it,i)=>{
|
| 459 |
const im=document.createElement("img");
|
| 460 |
+
im.src=i===0?it.full:it.thumb;im.alt=it.name;im.loading="lazy";
|
| 461 |
im.onclick=()=>{lbImg.src=it.full;lb.classList.add("show");};
|
| 462 |
(i===0?hero:g).appendChild(im);
|
| 463 |
});
|