✨ completed routing for questions
This commit is contained in:
parent
7e00f24fbd
commit
b22140ba3f
11 changed files with 115 additions and 47 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Reference in a new issue