Compare commits
No commits in common. "616a62d4b582eff6d2125f993d565f52b582f647" and "330d19aa94a79e0678f99e6c722f9ed889c37e29" have entirely different histories.
616a62d4b5
...
330d19aa94
2 changed files with 4 additions and 8 deletions
8
frontend/src/app.d.ts
vendored
8
frontend/src/app.d.ts
vendored
|
@ -15,8 +15,7 @@ declare global {
|
|||
"icon": "",
|
||||
"created_at": null,
|
||||
"updated_at": null,
|
||||
"deleted_at": null,
|
||||
"color": string
|
||||
"deleted_at": null
|
||||
}
|
||||
interface Sport {
|
||||
"id": 1,
|
||||
|
@ -68,8 +67,5 @@ declare global {
|
|||
}
|
||||
}
|
||||
export {
|
||||
Route,
|
||||
Category,
|
||||
Sport,
|
||||
SportDetails
|
||||
Route
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// import Splash from '$lib/components/Splash.svelte';
|
||||
|
||||
export let data;
|
||||
let categories: App.Category[] = data.categories;
|
||||
let categories = data.categories;
|
||||
</script>
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
|||
<div id="welcome-message">Benvenuti a <span class="bold">Pianello Val Tidone</span></div>
|
||||
<div id="route-cards">
|
||||
{#each categories as category}
|
||||
<Path color={category.color} name="{category.name_it}" id={String(category.id)} />
|
||||
<Path color="#de0e1b" name="{category.name_it}" id="{category.id}" />
|
||||
{/each}
|
||||
</div>
|
||||
</main>
|
||||
|
|
Loading…
Reference in a new issue