Files
aia-website/www/src/components/home/HomeInsurance.astro
T
DeCentN2Madness c2b49e66d9 refactor(home): move page content into per-language YAML sections
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>
2026-06-09 12:06:23 -07:00

17 lines
452 B
Plaintext

---
import type { InsuranceSection } from '../../types/home-sections';
interface Props { section: InsuranceSection }
const { section } = Astro.props;
---
<section class="section insurance-section">
<div class="container">
<h2>{section.heading}</h2>
<p>{section.body}</p>
<div class="logo-row">
{section.logos.map(({ file, alt }) => (
<img src={`/assets/images/${file}`} alt={alt} />
))}
</div>
</div>
</section>