completed routing for questions

This commit is contained in:
haraldnilsen 2024-01-04 19:40:37 +01:00
parent 7e00f24fbd
commit b22140ba3f
11 changed files with 115 additions and 47 deletions

View file

@ -1,6 +1,5 @@
<script lang="ts">
export let text: string;
export let url: string;
export let filled = false;
export let onclick: () => {};
@ -11,4 +10,4 @@
font-bold uppercase border-primary border-2 rounded-full px-8 py-3`
</script>
<a href={url}><button class={style} on:click={onclick}>{text}</button></a>
<button class={style} on:click={onclick}>{text}</button>