Update stuff regarding to latest SvelteKit updates

This commit is contained in:
2022-08-30 09:21:02 +02:00
parent 4198d2cd1f
commit 3618414aa0
19 changed files with 108 additions and 107 deletions

View File

@@ -125,7 +125,7 @@
<ul class="globe__markers">
{#each markers as { name, slug, country, lat, lng }}
<li class="globe__marker" data-location={slug} data-lat={lat} data-lng={lng}>
<a href="/{country.slug}/{slug}" sveltekit:noscroll>
<a href="/{country.slug}/{slug}" data-sveltekit-noscroll>
<dl>
<dt class="title-small">{name}</dt>
<dd class="text-label text-label--small">{country.name}</dd>
@@ -144,7 +144,7 @@
<ul>
{#each clusterLocations as { name, slug, country }}
<li>
<a href="/{country.slug}/{slug}" sveltekit:noscroll tabindex="0">
<a href="/{country.slug}/{slug}" data-sveltekit-noscroll tabindex="0">
<Image
class="flag"
id={country.flag.id}