From e82e8222f8dc848d54d60b08972f91f9578ff717 Mon Sep 17 00:00:00 2001 From: nmemmert Date: Tue, 13 Oct 2026 08:00:29 -0400 Subject: [PATCH] Home page: rename Downloads card and series button to Resources; v2.32.4 Co-Authored-By: Claude Sonnet 5.5 --- data/admin-content-draft.json | 4 ++-- data/admin-content.json | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- src/App.tsx | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/data/admin-content-draft.json b/data/admin-content-draft.json index 315e9ac..5b9c8ee 100644 --- a/data/admin-content-draft.json +++ b/data/admin-content-draft.json @@ -42,7 +42,7 @@ "seriesImageUrl": "/images/titus-cover.png", "seriesListenUrl": "/spotify", "seriesListenBtnLabel": "Listen to Series", - "seriesDownloadsBtnLabel": "View Downloads", + "seriesDownloadsBtnLabel": "View Resources", "studyGuideTitle": "Companion Study Guide", "studyGuideDescription": "Go deeper in your study with the official Verse by Verse companion guide — now available on Amazon.", "studyGuideDownloadUrl": "", @@ -1030,7 +1030,7 @@ }, { "id": "downloads", - "title": "Downloads", + "title": "Resources", "description": "Main guide, extra downloads, and past study files.", "path": "/resources" }, diff --git a/data/admin-content.json b/data/admin-content.json index 415d589..7b0cba0 100644 --- a/data/admin-content.json +++ b/data/admin-content.json @@ -43,7 +43,7 @@ "seriesImageUrl": "/images/titus-cover.png", "seriesListenUrl": "/spotify", "seriesListenBtnLabel": "Listen to Series", - "seriesDownloadsBtnLabel": "View Downloads", + "seriesDownloadsBtnLabel": "View Resources", "studyGuideTitle": "Companion Study Guide", "studyGuideDescription": "Go deeper in your study with the official Verse by Verse companion guide — now available on Amazon.", "studyGuideDownloadUrl": "", @@ -1084,7 +1084,7 @@ }, { "id": "downloads", - "title": "Downloads", + "title": "Resources", "description": "Main guide, extra downloads, and past study files.", "path": "/resources" }, diff --git a/package-lock.json b/package-lock.json index 4827ab5..2971467 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "siteforge", - "version": "2.32.3", + "version": "2.32.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "siteforge", - "version": "2.32.3", + "version": "2.32.4", "dependencies": { "@aws-sdk/client-s3": "^3.1135.0", "@dnd-kit/core": "^6.3.1", diff --git a/package.json b/package.json index 2bce92e..607a182 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "siteforge", "private": true, - "version": "2.32.3", + "version": "2.32.4", "type": "module", "scripts": { "dev": "vite", diff --git a/src/App.tsx b/src/App.tsx index dc3e80b..efbb497 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1265,7 +1265,7 @@ function LandingPage({ content }: { content: SiteContent }) { ] // Fixed "ways in" cards go first; the admin-managed cards follow, skipping any that point to the same page. - const adminCards = content.whereToNextCards ?? [] + const adminCards = (content.whereToNextCards ?? []).map(c => (c.path === '/resources' && c.title === 'Downloads' ? { ...c, title: 'Resources' } : c)) const fixedCards = [ { id: 'start', path: '/start-here', title: 'Start here', description: 'New to the show? A short path through the best first episodes.' }, { id: 'verse', path: '/scripture', title: 'Find a verse', description: 'Look up any passage and jump to the episode or lesson that covers it.' }, @@ -1348,7 +1348,7 @@ function LandingPage({ content }: { content: SiteContent }) { {series.studySlug ? Study Along - : {content.seriesDownloadsBtnLabel || 'View Resources'}} + : {content.seriesDownloadsBtnLabel === 'View Downloads' ? 'View Resources' : (content.seriesDownloadsBtnLabel || 'View Resources')}}