Update route and paths
This commit is contained in:
parent
40dd8d0fb2
commit
2644aa37f0
1 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,8 @@
|
|||
<script lang="ts">
|
||||
export let type: string;
|
||||
export let name: string;
|
||||
export let id: string;
|
||||
export let color: string;
|
||||
export const path = `/paths/${type}`;
|
||||
export const path = `/paths/${id}`;
|
||||
</script>
|
||||
|
||||
<a data-sveltekit-reload href={path} class="route-card">
|
||||
|
@ -11,7 +12,7 @@
|
|||
<div class="route-card-center">
|
||||
<div class="name">
|
||||
<div>Percorsi</div>
|
||||
<div class="bold">{type}</div>
|
||||
<div class="bold">{name}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="route-card-right" />
|
||||
|
|
Loading…
Reference in a new issue