Unterseiten: Fußball-Übersicht, Mannschaften, Jugend, Verein, Rechtliches

Neue Seiten + Routen: fussball, fussball/{erste-mannschaft,zweite-mannschaft,
damen}, jugendfussball, verein, impressum, datenschutz. Dazu die Komponenten
team, team-cards/-roster/-photo/-bento, faq/faq-contact, key-facts, age-groups,
cta-band, training-location und der contact-slider.

Daten in teams/fussball/jugend/verein.json; club.json um Vorstand, Bankdaten,
Datenschutz-Kontakt erweitert. person-grid bekommt $names-Filter, partner-grid
einen Intro-Stil. Seiten setzen $meta['schema'] via team_/page_schema.
Styles für alle neuen Komponenten in components.css.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KDQZ6FuchNUh2bxSW9PeNv
This commit is contained in:
2026-06-19 08:13:04 +02:00
parent a933b76c4f
commit 3b6f630a72
81 changed files with 2513 additions and 78 deletions

View File

@@ -0,0 +1,30 @@
<?php
declare(strict_types=1);
/**
* Vollbreites Call-to-Action-Band. Props:
* $band array{title, text?, ctas: [{label, slug, style?}]}
* $anchor string (optional)
* Rendert nichts ohne CTAs. Nutzt das bestehende cta-/btn-Muster.
*/
$anchor = $anchor ?? null;
if (empty($band['ctas'])) {
return;
}
?>
<section class="section section--tinted cta-band"<?= $anchor ? ' id="' . e($anchor) . '"' : '' ?>>
<div class="container cta-band__inner">
<?php if (!empty($band['title'])): ?>
<h2 class="cta-band__title"><?= e($band['title']) ?></h2>
<?php endif; ?>
<?php if (!empty($band['text'])): ?>
<p class="cta-band__text"><?= e($band['text']) ?></p>
<?php endif; ?>
<div class="cta-band__actions">
<?php foreach ($band['ctas'] as $cta): ?>
<?php component('cta', ['cta' => $cta]); ?>
<?php endforeach; ?>
</div>
</div>
</section>