Skip to content

Commit c53dc7b

Browse files
committed
Restore matchmaking card introductions and align volunteer text source.
Show description text on directory cards again and map volunteer card copy to the same Introduction source used on profile details. Made-with: Cursor
1 parent 09165f9 commit c53dc7b

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

resources/js/components/matchmaking/MatchMakingToolForm.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,8 @@ export default {
476476
...result,
477477
name: `${item.first_name || ''} ${item.last_name || ''}`.trim(),
478478
location: item.location,
479-
// Keep cards concise for individuals: show only name + location.
480-
description: '',
479+
// Keep card introduction aligned with profile Introduction source.
480+
description: item.why_volunteering || item.description || '',
481481
};
482482
}
483483

resources/js/components/matchmaking/ToolCard.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@
5656
{{ tool.location }}
5757
</div>
5858

59+
<div
60+
v-if="tool.description"
61+
class="text-slate-500 text-[16px] leading-[22px] mb-2 overflow-hidden"
62+
style="display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5"
63+
>
64+
{{ tool.description }}
65+
</div>
66+
5967
<div class="mt-auto flex-shrink-0 h-[56px]">
6068
<a
6169
class="flex justify-center items-center gap-2 text-[#1C4DA1] border-solid border-2 border-[#1C4DA1] rounded-full py-3 px-8 font-semibold text-lg transition-all duration-300 hover:bg-[#E8EDF6] group"

0 commit comments

Comments
 (0)