changes.txt #9.2 & #9.4: team hero + members/friends appreciation
#9.2 Full-width auto-rotating team hero (crossfade every 4.5s, transparent blue overlay) directly under the About Us title — 11 landscape photos supplied by MSOS. #9.4 "Our members & friends" appreciation section after Mission & Vision: a contained photo carousel + name chips. Photos and names are PLACEHOLDERS (names in "First L." format) pending the full members list. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
195a48205c
commit
0bbc06c6bc
16 files changed
+186
-1
No files matched your search
@@ -1101,6 +1101,25 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* ===================================================================
|
||||
* ABOUT US TEAM HERO (auto-rotating crossfade slideshow)
|
||||
* ===================================================================
|
||||
*/
|
||||
function setupAboutHero() {
|
||||
if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) return;
|
||||
document.querySelectorAll('.about-hero').forEach(function (hero) {
|
||||
const slides = hero.querySelectorAll('.about-hero-slide');
|
||||
if (slides.length < 2) return;
|
||||
let i = 0;
|
||||
setInterval(function () {
|
||||
slides[i].classList.remove('is-active');
|
||||
i = (i + 1) % slides.length;
|
||||
slides[i].classList.add('is-active');
|
||||
}, 4500);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* ===================================================================
|
||||
* 8. ZAGON FUNKCIJ PO NALOŽITVI STRANI
|
||||
@@ -1111,6 +1130,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
setupLanguageSuggestion();
|
||||
setupNewsletter();
|
||||
setupHubCarousel();
|
||||
setupAboutHero();
|
||||
setupLightbox();
|
||||
|
||||
});
|
||||
Reference in new issue
Block a user