refactor(peer-support): update remaining UI references (Phase 2)
Dashboard: replace "Peer Support" card and "Book a peer session" quick action with community ecology links. Welcome: replace "Peer Support" resource card with "Community Ecology" heading and link to /ecology. Members index: rename active filter tag from "Offering Peer Support" to "Offering Support". The underlying filter still works correctly (queries communityEcology.offerPeerSupport).
This commit is contained in:
parent
0b3896d984
commit
b234b8483f
3 changed files with 14 additions and 14 deletions
|
|
@ -117,16 +117,16 @@
|
||||||
<div class="content-block">
|
<div class="content-block">
|
||||||
<div class="section-label">Quick Actions</div>
|
<div class="section-label">Quick Actions</div>
|
||||||
<NuxtLink
|
<NuxtLink
|
||||||
to="/members?peerSupport=true"
|
to="/ecology"
|
||||||
class="quick-action"
|
class="quick-action"
|
||||||
:class="{ disabled: !canPeerSupport }"
|
:class="{ disabled: !canPeerSupport }"
|
||||||
:title="
|
:title="
|
||||||
!canPeerSupport
|
!canPeerSupport
|
||||||
? 'Complete your membership to book peer sessions'
|
? 'Complete your membership to access community ecology'
|
||||||
: ''
|
: ''
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
Book a peer session<span class="arrow">→</span>
|
Community ecology<span class="arrow">→</span>
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
<NuxtLink to="/member/profile" class="quick-action">
|
<NuxtLink to="/member/profile" class="quick-action">
|
||||||
Update your profile<span class="arrow">→</span>
|
Update your profile<span class="arrow">→</span>
|
||||||
|
|
@ -188,15 +188,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content-block">
|
<div class="content-block">
|
||||||
<div class="section-label">Peer Support</div>
|
<div class="section-label">Community</div>
|
||||||
<DashedBox>
|
<DashedBox>
|
||||||
<p class="peer-text">
|
<p class="peer-text">
|
||||||
Interested in offering peer support? Set up your profile to
|
Connect with other members through shared interests and
|
||||||
connect with other members who share your interests and
|
cooperative topics.
|
||||||
experience.
|
|
||||||
</p>
|
</p>
|
||||||
<NuxtLink to="/member/profile" class="section-link">
|
<NuxtLink to="/ecology" class="section-link">
|
||||||
Set up peer support →
|
Browse community ecology →
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
</DashedBox>
|
</DashedBox>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -111,7 +111,7 @@
|
||||||
v-if="peerSupportFilter && peerSupportFilter !== 'all'"
|
v-if="peerSupportFilter && peerSupportFilter !== 'all'"
|
||||||
class="af-tag"
|
class="af-tag"
|
||||||
>
|
>
|
||||||
Offering Peer Support
|
Offering Support
|
||||||
<button type="button" @click="clearPeerSupportFilter">×</button>
|
<button type="button" @click="clearPeerSupportFilter">×</button>
|
||||||
</span>
|
</span>
|
||||||
<span v-for="slug in selectedCraftTags" :key="'c-' + slug" class="af-tag">
|
<span v-for="slug in selectedCraftTags" :key="'c-' + slug" class="af-tag">
|
||||||
|
|
|
||||||
|
|
@ -225,18 +225,19 @@
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h4 class="font-semibold text-guild-100 mb-1">
|
<h4 class="font-semibold text-guild-100 mb-1">
|
||||||
Peer Support
|
Community Ecology
|
||||||
</h4>
|
</h4>
|
||||||
<p class="text-sm text-guild-400 mb-2">
|
<p class="text-sm text-guild-400 mb-2">
|
||||||
Connect 1:1 with community members for advice and support.
|
Connect with community members through shared interests and
|
||||||
|
cooperative topics.
|
||||||
</p>
|
</p>
|
||||||
<UButton
|
<UButton
|
||||||
to="/members?peerSupport=true"
|
to="/ecology"
|
||||||
variant="link"
|
variant="link"
|
||||||
size="sm"
|
size="sm"
|
||||||
class="p-0"
|
class="p-0"
|
||||||
>
|
>
|
||||||
Find Peers →
|
Browse Community →
|
||||||
</UButton>
|
</UButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue