Skip to content

Commit dc5a4ee

Browse files
authored
fix(demo): Correct URL of the big fat button (#34)
1 parent ac7221b commit dc5a4ee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

demo/src/lib/routes/Home.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<script lang="ts">
2+
import { resolve } from '$app/paths';
23
import { isColors } from '$lib/bulma/common';
34
import Content from '$lib/bulma/Content.svelte';
45
import Hero from '$lib/bulma/Hero.svelte';
@@ -24,7 +25,7 @@
2425
fat button below.
2526
</p>
2627
<div class="has-text-centered">
27-
<a class="button is-primary is-large" href={kitCalculateHref({ preserveQuery: true }, '/demo')}>
28+
<a class="button is-primary is-large" href={kitCalculateHref({ preserveQuery: true }, resolve('/demo'))}>
2829
<i class="fa-solid fa-flag-checkered"></i>&nbsp;
2930
Start Demo
3031
</a>

0 commit comments

Comments
 (0)