fgixes to CSS and home page.
This commit is contained in:
parent
0ac9709ec8
commit
8cc8917aa8
43 changed files with 1126 additions and 340 deletions
16
docs/src/js/faces-intro.js
Normal file
16
docs/src/js/faces-intro.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// ---------------------
|
||||
// This script does the animations for the faces
|
||||
// on the home page.
|
||||
// ---------------------
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const imageContainers = document.querySelectorAll('.face');
|
||||
|
||||
setTimeout(() => {
|
||||
imageContainers.forEach((container, index) => {
|
||||
setTimeout(() => {
|
||||
container.classList.add('active');
|
||||
}, (index + 1) * 1000); // Adjust delay between images
|
||||
});
|
||||
}, 4800);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue