Update route and paths

This commit is contained in:
Alessio Davoli 2023-11-27 03:58:30 +01:00
parent 40dd8d0fb2
commit 2644aa37f0

View file

@ -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" />