Add verified badge top-right on SupplierCard, transport icons on HubCard
Some checks failed
Build Docker Image / build (push) Has been cancelled
Some checks failed
Build Docker Image / build (push) Has been cancelled
This commit is contained in:
@@ -9,10 +9,15 @@
|
||||
<Card
|
||||
padding="small"
|
||||
:interactive="linkable || selectable"
|
||||
class="relative"
|
||||
:class="[
|
||||
isSelected && 'ring-2 ring-primary ring-offset-2'
|
||||
]"
|
||||
>
|
||||
<!-- Verified badge top-right -->
|
||||
<span v-if="supplier.isVerified" class="absolute -top-2 -right-2 badge badge-neutral badge-sm">
|
||||
{{ t('catalogSupplier.badges.verified') }}
|
||||
</span>
|
||||
<div class="flex flex-col gap-1">
|
||||
<!-- Logo -->
|
||||
<div v-if="supplier.logo" class="w-12 h-12 mb-1">
|
||||
@@ -25,9 +30,6 @@
|
||||
<Text size="base" weight="semibold" class="truncate">{{ supplier.name }}</Text>
|
||||
<!-- Badges -->
|
||||
<div class="flex flex-wrap gap-1">
|
||||
<span v-if="supplier.isVerified" class="badge badge-neutral badge-dash text-xs">
|
||||
{{ t('catalogSupplier.badges.verified') }}
|
||||
</span>
|
||||
<span class="badge badge-neutral badge-dash text-xs">
|
||||
{{ reliabilityLabel }}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user