hide adoption UI and add country links to pray cards
remove "Not Adopted" badge from research page cards hide Adoption tab on research map and rebuild bundle remove Adopt and Engage tiles from landing page drop step number from lone Pray tile on landing page add clickable country link to pray page cards
This commit is contained in:
parent
64b8d31c1d
commit
31f555a2d4
4 changed files with 10 additions and 29 deletions
|
|
@ -349,7 +349,7 @@ function filterUUPGs() {
|
|||
newItem.wagf_region_label = highlightedValue
|
||||
} else if (parentKey === 'rop1' && !props.useSelectCard) {
|
||||
newItem.rop1_label = highlightedValue
|
||||
} else if (parentKey === 'country_code' && !props.useSelectCard) {
|
||||
} else if (parentKey === 'country_code') {
|
||||
newItem.country_label = highlightedValue
|
||||
} else if (parentKey === 'wagf_region' && !props.useSelectCard) {
|
||||
// do nothing
|
||||
|
|
@ -592,6 +592,12 @@ const showMore = computed(() => hasMore())
|
|||
</div>
|
||||
<div>
|
||||
<p class="line-height-tight" v-html="uupg.name" />
|
||||
<p v-if="uupg.country_code" class="uupg__country font-size-sm">
|
||||
<a
|
||||
class="uupg__country-link light-link"
|
||||
:href="localePath(`/countries/${countrySlug(uupg.country_code.value, uupg.country_code.label)}`)"
|
||||
><span v-html="uupg.country_label ? uupg.country_label : uupg.country_code.label" /></a>
|
||||
</p>
|
||||
<template v-if="uupg.matches">
|
||||
<p v-for="(match, mi) in uupg.matches" :key="mi" class="font-size-sm color-brand-lighter">
|
||||
<strong>{{ match.key }}</strong>: <span v-html="match.label" />
|
||||
|
|
@ -625,15 +631,6 @@ const showMore = computed(() => hasMore())
|
|||
</p>
|
||||
</template>
|
||||
</div>
|
||||
<div class="uupg_adopted">
|
||||
<div>
|
||||
<img
|
||||
:src="(uupg.adopted_by_churches && uupg.adopted_by_churches > 0) ? `${iconsUrl}/Check-GreenCircle.png` : `${iconsUrl}/RedX-Circle.png`"
|
||||
:alt="(uupg.adopted_by_churches && uupg.adopted_by_churches > 0) ? (t.adopted || '') : (t.not_adopted || '')"
|
||||
>
|
||||
<span>{{ (uupg.adopted_by_churches && uupg.adopted_by_churches > 0) ? t.adopted : t.not_adopted }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<p v-if="uupg.location_description" class="uupg__content">{{ uupg.location_description }}</p>
|
||||
<a class="uupg__more-button button compact" :href="`${researchUrl}${uupg.slug}`">{{ t.full_profile }}</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -135,29 +135,12 @@ useTextHighlight()
|
|||
<h2 class="highlight" data-highlight-last>{{ t('A simple path to faithful obedience') }}</h2>
|
||||
<div class="switcher | gap-md">
|
||||
<div class="step-card">
|
||||
<div class="step-card__number">1</div>
|
||||
<div class="step-card__content">
|
||||
<h2 class="step-card__title">{{ t('Pray') }}</h2>
|
||||
<p>{{ t('Receive daily prayer points and join believers worldwide in prayer for the unengaged peoples.') }}</p>
|
||||
</div>
|
||||
<NuxtLink :to="localePath('/pray')" class="button | compact">{{ t('Join') }}</NuxtLink>
|
||||
</div>
|
||||
<div class="step-card">
|
||||
<div class="step-card__number">2</div>
|
||||
<div class="step-card__content">
|
||||
<h2 class="step-card__title">{{ t('Adopt') }}</h2>
|
||||
<p>{{ t('Churches and networks take ownership – praying, giving, and preparing the way for gospel workers.') }}</p>
|
||||
</div>
|
||||
<NuxtLink :to="localePath('/contact-us')" class="button | compact">{{ t('Contact Us') }}</NuxtLink>
|
||||
</div>
|
||||
<div class="step-card">
|
||||
<div class="step-card__number">3</div>
|
||||
<div class="step-card__content">
|
||||
<h2 class="step-card__title">{{ t('Engage') }}</h2>
|
||||
<p>{{ t('God raises up men and women to go, serve, and proclaim Christ among the nations.') }}</p>
|
||||
</div>
|
||||
<a href="#" class="button | compact invisible-placeholder">{{ t('Commit') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -359,6 +359,7 @@ const uiStore = inject('uiStore')
|
|||
// stays warm; flip `doxaRegions: true` to bring it back).
|
||||
const FEATURES = {
|
||||
doxaRegions: true,
|
||||
adoption: false, // Adoption tab hidden per UX request; wiring kept warm (flip to true to restore)
|
||||
hamburgerMenu: false, // canonical default — emit/listen mismatch + drawer surplus
|
||||
// Per QA building-round-1 R3 A4: clear the geocoder text on tab switch by
|
||||
// default; flip to true to preserve the previous tab's query when returning.
|
||||
|
|
@ -371,7 +372,7 @@ const FEATURES = {
|
|||
// than the previous alphabetical Engagement-before-Adoption.)
|
||||
const ALL_TABS = [
|
||||
{ id: 'prayer', label: 'Prayer', colorStrategy: 'prayerProgress', legend: 'prayer', popup: 'pray', feature: null },
|
||||
{ id: 'adoption', label: 'Adoption', colorStrategy: 'adoption', legend: 'adoption', popup: 'adopt', feature: null },
|
||||
{ id: 'adoption', label: 'Adoption', colorStrategy: 'adoption', legend: 'adoption', popup: 'adopt', feature: 'adoption' },
|
||||
{ id: 'engagement', label: 'Engagement', colorStrategy: 'engagement', legend: 'engagement', popup: 'pray', feature: null, sepAfter: true },
|
||||
{ id: 'affinity-blocks', label: 'People Groups', colorStrategy: 'affinityBlock', legend: 'affinity-block', popup: 'pray', feature: null },
|
||||
{ id: 'doxa-regions', label: 'Regions', colorStrategy: 'doxaRegion', legend: 'doxa-regions', popup: 'pray', feature: 'doxaRegions' },
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue