Compare commits
2 commits
b7a5609e91
...
988e07f869
Author | SHA1 | Date | |
---|---|---|---|
988e07f869 | |||
d44f97ec94 |
2 changed files with 4 additions and 1 deletions
3
frontend/src/app.d.ts
vendored
3
frontend/src/app.d.ts
vendored
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue