diff --git a/astro/src/components/bikes/BikesSearchList.astro b/astro/src/components/bikes/BikesSearchList.astro index f45c17f..4035054 100644 --- a/astro/src/components/bikes/BikesSearchList.astro +++ b/astro/src/components/bikes/BikesSearchList.astro @@ -1,6 +1,7 @@ --- import type { BikesSearchCardProps } from "@components/cards/BikesSearchCard.astro"; import BikesSearchCard from "@components/cards/BikesSearchCard.astro"; +import NoBikesFound from "@components/bikes/NoBikesFound.astro"; export interface BikesSearchListProps { items: BikesSearchCardProps[]; @@ -24,10 +25,6 @@ const { items = [], class: classes } = Astro.props as BikesSearchListProps; ))} ) : ( - <> -

- Nothing was found on given query 😢 -

- + ) } diff --git a/astro/src/components/cards/BikesCard.astro b/astro/src/components/cards/BikesCard.astro index e841d98..efa831e 100644 --- a/astro/src/components/cards/BikesCard.astro +++ b/astro/src/components/cards/BikesCard.astro @@ -135,7 +135,7 @@ const formattedMatchScore = matchScore ? (matchScore * 100).toFixed(0) : null; class="block w-full text-center leading-5 rounded-md bg-primary-600 py-2 px-4 text-white text-sm" href={localizePath("/report/[id]").replace("[id]", id)} > - {t("homepage.view_report", "View Report")} + {t("components.listing_card.view_report", "View Report")} diff --git a/astro/src/components/cards/BikesSearchCard.astro b/astro/src/components/cards/BikesSearchCard.astro index 93d9d34..42706b8 100644 --- a/astro/src/components/cards/BikesSearchCard.astro +++ b/astro/src/components/cards/BikesSearchCard.astro @@ -109,7 +109,7 @@ const imgSrc = `/photos/${id}/${filename_download}`; class="block w-full text-center leading-5 rounded-md bg-primary-600 py-2 px-4 text-white text-sm" href={localizePath("/report/[id]").replace("[id]", report_id)} > - {t("homepage.view_report", "View Report")} + {t("components.listing_card.view_report", "View Report")}