feat: homepage newsletter, Q&A callout, episodes page redesign, SEO/sitemap, asset tagging

- Fix "Invalid Date" on student account page (memberSince guard)
- Fix study community author showing full email instead of username
- Add newsletter sign-up section to homepage (between PRISM and Current Series)
- Add newsletter opt-in nudge to study enrollment flow
- Redesign episodes page: latest episode featured card + per-episode Spotify embed
- Add SEO description field to episodes page (visually hidden, admin-editable)
- Expand default sitemap paths to include /about, /contact, /episodes, /resources, /study, /study/titus, /study/colossians
- Add featured Q&A callout section to homepage
- Add Q&A callout to study hub footer
- Tag both untagged image assets in Asset Manager
This commit is contained in:
nmemmert
2026-06-03 10:56:55 -04:00
parent 01abb2c8c6
commit b187b19f18
11 changed files with 382 additions and 15 deletions
+176
View File
@@ -403,6 +403,62 @@
padding: 5rem 0;
}
.episode-seo-intro {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
}
.latest-episode-card {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2.5rem;
align-items: center;
background: #111110;
border: 1px solid rgba(201, 168, 76, 0.2);
border-radius: 12px;
padding: 2rem;
margin-bottom: 1rem;
}
.latest-episode-title {
font-size: 1.4rem;
font-weight: 700;
color: #f0e9cc;
margin: 0.5rem 0 0.75rem;
line-height: 1.3;
}
.latest-episode-pills {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
margin-bottom: 0.75rem;
}
.latest-episode-desc {
font-size: 0.9rem;
color: #8a7f5a;
line-height: 1.6;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.latest-episode-embed {
width: 100%;
}
@media (max-width: 700px) {
.latest-episode-card {
grid-template-columns: 1fr;
}
}
.episode-series-subtitle {
text-align: center;
color: var(--brand-gold);
@@ -735,6 +791,71 @@
opacity: 0.9;
}
/* ── Homepage Newsletter ── */
.section-newsletter {
background: #0c0c08;
border-top: 1px solid rgba(201, 168, 76, 0.15);
border-bottom: 1px solid rgba(201, 168, 76, 0.15);
padding: 4rem 0;
text-align: center;
}
.newsletter-inner {
max-width: 600px;
margin: 0 auto;
}
.newsletter-sub {
color: #a89a6a;
font-size: 1rem;
margin-bottom: 2rem;
}
.newsletter-form {
display: flex;
flex-direction: column;
gap: 0.75rem;
align-items: center;
}
.newsletter-fields {
display: flex;
gap: 0.75rem;
width: 100%;
flex-wrap: wrap;
justify-content: center;
}
.newsletter-input {
flex: 1 1 180px;
padding: 0.7rem 1rem;
border-radius: 6px;
border: 1px solid rgba(201, 168, 76, 0.3);
background: #1a1a12;
color: #f0e9cc;
font-size: 0.95rem;
outline: none;
}
.newsletter-input::placeholder {
color: #5a5440;
}
.newsletter-input:focus {
border-color: rgba(201, 168, 76, 0.7);
}
.newsletter-thanks {
color: #c9a84c;
font-size: 1.05rem;
font-weight: 600;
}
.newsletter-error {
color: #e05c5c;
font-size: 0.9rem;
}
/* ── Series ── */
.section-series {
background: #080808;
@@ -935,6 +1056,61 @@
font-size: 0.8rem;
}
/* ── Homepage Q&A Callout ── */
.section-qa-callout {
background: #080808;
border-top: 1px solid rgba(201, 168, 76, 0.18);
border-bottom: 1px solid rgba(201, 168, 76, 0.18);
padding: 5rem 0;
text-align: center;
}
.qa-callout-sub {
color: #8a7f5a;
font-size: 1rem;
margin: -0.5rem 0 2rem;
}
.qa-callout-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1.25rem;
max-width: 960px;
margin: 0 auto;
text-align: left;
}
.qa-callout-card {
background: #111110;
border: 1px solid rgba(201, 168, 76, 0.15);
border-radius: 10px;
padding: 1.25rem 1.5rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.qa-callout-question {
font-size: 0.95rem;
font-weight: 600;
color: #c9a84c;
margin: 0;
line-height: 1.5;
}
.qa-callout-answer {
font-size: 0.875rem;
color: #a89a6a;
line-height: 1.65;
margin: 0;
}
.qa-callout-from {
font-size: 0.8rem;
color: #5a5440;
margin: 0;
}
/* ── Home Jump Section ── */
.section-share {
background: #080808;