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",
|
"seriesImageUrl": "/images/titus-cover.png",
|
||||||
"seriesListenUrl": "/spotify",
|
"seriesListenUrl": "/spotify",
|
||||||
"seriesListenBtnLabel": "Listen to Series",
|
"seriesListenBtnLabel": "Listen to Series",
|
||||||
"seriesDownloadsBtnLabel": "View Downloads",
|
"seriesDownloadsBtnLabel": "View Resources",
|
||||||
"studyGuideTitle": "Companion Study Guide",
|
"studyGuideTitle": "Companion Study Guide",
|
||||||
"studyGuideDescription": "Go deeper in your study with the official Verse by Verse companion guide — now available on Amazon.",
|
"studyGuideDescription": "Go deeper in your study with the official Verse by Verse companion guide — now available on Amazon.",
|
||||||
"studyGuideDownloadUrl": "",
|
"studyGuideDownloadUrl": "",
|
||||||
@@ -1030,7 +1030,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "downloads",
|
"id": "downloads",
|
||||||
"title": "Downloads",
|
"title": "Resources",
|
||||||
"description": "Main guide, extra downloads, and past study files.",
|
"description": "Main guide, extra downloads, and past study files.",
|
||||||
"path": "/resources"
|
"path": "/resources"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
"seriesImageUrl": "/images/titus-cover.png",
|
"seriesImageUrl": "/images/titus-cover.png",
|
||||||
"seriesListenUrl": "/spotify",
|
"seriesListenUrl": "/spotify",
|
||||||
"seriesListenBtnLabel": "Listen to Series",
|
"seriesListenBtnLabel": "Listen to Series",
|
||||||
"seriesDownloadsBtnLabel": "View Downloads",
|
"seriesDownloadsBtnLabel": "View Resources",
|
||||||
"studyGuideTitle": "Companion Study Guide",
|
"studyGuideTitle": "Companion Study Guide",
|
||||||
"studyGuideDescription": "Go deeper in your study with the official Verse by Verse companion guide — now available on Amazon.",
|
"studyGuideDescription": "Go deeper in your study with the official Verse by Verse companion guide — now available on Amazon.",
|
||||||
"studyGuideDownloadUrl": "",
|
"studyGuideDownloadUrl": "",
|
||||||
@@ -1084,7 +1084,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "downloads",
|
"id": "downloads",
|
||||||
"title": "Downloads",
|
"title": "Resources",
|
||||||
"description": "Main guide, extra downloads, and past study files.",
|
"description": "Main guide, extra downloads, and past study files.",
|
||||||
"path": "/resources"
|
"path": "/resources"
|
||||||
},
|
},
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "siteforge",
|
"name": "siteforge",
|
||||||
"version": "2.32.3",
|
"version": "2.32.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "siteforge",
|
"name": "siteforge",
|
||||||
"version": "2.32.3",
|
"version": "2.32.4",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aws-sdk/client-s3": "^3.1135.0",
|
"@aws-sdk/client-s3": "^3.1135.0",
|
||||||
"@dnd-kit/core": "^6.3.1",
|
"@dnd-kit/core": "^6.3.1",
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "siteforge",
|
"name": "siteforge",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.32.3",
|
"version": "2.32.4",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"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.
|
// 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 = [
|
const fixedCards = [
|
||||||
{ id: 'start', path: '/start-here', title: 'Start here', description: 'New to the show? A short path through the best first episodes.' },
|
{ 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.' },
|
{ 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>
|
</a>
|
||||||
{series.studySlug
|
{series.studySlug
|
||||||
? <Link to={`/study/${series.studySlug}`} className="btn-secondary">Study Along</Link>
|
? <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>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
Reference in new issue
Block a user