feat: different timings for ARTS and PHOTOS sections

This commit is contained in:
Kentai Radiquum 2024-11-30 21:08:24 +05:00
parent 9237a0394a
commit ab784438e5
Signed by: Radiquum
GPG key ID: 858E8EE696525EED

View file

@ -3,6 +3,7 @@ const SONG_CHANGE_DELAY = 180000;
const SYMBOL_DELAY = 150; const SYMBOL_DELAY = 150;
const IMAGE_CHANGE_DELAY = 6000; const IMAGE_CHANGE_DELAY = 6000;
const ARTS_CHANGE_DELAY = 6500;
const IMAGE_ANIMATION_DELAY = 1000; const IMAGE_ANIMATION_DELAY = 1000;
const IMAGE_TRANSITION_DELAY = 1000; const IMAGE_TRANSITION_DELAY = 1000;
@ -238,5 +239,5 @@ window.onload = () => {
setPhotoSectionImagesMargin(); setPhotoSectionImagesMargin();
setInterval(changePhotoSectionImage, IMAGE_CHANGE_DELAY); setInterval(changePhotoSectionImage, IMAGE_CHANGE_DELAY);
setArtsSectionImagesMargin(); setArtsSectionImagesMargin();
setInterval(changeArtsSectionImage, IMAGE_CHANGE_DELAY); setInterval(changeArtsSectionImage, ARTS_CHANGE_DELAY);
}; };