[chore] Update npm packages and SvelteKit config

This commit is contained in:
2022-03-13 19:55:05 +01:00
parent df17b0cff1
commit 3841bc2ced
5 changed files with 186 additions and 176 deletions

View File

@@ -89,13 +89,15 @@
{#if location.photos.length}
<div class="location__photos">
{#each location.photos as { image }, index}
<Image
class={index === photoIndex ? 'is-visible' : null}
id={image.id}
sizeKey="photo-thumbnail"
width={340} height={226}
alt={image.title}
/>
{#if image}
<Image
class={index === photoIndex ? 'is-visible' : null}
id={image.id}
sizeKey="photo-thumbnail"
width={340} height={226}
alt={image.title}
/>
{/if}
{/each}
</div>
{/if}