Move data-sveltekit-* attributes to parent level when possible

This commit is contained in:
2022-08-31 09:43:52 +02:00
parent 3618414aa0
commit 1de3c717b2
15 changed files with 121 additions and 125 deletions

View File

@@ -118,15 +118,6 @@
<DiscoverText />
<ListCTAs>
<li>
<BoxCTA
url="#locations"
icon="globe"
label="Discover locations"
alt="Globe"
on:click={() => smoothScroll({ hash: 'locations' })}
/>
</li>
<li>
<BoxCTA
url="/photos"
@@ -143,6 +134,14 @@
alt="Shopping bag"
/>
</li>
<li>
<BoxCTA
url="/about"
icon="compass"
label="Learn about the project"
alt="Compass"
/>
</li>
</ListCTAs>
</div>