diff --git a/app/pages/regions/index.vue b/app/pages/regions/index.vue index b60af04c..0dcf7ef4 100644 --- a/app/pages/regions/index.vue +++ b/app/pages/regions/index.vue @@ -31,6 +31,10 @@ function summaryLine(region: RegionSummary): string { .replace('%countries%', formatNumber(region.countryCount)) } +function dashboardLink(region: RegionSummary): string { + return t('See %region% dashboard').replace('%region%', region.label || t('Other')) +} + useSeoMeta({ title: () => `${t('Regions')} — Doxa`, description: () => t('Find unreached people groups by region and country.') @@ -89,6 +93,20 @@ useTextHighlight() +
@@ -107,9 +125,8 @@ useTextHighlight() .region-card__header { display: flex; - flex-wrap: wrap; - align-items: center; - gap: var(--spacing-2xs) var(--spacing-lg); + flex-direction: column; + gap: var(--spacing-2xs); padding: var(--spacing-md) clamp(var(--spacing-md), 4vw, var(--spacing-2xl)); background-color: var(--color-surface-brand); color: var(--color-text-on-brand); @@ -153,4 +170,10 @@ useTextHighlight() .countries-grid a:hover { text-decoration: underline; } + +.region-card__footer { + display: flex; + justify-content: flex-end; + margin-top: var(--spacing-lg); +} diff --git a/app/utils/nav.ts b/app/utils/nav.ts index f78ecc63..6ce27c96 100644 --- a/app/utils/nav.ts +++ b/app/utils/nav.ts @@ -28,9 +28,9 @@ export const FOOTER_NAV: NavItem[] = [ export const SECONDARY_NAV: NavItem[] = [ { key: 'About', to: '/about' }, { key: 'Research', to: '/research' }, - { key: 'Regions', to: '/regions' }, { key: 'Pray', to: '/pray' }, { key: 'Adopt', to: '/adopt' }, { key: 'Resources', to: '/resources' }, + { key: 'Regions', to: '/regions' }, { key: 'Give', href: 'https://giving.ag.org/donate/600001-6C2327?utm_source=direct_link' } ] diff --git a/i18n/locales/ar/common.json b/i18n/locales/ar/common.json index e58db792..949f7ded 100644 --- a/i18n/locales/ar/common.json +++ b/i18n/locales/ar/common.json @@ -14,6 +14,7 @@ "People Groups": "مجموعات بشرية", "people groups engaged": "مجموعات بشرية مُنخرِطة", "Regions": "المناطق", + "See %region% dashboard": "عرض لوحة معلومات %region%", "There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.": "توجد %count% مجموعات بشرية في %country%. تحقق من الخريطة لمعرفة المجموعات البشرية الواقعة على حدود هذه الدولة أيضًا.", "A church-led commitment to pray, give, and send so that gospel access begins": "الكنيسة تقودها روح الإلتزام بالصلاة والعطاء والإرسال لتفتح أبواب الوصول بالإنجيل", "A clean, elegant theme for DOXA Life - Engaging every people group by 2033": "تصميم أنيق وبسيط لمنصة حياة دوكسا - للوصول إلى جميع الناس بحلول عام 2033", diff --git a/i18n/locales/de/common.json b/i18n/locales/de/common.json index b7c707dd..b7844add 100644 --- a/i18n/locales/de/common.json +++ b/i18n/locales/de/common.json @@ -14,6 +14,7 @@ "People Groups": "Volksgruppen", "people groups engaged": "engagierte Volksgruppen", "Regions": "Regionen", + "See %region% dashboard": "Dashboard anzeigen: %region%", "There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.": "In %country% gibt es %count% Volksgruppen. Sieh auch auf der Karte nach den Volksgruppen an der Grenze dieses Landes.", "A church-led commitment to pray, give, and send so that gospel access begins": "Verpflichtung einer Ortsgemeinde zum Beten, Geben und Senden, damit ein Volk Zugang zum Evangelium erhält", "A clean, elegant theme for DOXA Life - Engaging every people group by 2033": "Ein klares, elegantes Thema für DOXA Life – Bis 2033 alle Volksgruppen erreichen", diff --git a/i18n/locales/en/common.json b/i18n/locales/en/common.json index d95b04b9..ddecae1d 100644 --- a/i18n/locales/en/common.json +++ b/i18n/locales/en/common.json @@ -216,6 +216,7 @@ "Search": "Search", "Search names, country/continent, religions...": "Search names, country/continent, religions...", "Search people groups or locations": "Search people groups or locations", + "See %region% dashboard": "See %region% dashboard", "See All": "See All", "Select": "Select", "Select Country": "Select Country", diff --git a/i18n/locales/es/common.json b/i18n/locales/es/common.json index 4ed23707..0575bd7a 100644 --- a/i18n/locales/es/common.json +++ b/i18n/locales/es/common.json @@ -14,6 +14,7 @@ "People Groups": "Grupos Étnicos", "people groups engaged": "grupos étnicos comprometidos", "Regions": "Regiones", + "See %region% dashboard": "Ver el panel de %region%", "There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.": "Hay %count% grupos étnicos en %country%. Consulta también el mapa para ver los grupos étnicos en la frontera de este país.", "A church-led commitment to pray, give, and send so that gospel access begins": "Un compromiso impulsado por la iglesia para orar, dar y enviar, con el fin de que el evangelio sea accesible", "A clean, elegant theme for DOXA Life - Engaging every people group by 2033": "Un tema limpio y elegante para DOXA Life: involucrar a todos los grupos de personas para 2033", diff --git a/i18n/locales/fr/common.json b/i18n/locales/fr/common.json index 23fd9ae2..b348b7a7 100644 --- a/i18n/locales/fr/common.json +++ b/i18n/locales/fr/common.json @@ -14,6 +14,7 @@ "People Groups": "Peuples", "people groups engaged": "peuples engagés", "Regions": "Régions", + "See %region% dashboard": "Voir le tableau de bord : %region%", "There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.": "Il y a %count% peuples en %country%. Consultez la carte pour découvrir également les peuples situés à la frontière de ce pays.", "A church-led commitment to pray, give, and send so that gospel access begins": "Un engagement d'église locale pour prier, donner et envoyer afin que l'accès à l'Évangile commence", "A clean, elegant theme for DOXA Life - Engaging every people group by 2033": "Un thème épuré et élégant pour DOXA Life - Engager chaque peuple d'ici 2033", diff --git a/i18n/locales/hi/common.json b/i18n/locales/hi/common.json index eaca70db..c466c391 100644 --- a/i18n/locales/hi/common.json +++ b/i18n/locales/hi/common.json @@ -14,6 +14,7 @@ "People Groups": "लोगों के समूह", "people groups engaged": "प्रवेशित लोगों के समूह", "Regions": "क्षेत्र", + "See %region% dashboard": "%region% डैशबोर्ड देखें", "There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.": "%country% में %count% लोगों के समूह हैं। इस देश की सीमा पर स्थित लोगों के समूहों के लिए मानचित्र भी देखें।", "A church-led commitment to pray, give, and send so that gospel access begins": "सुसमाचार की पहुँच शुरू हो सके, इसके लिए चर्च के नेतृत्व में प्रार्थना करने, दान देने और भेजने की प्रतिबद्धता।", "A clean, elegant theme for DOXA Life - Engaging every people group by 2033": "DOXA Life के लिए एक स्वच्छ, सुरुचिपूर्ण थीम - 2033 तक प्रत्येक जनसमूह को संलग्न करना", diff --git a/i18n/locales/pt/common.json b/i18n/locales/pt/common.json index 9dd15db4..a49eecff 100644 --- a/i18n/locales/pt/common.json +++ b/i18n/locales/pt/common.json @@ -14,6 +14,7 @@ "People Groups": "Grupos étnicos", "people groups engaged": "grupos étnicos engajados", "Regions": "Regiões", + "See %region% dashboard": "Ver o painel: %region%", "There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.": "Existem %count% grupos étnicos em %country%. Verifique no mapa também os grupos étnicos na fronteira deste país.", "A church-led commitment to pray, give, and send so that gospel access begins": "Um compromisso liderado pela igreja para orar, doar e enviar, para que o evangelho comece a se tornar acessível", "A clean, elegant theme for DOXA Life - Engaging every people group by 2033": "Um tema limpo e elegante para a DOXA Life - Envolvendo todos os grupos étnicos até 2033", diff --git a/i18n/locales/ru/common.json b/i18n/locales/ru/common.json index 5828ca80..8b2b49e8 100644 --- a/i18n/locales/ru/common.json +++ b/i18n/locales/ru/common.json @@ -14,6 +14,7 @@ "People Groups": "Группы людей", "people groups engaged": "вовлечённые группы людей", "Regions": "Регионы", + "See %region% dashboard": "Открыть панель: %region%", "There are %count% people groups in %country%. Check the map for the people groups on the border of this country as well.": "Страна %country% насчитывает %count% групп людей. Проверьте также на карте группы людей, расположенные вдоль границ этой страны.", "A church-led commitment to pray, give, and send so that gospel access begins": "Обязательство церкви молиться, жертвовать и посылать миссионеров, чтобы Евангелие стало доступным", "A clean, elegant theme for DOXA Life - Engaging every people group by 2033": "Чистая, элегантная тема для DOXA Life — привлечение всех народов к 2033 году",