diff --git a/apps/website/src/animations/crossfade.ts b/apps/website/src/animations/crossfade.ts index 3b38540..66205c0 100644 --- a/apps/website/src/animations/crossfade.ts +++ b/apps/website/src/animations/crossfade.ts @@ -24,4 +24,4 @@ export const [send, receive] = crossfade({ ` } } -}) \ No newline at end of file +}) diff --git a/apps/website/src/animations/easings.ts b/apps/website/src/animations/easings.ts index 7f55a49..c67d83e 100644 --- a/apps/website/src/animations/easings.ts +++ b/apps/website/src/animations/easings.ts @@ -4,4 +4,4 @@ import type { Easing } from 'motion' /** * Ease: Quart Out Array */ -export const quartOut: Easing = [.165, .84, .44, 1] \ No newline at end of file +export const quartOut: Easing = [.165, .84, .44, 1] diff --git a/apps/website/src/animations/reveal.ts b/apps/website/src/animations/reveal.ts index bc4fe29..d567906 100644 --- a/apps/website/src/animations/reveal.ts +++ b/apps/website/src/animations/reveal.ts @@ -42,4 +42,4 @@ export default (node: Element | any, { }, { amount: options.threshold, }) -} \ No newline at end of file +} diff --git a/apps/website/src/animations/transitions.ts b/apps/website/src/animations/transitions.ts index 3f3cd38..df45e23 100644 --- a/apps/website/src/animations/transitions.ts +++ b/apps/website/src/animations/transitions.ts @@ -57,4 +57,4 @@ export const revealSplit = (node: HTMLElement, { return null } } -} \ No newline at end of file +} diff --git a/apps/website/src/components/Analytics.svelte b/apps/website/src/components/Analytics.svelte index 3b7329b..d13c6d4 100644 --- a/apps/website/src/components/Analytics.svelte +++ b/apps/website/src/components/Analytics.svelte @@ -12,4 +12,4 @@ } {/if} - \ No newline at end of file + diff --git a/apps/website/src/components/Metas.svelte b/apps/website/src/components/Metas.svelte index 9d4d2f8..6995566 100644 --- a/apps/website/src/components/Metas.svelte +++ b/apps/website/src/components/Metas.svelte @@ -34,4 +34,4 @@ - \ No newline at end of file + diff --git a/apps/website/src/components/PageTransition.svelte b/apps/website/src/components/PageTransition.svelte index 9fbe958..6fd0e52 100644 --- a/apps/website/src/components/PageTransition.svelte +++ b/apps/website/src/components/PageTransition.svelte @@ -30,4 +30,4 @@ }} > - \ No newline at end of file + diff --git a/apps/website/src/components/SVGSprite.svelte b/apps/website/src/components/SVGSprite.svelte index e71cd94..4526bce 100644 --- a/apps/website/src/components/SVGSprite.svelte +++ b/apps/website/src/components/SVGSprite.svelte @@ -35,4 +35,4 @@ - \ No newline at end of file + diff --git a/apps/website/src/components/SmoothScroll.svelte b/apps/website/src/components/SmoothScroll.svelte index 89b1d22..46dc94d 100644 --- a/apps/website/src/components/SmoothScroll.svelte +++ b/apps/website/src/components/SmoothScroll.svelte @@ -34,4 +34,4 @@ $smoothScroll.destroy() } }) - \ No newline at end of file + diff --git a/apps/website/src/components/SplitText.svelte b/apps/website/src/components/SplitText.svelte index 94df918..6774394 100644 --- a/apps/website/src/components/SplitText.svelte +++ b/apps/website/src/components/SplitText.svelte @@ -17,7 +17,6 @@ {#each split as word, i} {word}{#if word.includes('\n')}
{/if} - {#if i < split.length - 1}{/if} {/each}
@@ -39,4 +38,4 @@ {char} {/each} -{/if} \ No newline at end of file +{/if} diff --git a/apps/website/src/components/atoms/AboutGridPhoto.svelte b/apps/website/src/components/atoms/AboutGridPhoto.svelte index 0a0a180..664e37f 100644 --- a/apps/website/src/components/atoms/AboutGridPhoto.svelte +++ b/apps/website/src/components/atoms/AboutGridPhoto.svelte @@ -38,4 +38,4 @@ ratio={1.5} {alt} /> - \ No newline at end of file + diff --git a/apps/website/src/components/atoms/Badge.svelte b/apps/website/src/components/atoms/Badge.svelte index b4ee61c..1ad95fd 100644 --- a/apps/website/src/components/atoms/Badge.svelte +++ b/apps/website/src/components/atoms/Badge.svelte @@ -9,4 +9,4 @@
{text} -
\ No newline at end of file + diff --git a/apps/website/src/components/atoms/BoxCTA.svelte b/apps/website/src/components/atoms/BoxCTA.svelte index 9650af1..f41cb8e 100644 --- a/apps/website/src/components/atoms/BoxCTA.svelte +++ b/apps/website/src/components/atoms/BoxCTA.svelte @@ -18,4 +18,4 @@ {label} - \ No newline at end of file + diff --git a/apps/website/src/components/atoms/Button.svelte b/apps/website/src/components/atoms/Button.svelte index 4cf58ce..262d361 100644 --- a/apps/website/src/components/atoms/Button.svelte +++ b/apps/website/src/components/atoms/Button.svelte @@ -45,7 +45,6 @@ href={url} class={classes} {target} {rel} data-sveltekit-noscroll={isExternal || isProtocol ? 'off' : ''} - {disabled} tabindex="0" on:click > @@ -57,4 +56,4 @@ {/if} -{/if} \ No newline at end of file +{/if} diff --git a/apps/website/src/components/atoms/ButtonCart.svelte b/apps/website/src/components/atoms/ButtonCart.svelte index ee70977..d3763c2 100644 --- a/apps/website/src/components/atoms/ButtonCart.svelte +++ b/apps/website/src/components/atoms/ButtonCart.svelte @@ -24,4 +24,4 @@ {$cartAmount} {/if} - \ No newline at end of file + diff --git a/apps/website/src/components/atoms/ButtonCircle.svelte b/apps/website/src/components/atoms/ButtonCircle.svelte index bac24a8..7307de7 100644 --- a/apps/website/src/components/atoms/ButtonCircle.svelte +++ b/apps/website/src/components/atoms/ButtonCircle.svelte @@ -41,4 +41,4 @@ {/if} -{/if} \ No newline at end of file +{/if} diff --git a/apps/website/src/components/atoms/DiscoverText.svelte b/apps/website/src/components/atoms/DiscoverText.svelte index e8eb65f..23156a1 100644 --- a/apps/website/src/components/atoms/DiscoverText.svelte +++ b/apps/website/src/components/atoms/DiscoverText.svelte @@ -12,4 +12,4 @@ Discover {count.photos} homes
from {count.locations} places in {count.countries} countries -

\ No newline at end of file +

diff --git a/apps/website/src/components/atoms/Icon.svelte b/apps/website/src/components/atoms/Icon.svelte index 2b9fcc1..f4bb6a4 100644 --- a/apps/website/src/components/atoms/Icon.svelte +++ b/apps/website/src/components/atoms/Icon.svelte @@ -7,4 +7,4 @@ - \ No newline at end of file + diff --git a/apps/website/src/components/atoms/IconArrow.svelte b/apps/website/src/components/atoms/IconArrow.svelte index 21595e6..71ba346 100644 --- a/apps/website/src/components/atoms/IconArrow.svelte +++ b/apps/website/src/components/atoms/IconArrow.svelte @@ -12,4 +12,4 @@ class:arrow--flip={flip} > - \ No newline at end of file + diff --git a/apps/website/src/components/atoms/IconEarth.svelte b/apps/website/src/components/atoms/IconEarth.svelte index a367feb..6ccb07f 100644 --- a/apps/website/src/components/atoms/IconEarth.svelte +++ b/apps/website/src/components/atoms/IconEarth.svelte @@ -41,4 +41,4 @@ {/if} - \ No newline at end of file + diff --git a/apps/website/src/components/atoms/Image.svelte b/apps/website/src/components/atoms/Image.svelte index 1a5e2ed..405bda6 100644 --- a/apps/website/src/components/atoms/Image.svelte +++ b/apps/website/src/components/atoms/Image.svelte @@ -10,7 +10,7 @@ export let ratio: number = undefined export let alt: string export let lazy = true - export let decoding: "auto" | "sync" | "async" = "auto" + export let decoding: 'auto' | 'sync' | 'async' = 'auto' interface Sizes { small?: { width?: number, height?: number } @@ -50,16 +50,16 @@ $: imgSrc = id ? getAssetUrlKey(id, `${sizeKey}-small-jpg`) : src ? src : undefined $: srcSet = { // WebP - webp: - sizes ? [ + webp: sizes + ? [ `${getAssetUrlKey(id, `${sizeKey}-small-webp`)} 345w`, sizes.medium ? `${getAssetUrlKey(id, `${sizeKey}-medium-webp`)} 768w` : null, sizes.large ? `${getAssetUrlKey(id, `${sizeKey}-large-webp`)} 1280w` : null, ] : [getAssetUrlKey(id, `${sizeKey}-webp`)], // JPG - jpg: - sizes ? [ + jpg: sizes + ? [ `${getAssetUrlKey(id, `${sizeKey}-small-jpg`)} 345w`, sizes.medium ? `${getAssetUrlKey(id, `${sizeKey}-medium-jpg`)} 768w` : null, sizes.large ? `${getAssetUrlKey(id, `${sizeKey}-large-jpg`)} 1280w` : null, @@ -83,4 +83,4 @@ loading={lazy ? 'lazy' : undefined} {decoding} /> - \ No newline at end of file + diff --git a/apps/website/src/components/atoms/ScrollingTitle.svelte b/apps/website/src/components/atoms/ScrollingTitle.svelte index 22f8a2f..ce1b1ce 100644 --- a/apps/website/src/components/atoms/ScrollingTitle.svelte +++ b/apps/website/src/components/atoms/ScrollingTitle.svelte @@ -69,4 +69,4 @@ use:reveal={revealOptions} > - \ No newline at end of file + diff --git a/apps/website/src/components/atoms/SiteTitle.svelte b/apps/website/src/components/atoms/SiteTitle.svelte index 82e985e..b2a347a 100644 --- a/apps/website/src/components/atoms/SiteTitle.svelte +++ b/apps/website/src/components/atoms/SiteTitle.svelte @@ -34,4 +34,4 @@ Of The World -{/if} \ No newline at end of file +{/if} diff --git a/apps/website/src/components/layouts/PosterLayout.svelte b/apps/website/src/components/layouts/PosterLayout.svelte index f4b8b91..068df11 100644 --- a/apps/website/src/components/layouts/PosterLayout.svelte +++ b/apps/website/src/components/layouts/PosterLayout.svelte @@ -97,7 +97,7 @@ {#if product.photos_preview.length}
- {#each product.photos_preview.slice(0, 3) as { directus_files_id}, index} + {#each product.photos_preview.slice(0, 3) as { directus_files_id }, index} {lastPreviewPhoto.title} {/if} - \ No newline at end of file + diff --git a/apps/website/src/components/molecules/CartItem.svelte b/apps/website/src/components/molecules/CartItem.svelte index 15f42be..7a77455 100644 --- a/apps/website/src/components/molecules/CartItem.svelte +++ b/apps/website/src/components/molecules/CartItem.svelte @@ -66,4 +66,4 @@
- \ No newline at end of file + diff --git a/apps/website/src/components/molecules/EmailForm.svelte b/apps/website/src/components/molecules/EmailForm.svelte index 2187b41..d0190dc 100644 --- a/apps/website/src/components/molecules/EmailForm.svelte +++ b/apps/website/src/components/molecules/EmailForm.svelte @@ -103,4 +103,4 @@

{formMessages[formStatus.message]}

{/if} - \ No newline at end of file + diff --git a/apps/website/src/components/molecules/Heading.svelte b/apps/website/src/components/molecules/Heading.svelte index c1b0d1b..ff1888d 100644 --- a/apps/website/src/components/molecules/Heading.svelte +++ b/apps/website/src/components/molecules/Heading.svelte @@ -14,4 +14,4 @@
{@html text}
- \ No newline at end of file + diff --git a/apps/website/src/components/molecules/House.svelte b/apps/website/src/components/molecules/House.svelte index 10f5430..f7c977f 100644 --- a/apps/website/src/components/molecules/House.svelte +++ b/apps/website/src/components/molecules/House.svelte @@ -63,4 +63,4 @@ {index} - \ No newline at end of file + diff --git a/apps/website/src/components/molecules/Location.svelte b/apps/website/src/components/molecules/Location.svelte index 5fcc9ba..c881117 100644 --- a/apps/website/src/components/molecules/Location.svelte +++ b/apps/website/src/components/molecules/Location.svelte @@ -31,7 +31,7 @@ // Detect if location has new content const seenLocationDate = dayjs(parsedSeenLocations[location.id]) - const isLocationSeen = parsedSeenLocations?.hasOwnProperty(location.id) + const isLocationSeen = location.id in parsedSeenLocations // Define if location is has new photos if (seenLocationDate && isLocationSeen) { @@ -48,9 +48,9 @@ * Moving cursor over */ const offset = spring({ x: 0, y: 0 }, { - stiffness: 0.075, - damping: 0.9 - }) + stiffness: 0.075, + damping: 0.9 + }) const handleMouseMove = ({ clientX }: MouseEvent) => { const { width, left } = locationEl.getBoundingClientRect() const moveProgress = (clientX - left) / width // 0 to 1 diff --git a/apps/website/src/components/molecules/NewsletterIssue.svelte b/apps/website/src/components/molecules/NewsletterIssue.svelte index 28491c1..a0d3fc8 100644 --- a/apps/website/src/components/molecules/NewsletterIssue.svelte +++ b/apps/website/src/components/molecules/NewsletterIssue.svelte @@ -30,4 +30,4 @@ - \ No newline at end of file + diff --git a/apps/website/src/components/molecules/NotificationCart.svelte b/apps/website/src/components/molecules/NotificationCart.svelte index ec0cd4d..1403ec4 100644 --- a/apps/website/src/components/molecules/NotificationCart.svelte +++ b/apps/website/src/components/molecules/NotificationCart.svelte @@ -19,8 +19,9 @@
{title} @@ -29,4 +30,4 @@

{title}

{name}

-
\ No newline at end of file + diff --git a/apps/website/src/components/molecules/Pagination.svelte b/apps/website/src/components/molecules/Pagination.svelte index d4c0035..de5c70c 100644 --- a/apps/website/src/components/molecules/Pagination.svelte +++ b/apps/website/src/components/molecules/Pagination.svelte @@ -20,4 +20,4 @@ - \ No newline at end of file + diff --git a/apps/website/src/components/molecules/PhotoCard.svelte b/apps/website/src/components/molecules/PhotoCard.svelte index 323dcb8..dc4e1ef 100644 --- a/apps/website/src/components/molecules/PhotoCard.svelte +++ b/apps/website/src/components/molecules/PhotoCard.svelte @@ -67,4 +67,4 @@ {lazy} /> {/if} - \ No newline at end of file + diff --git a/apps/website/src/components/molecules/PostCard.svelte b/apps/website/src/components/molecules/PostCard.svelte index d12c07f..631d58a 100644 --- a/apps/website/src/components/molecules/PostCard.svelte +++ b/apps/website/src/components/molecules/PostCard.svelte @@ -45,4 +45,4 @@
  • {location}{region ? `, ${region}` : ''}
  • - \ No newline at end of file + diff --git a/apps/website/src/components/molecules/Poster.svelte b/apps/website/src/components/molecules/Poster.svelte index 4b4b9f9..661d483 100644 --- a/apps/website/src/components/molecules/Poster.svelte +++ b/apps/website/src/components/molecules/Poster.svelte @@ -47,4 +47,4 @@ on:click={() => addToCart(product)} /> - \ No newline at end of file + diff --git a/apps/website/src/components/molecules/ProcessStep.svelte b/apps/website/src/components/molecules/ProcessStep.svelte index 19af9d3..f54b28e 100644 --- a/apps/website/src/components/molecules/ProcessStep.svelte +++ b/apps/website/src/components/molecules/ProcessStep.svelte @@ -36,7 +36,7 @@ alt={image.title} /> {:else if video && video.mp4 && video.webm} -