refactor: update Button to always use a size, determine tag from url

This commit is contained in:
2023-06-11 21:28:47 +02:00
parent 1360b095be
commit 9c329b5ff7
10 changed files with 37 additions and 25 deletions

View File

@@ -104,7 +104,12 @@
{settings.description}
</p>
<Button url="#locations" text="Explore locations" on:click={() => $smoothScroll.scrollTo('#locations', { duration: 2 })}>
<Button
size="medium"
url="#locations"
text="Explore locations"
on:click={() => $smoothScroll.scrollTo('#locations', { duration: 2 })}
>
<IconEarth animate={true} />
</Button>
</div>