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
+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