Add testimonials section and Q&A submit CTA; v1.0.8
- Testimonials: new Testimonial type, CMS field, admin UI under About, and TestimonialsSection rendered on homepage and About page (hidden when empty) - Q&A: "Submit a Question →" CTA at bottom of Q&A page linking to /contact Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+77
@@ -1370,6 +1370,83 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* ── Testimonials ── */
|
||||
.section-testimonials {
|
||||
padding: 4rem 0;
|
||||
background: #0a0a0a;
|
||||
border-top: 1px solid rgba(201, 168, 76, 0.12);
|
||||
border-bottom: 1px solid rgba(201, 168, 76, 0.12);
|
||||
}
|
||||
|
||||
.testimonials-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 1.5rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.testimonial-card {
|
||||
background: rgba(201, 168, 76, 0.05);
|
||||
border: 1px solid rgba(201, 168, 76, 0.18);
|
||||
border-radius: 12px;
|
||||
padding: 1.5rem;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.testimonial-quote {
|
||||
font-family: var(--brand-font-body);
|
||||
font-size: 0.97rem;
|
||||
line-height: 1.7;
|
||||
color: var(--brand-warm-white);
|
||||
font-style: italic;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.testimonial-footer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.2rem;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.testimonial-name {
|
||||
font-family: var(--brand-font-body);
|
||||
font-size: 0.85rem;
|
||||
color: #d8c395;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.testimonial-source {
|
||||
font-size: 0.78rem;
|
||||
color: rgba(201, 168, 76, 0.55);
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* ── Q&A submit CTA ── */
|
||||
.qa-submit-cta {
|
||||
margin-top: 3rem;
|
||||
padding: 2rem;
|
||||
border: 1px solid rgba(201, 168, 76, 0.2);
|
||||
border-radius: 12px;
|
||||
background: rgba(201, 168, 76, 0.04);
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.qa-submit-cta-text {
|
||||
font-family: var(--brand-font-body);
|
||||
font-size: 1rem;
|
||||
color: var(--brand-warm-white);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.section-share {
|
||||
background: #080808;
|
||||
border-top: 1px solid rgba(201, 168, 76, 0.18);
|
||||
|
||||
Reference in New Issue
Block a user