diff --git a/web/src/components/albums/albumCard.astro b/web/src/components/albums/albumCard.astro index 49b1208..90ef1e2 100644 --- a/web/src/components/albums/albumCard.astro +++ b/web/src/components/albums/albumCard.astro @@ -6,13 +6,13 @@ const pb = await authPB()
\ No newline at end of file diff --git a/web/src/components/index/navbar.astro b/web/src/components/index/navbar.astro index a1ca78e..d99bf57 100644 --- a/web/src/components/index/navbar.astro +++ b/web/src/components/index/navbar.astro @@ -4,10 +4,10 @@ const links = [ txt: 'now', lnk: '/now' }, - { - txt: 'photos', - lnk: '/photos' - }, + // { + // txt: 'photos', + // lnk: '/photos' + // }, { txt: 'albums', lnk: '/albums' diff --git a/web/src/components/photos/carousel.astro b/web/src/components/photos/carousel.astro index a08cdb7..4eb31e1 100644 --- a/web/src/components/photos/carousel.astro +++ b/web/src/components/photos/carousel.astro @@ -38,15 +38,6 @@ const photoLinks = await Promise.all( currentPosIndicator.innerText = '1'; } - function preloadImages() { - photoLinks.forEach((url: string) => { - const preloadImg = new Image(); - preloadImg.src = url; - }); - } - - // Call preload on page load - preloadImages(); const swiper = new Swiper('.swiper', { modules: [Navigation, Keyboard, EffectFade], diff --git a/web/src/pages/albums/[title].astro b/web/src/pages/albums/[title].astro index 856dc9c..134097b 100644 --- a/web/src/pages/albums/[title].astro +++ b/web/src/pages/albums/[title].astro @@ -11,7 +11,7 @@ const images = await Promise.all( ) --- -