Drei Karten nach Zielgruppe (Kinder+Erwachsene Mo, Kinder ab 5 Do, Kinder ab 10 und Fortgeschrittene Do) mit Tag/Zeit und Trainerteam je Session, Schnupper-Hinweis auf "nach Absprache" umgestellt, Fußnote zu den Schulferien. group-schedule bekommt zwei optionale Props (contactEmail/contactPhone) fuer Tinas persoenlichen Kontakt in der Kontaktkachel (tel:-Muster wie person-card, keine neue CSS-Regel). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HXDvgRDHQ9iGjs4KCXykEj
36 lines
1.3 KiB
PHP
36 lines
1.3 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* Turnen → Trampolinturnen. Inhalt: data/turnen.json (disciplines.trampolin).
|
|
* Struktur: Hero → Gruppen/Trainingszeiten → CTA.
|
|
*/
|
|
$slug = 'turnen/trampolin';
|
|
$d = json_load('turnen')['disciplines']['trampolin'];
|
|
|
|
$meta = [
|
|
'title' => 'Trampolinturnen in Kulmbach',
|
|
'description' => 'Sprünge, Schrauben und Salti auf dem Großtrampolin: Trampolinturnen beim TSV 08 Kulmbach in der Carl-von-Linde-Realschule. Zeiten und Kontakt im Überblick.',
|
|
'og_image' => 'img/pages/vereinsgelaende-1600.jpg',
|
|
'schema' => page_schema([
|
|
['name' => 'Startseite', 'slug' => ''],
|
|
['name' => 'Turnen', 'slug' => 'turnen'],
|
|
['name' => 'Trampolinturnen', 'slug' => $slug],
|
|
]),
|
|
];
|
|
|
|
component('hero', ['hero' => $d['hero']]);
|
|
component('group-schedule', [
|
|
'location' => $d['location'] ?? [],
|
|
'lead' => $d['lead'] ?? '',
|
|
'contactEmail' => $d['contact_email'] ?? '',
|
|
'contactPhone' => $d['contact_phone'] ?? '',
|
|
'notice' => $d['notice'] ?? '',
|
|
'noticeTitle' => $d['notice_title'] ?? '',
|
|
'noticeTone' => $d['notice_tone'] ?? 'info',
|
|
'noticeIcon' => $d['notice_icon'] ?? 'info-circle',
|
|
'groups' => $d['groups'] ?? [],
|
|
'footnote' => $d['footnote'] ?? '',
|
|
]);
|