Commit 3949fe94 authored by Christophe Benz's avatar Christophe Benz
Browse files

Use Smelte 0.1.6 new <Button href="">

parent a0f2d0b2
......@@ -6180,9 +6180,9 @@
}
},
"smelte": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/smelte/-/smelte-0.1.5.tgz",
"integrity": "sha512-6OMWE7n2hPLwVUtqDKLqn9pclANKOSncph1AsFfx9TZYPEydJaV45lZ4Bxjjyis65Wr2PZrWMmLr1qterkoDdQ==",
"version": "0.1.6",
"resolved": "https://registry.npmjs.org/smelte/-/smelte-0.1.6.tgz",
"integrity": "sha512-CWIGyo76PLW7D3pOcQoh+OLs9pV1MTUrYxICyQSoI2cvI35m7g7pF+1Kmwj+9Vpdkxhrh0QH7B1BA+kf88WdrA==",
"dev": true,
"requires": {
"svelte-waypoint": "^0.1.2",
......
......@@ -37,9 +37,9 @@
</div>
{/if}
{/each}
<a class="ml-auto" href={url} target="_blank">
<Button text>View</Button>
</a>
<div class="ml-auto">
<Button text href={url} target="_blank">View</Button>
</div>
</div>
{/if}
</div>
......
......@@ -76,9 +76,9 @@
{/if}
{#if callToActionButtonTitle && callToActionButtonURL}
<div class="my-8">
<a href={callToActionButtonURL} target="_blank">
<Button>{callToActionButtonTitle}</Button>
</a>
<Button href={callToActionButtonURL} target="_blank">
{callToActionButtonTitle}
</Button>
</div>
{/if}
</div>
......@@ -96,9 +96,7 @@
<Cards class="my-8" data={cardsData} />
{/if}
<div class="flex justify-center my-8">
<a href={pageSlug}>
<Button>{buttonTitle}</Button>
</a>
<Button href={pageSlug}>{buttonTitle}</Button>
</div>
</div>
{/each}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment