c2b49e66d9
All visible text, lists, image refs, and CTAs for the home page now live in en/index.md and es/index.md as a typed `sections:` frontmatter array. HomePage.astro is reduced to a thin router; each section type is rendered by a dedicated component in src/components/home/. Adds .no-balance utility class to suppress text-wrap: balance on the commitments heading. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
543 B
Plaintext
16 lines
543 B
Plaintext
---
|
|
import type { TestimonialsSection } from '../../types/home-sections';
|
|
interface Props { section: TestimonialsSection }
|
|
const { section } = Astro.props;
|
|
---
|
|
<section class="section cream-section testimonial-section">
|
|
<div class="container">
|
|
<h2>{section.heading}</h2>
|
|
<blockquote>
|
|
<strong>{section.featured.author}</strong>
|
|
{section.featured.paragraphs.map((p) => <p>{p}</p>)}
|
|
</blockquote>
|
|
<div class="testimonial-dots" aria-hidden="true">• • • • • • • • • • •</div>
|
|
</div>
|
|
</section>
|