diff --git a/apps/website/src/routes/(site)/[country]/[location]/[photo]/+page.svelte b/apps/website/src/routes/(site)/[country]/[location]/[photo]/+page.svelte index 48cef1d..3eadef1 100644 --- a/apps/website/src/routes/(site)/[country]/[location]/[photo]/+page.svelte +++ b/apps/website/src/routes/(site)/[country]/[location]/[photo]/+page.svelte @@ -224,14 +224,14 @@ */ const animation = timeline([ // First photo - ['.photo-page__picture.is-1', { + ['.picture.is-1', { y: [24, 0], opacity: [0, 1], }, { duration: 0.9, }], // Other photos - ['.photo-page__picture:not(.is-1)', { + ['.picture:not(.is-1)', { x: ['-15%', '0%'], opacity: [0, 1], }, { @@ -241,13 +241,13 @@ }], // Prev/Next buttons - ['.photo-page__controls .prev', { + ['.controls .prev button', { x: [-16, 0], opacity: [0, 1], }, { at: 0.45, }], - ['.photo-page__controls .next', { + ['.controls .next button', { x: [16, 0], opacity: [0, 1], }, { @@ -255,7 +255,7 @@ }], // Infos - ['.photo-page__info > *', { + ['.info > *', { y: [24, 0], opacity: [0, 1], }, { @@ -264,7 +264,7 @@ }], // Index - ['.photo-page__index', { + ['.index', { opacity: [0, 1], }, { at: 0.6, @@ -272,7 +272,7 @@ duration: 0.9, }], // Fly each number - ['.photo-page__index .char', { + ['.index .char', { y: ['300%', 0], }, { at: 1.1, @@ -306,7 +306,7 @@
-

Tap for fullscreen

+

Tap for fullscreen

-