diff --git a/src/modules/events/components/EventCard.vue b/src/modules/events/components/EventCard.vue index 694df6a..26ec0cf 100644 --- a/src/modules/events/components/EventCard.vue +++ b/src/modules/events/components/EventCard.vue @@ -52,13 +52,6 @@ const priceDisplay = computed(() => { return `${info.price} ${info.currency}` }) -const placeholderBg = computed(() => { - // Generate a consistent hue from the event title - const hash = props.event.title.split('').reduce((acc, char) => acc + char.charCodeAt(0), 0) - const hue = hash % 360 - return `hsl(${hue}, 40%, 85%)` -}) - const isPast = computed(() => { const a = props.event const end = a.endDate ?? a.startDate @@ -72,22 +65,18 @@ const isPast = computed(() => { class="overflow-hidden cursor-pointer hover:shadow-lg transition-shadow duration-200 flex flex-col" @click="emit('click', event)" > - -
+ +
-
- -
{
+ +
+ + {{ categoryLabel }} + + + {{ priceDisplay }} + + + + Yours + + + {{ event.lnbitsStatus === 'rejected' ? 'Rejected' : 'Pending review' }} + + + + {{ t('events.filters.past', 'Past') }} + +
+