diff --git a/src/modules/activities/components/ActivityCard.vue b/src/modules/activities/components/ActivityCard.vue index 442f423..7c156e6 100644 --- a/src/modules/activities/components/ActivityCard.vue +++ b/src/modules/activities/components/ActivityCard.vue @@ -52,13 +52,6 @@ const priceDisplay = computed(() => { return `${info.price} ${info.currency}` }) -const placeholderBg = computed(() => { - // Generate a consistent hue from the activity title - const hash = props.activity.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.activity 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', activity)" > - -
+ +
-
- -
{
+ +
+ + {{ categoryLabel }} + + + {{ priceDisplay }} + + + + Yours + + + {{ activity.lnbitsStatus === 'rejected' ? 'Rejected' : 'Pending review' }} + + + + {{ t('activities.filters.past', 'Past') }} + +
+