Reverse podcast highlights order; convert Q&A to full page; v1.0.6

- Podcast highlights now display newest-first (reversed array)
- Q&A page uses full site layout (header, nav, footer) instead of card/modal wrapper
- Remove redundant "Back to Site" link from QASection now that header is present

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmert
2026-07-22 11:58:34 -04:00
parent 369a7944f0
commit 595a2c3ec4
3 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "siteforge",
"private": true,
"version": "1.0.5",
"version": "1.0.6",
"type": "module",
"scripts": {
"dev": "vite",
+15 -10
View File
@@ -664,7 +664,7 @@ function ContactSection({ content }: { content: SiteContent }) {
}
function PodcastHighlightsSection({ content }: { content: SiteContent }) {
const links = content.podcastFeaturedLinks ?? []
const links = [...(content.podcastFeaturedLinks ?? [])].reverse()
if (links.length === 0) return null
return (
@@ -2145,16 +2145,21 @@ function AdminShell({ content, onSave }: { content: SiteContent; onSave: (c: Sit
}
function QuestionsPage({ content }: { content: SiteContent }) {
const siteTitle = content.seo?.title || DEFAULTS.seo.title
usePageMeta(
`Q&A | ${siteTitle}`,
'Real questions answered from Scripture browse topics, search, and submit your own.',
)
return (
<main className="thanks-page" aria-label="Questions and Answers">
<div className="thanks-card" style={{ maxWidth: '1000px', width: '100%' }}>
<QASection />
<CustomBlocksSection content={content} page="questions" />
<div style={{ marginTop: '2rem', textAlign: 'center' }}>
<Link to="/" className="btn-secondary">Back to Site</Link>
</div>
</div>
</main>
<div className="site">
<SiteHeader content={content} />
<SiteSearchBar content={content} />
<QASection />
<CustomBlocksSection content={content} page="questions" />
<SiteFooter content={content} />
<AnalyticsConsentBanner content={content} />
</div>
)
}
-3
View File
@@ -690,9 +690,6 @@ export default function QASection() {
return (
<section id="qa" className="section-qa" aria-label="Questions and answers">
<div className="section-inner">
<div className="qa-top-nav">
<a href="/" className="qa-back-to-site"> Back to Site</a>
</div>
<h2 className="section-heading">
<span className="ornament"></span> Questions & Answers <span className="ornament"></span>
</h2>