diff --git a/apps/frontend/src/components/PlatformBadge.vue b/apps/frontend/src/components/PlatformBadge.vue new file mode 100644 index 0000000..3c6aea0 --- /dev/null +++ b/apps/frontend/src/components/PlatformBadge.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/apps/frontend/src/page/catalog/CatalogIndexPage.vue b/apps/frontend/src/page/catalog/CatalogIndexPage.vue index 14a14a8..c2e9885 100644 --- a/apps/frontend/src/page/catalog/CatalogIndexPage.vue +++ b/apps/frontend/src/page/catalog/CatalogIndexPage.vue @@ -32,12 +32,11 @@

{{ software.title }}

{{ t(`common.status.${software.status}`) }} +

{{ software.desc }}

{{ t('catalog.author') }} {{ software.author }} - - {{ t('catalog.platform') }} {{ software.platform }}
@@ -70,6 +69,7 @@ import { RouterLink } from 'vue-router' import { useI18n } from 'vue-i18n' import { useSoftwareStore } from '../../stores/software.store' import { getDefaultImageUrl, getLatestStable } from '../../lib/softwareUtils' +import PlatformBadge from '../../components/PlatformBadge.vue' import type { SoftwareEntry } from '../../lib/interfaces/software.interface' const { t } = useI18n() diff --git a/apps/frontend/src/page/catalog/CatalogShowPage.vue b/apps/frontend/src/page/catalog/CatalogShowPage.vue index 20fe021..39d7a16 100644 --- a/apps/frontend/src/page/catalog/CatalogShowPage.vue +++ b/apps/frontend/src/page/catalog/CatalogShowPage.vue @@ -12,7 +12,7 @@
{{ t(`common.status.${software.status}`) }} - {{ software.platform }} +

{{ software.title }}

{{ software.desc }}

@@ -57,7 +57,7 @@
{{ t('catalogShow.platform') }}
-
{{ software.platform }}
+
{{ t('catalogShow.license') }}
@@ -236,6 +236,7 @@ import { useSoftwareStore } from '../../stores/software.store' import { filterStableReleases, filterDevReleases } from '../../lib/softwareUtils' import type { Release, Software, SoftwareImage } from '../../lib/interfaces/software.interface' import ImageLightbox from './ImageLightbox.vue' +import PlatformBadge from '../../components/PlatformBadge.vue' const { t } = useI18n() const route = useRoute()