Home page: rename Downloads card and series button to Resources; v2.32.4
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
04a572bb6e
commit
e82e8222f8
5 files changed
+9
-9
No files matched your search
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Generated
+2
-2
@@ -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",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "siteforge",
|
||||
"private": true,
|
||||
"version": "2.32.3",
|
||||
"version": "2.32.4",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
+2
-2
@@ -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 }) {
|
||||
</a>
|
||||
{series.studySlug
|
||||
? <Link to={`/study/${series.studySlug}`} className="btn-secondary">Study Along</Link>
|
||||
: <Link to="/resources" className="btn-secondary">{content.seriesDownloadsBtnLabel || 'View Resources'}</Link>}
|
||||
: <Link to="/resources" className="btn-secondary">{content.seriesDownloadsBtnLabel === 'View Downloads' ? 'View Resources' : (content.seriesDownloadsBtnLabel || 'View Resources')}</Link>}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
Reference in new issue
Block a user