[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

@@ -5,11 +5,11 @@
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="theme-color" content="#3C0576">
<meta name="mobile-web-app-capable" content="yes">
<link rel="manifest" href="/manifest.json">
<link type="text/plain" rel="author" href="/humans.txt">
<link rel="manifest" href="%svelte.assets%/manifest.json">
<link type="text/plain" rel="author" href="%svelte.assets%/humans.txt">
<link rel="icon" type="image/png" sizes="64x64" href="/images/favicon.png">
<link rel="apple-touch-icon" sizes="180x180" href="/images/siteicon.png">
<link rel="icon" type="image/png" sizes="64x64" href="%svelte.assets%/images/favicon.png">
<link rel="apple-touch-icon" sizes="180x180" href="%svelte.assets%/images/siteicon.png">
%svelte.head%
</head>

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}