# hostinger/trunk/vue-frontend/src/components/NoResults.vue

Hostinger Tools, version trunk. 41 lines.

- Page: https://pluginprobe.com/plugins/hostinger/trunk/code/vue-frontend/src/components/NoResults.vue
- Raw: https://pluginprobe.com/plugins/hostinger/trunk/raw/vue-frontend/src/components/NoResults.vue
- Modified: 2025-09-09T07:18:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/hostinger/trunk/code/vue-frontend/src/components/NoResults.vue#L10-L20`.

```vue
<script setup lang="ts">
interface Props {
	title?: string;
	subtitle?: string;
	imageSrc?: string;
	hasImage?: boolean;
}
withDefaults(defineProps<Props>(), {
	title: hst_affiliate_data.translations.nothing_found,
	subtitle: hst_affiliate_data.translations.try_other_results,
	imageSrc: hst_affiliate_data.asset_url + "assets/img/no-search-results.svg",
	hasImage: true
});
</script>

<template>
  <div class="d-flex justify-content-center">
    <div class="text-center">
      <img
        v-if="hasImage"
        :src="imageSrc"
        alt="nothing-found"
        class="h-mb-8"
      >
      <h3
        v-if="title"
        v-trans
      >
        {{ title }}
      </h3>
      <p
        v-if="subtitle"
        v-trans
      >
        {{ subtitle }}
      </p>
      <slot />
    </div>
  </div>
</template>

```
