Compare commits

...

2 commits

Author SHA1 Message Date
988e07f869 Add image to route
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-12-22 15:34:25 +01:00
d44f97ec94 Add notation on typdef 2023-12-22 15:34:02 +01:00
2 changed files with 4 additions and 1 deletions

View file

@ -61,6 +61,9 @@ declare global {
cover: string;
name_it: string;
name_en: string;
/* Sometimes from API comes 'title' instead of 'name' :c */
title_it: string;
title_en: string;
description_it: string;
description_en: string;
route_category_id: number;

View file

@ -5,7 +5,7 @@
</script>
<a href="/routes/{route.id}">
<div id="image" style:background-image="url({route.cover})" />
<div id="image" style:background-image="url({PUBLIC_BACKEND_URL}{route.cover})" />
<div id='path-holder'>
<p class='path-name'>{route.title_it}</p>
</div>