Feedback der Turnabteilung (Batch 13.–18.08.): - Kinderturnen, Erwachsenenturnen und Fitness/Pilates bekommen echte (Symbolbild-)Fotos in Kachel UND Detail-Hero (statt Luftbild-Platzhalter), responsive 640/1000/1536, og_image der drei Seiten mitgezogen. - fitness-pilates: „Fitness & Stretching" -> „Functional Fitness I" (Mi), neuer Kurs „Functional Fitness II" (Do, Uhrzeit folgt), Beschreibungen für Pilates und beide Functional-Fitness-Kurse, gestapeltes Layout. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014GueFkHGX17MqfsoraXwGM
37 lines
1.2 KiB
PHP
37 lines
1.2 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* Turnen → Eltern-Kind- & Kinderturnen. Inhalt: data/turnen.json (disciplines.eltern-kind-turnen).
|
|
* Bündelt Eltern-Kind-Gruppen und die nach Alter gestaffelten Kinderturn-Gruppen.
|
|
* Struktur: Hero → Gruppen/Trainingszeiten → CTA.
|
|
*/
|
|
$slug = 'turnen/eltern-kind-turnen';
|
|
$data = json_load('turnen');
|
|
$d = $data['disciplines']['eltern-kind-turnen'];
|
|
|
|
$meta = [
|
|
'title' => 'Eltern-Kind- & Kinderturnen in Kulmbach',
|
|
'description' => $d['hero']['text'],
|
|
'og_image' => 'img/pages/turnen-eltern-kind-1536.jpg',
|
|
'scripts' => ['group-tabs.js'],
|
|
'schema' => page_schema([
|
|
['name' => 'Startseite', 'slug' => ''],
|
|
['name' => 'Turnen', 'slug' => 'turnen'],
|
|
['name' => 'Eltern-Kind- & Kinderturnen', 'slug' => $slug],
|
|
]),
|
|
];
|
|
|
|
component('hero', ['hero' => $d['hero']]);
|
|
component('group-schedule', [
|
|
'location' => $d['location'] ?? [],
|
|
'lead' => $d['lead'] ?? '',
|
|
'notice' => $d['notice'] ?? '',
|
|
'noticeTitle' => $d['notice_title'] ?? '',
|
|
'noticeTone' => $d['notice_tone'] ?? 'info',
|
|
'noticeIcon' => $d['notice_icon'] ?? 'info-circle',
|
|
'groups' => $d['groups'] ?? [],
|
|
'footnote' => $data['footnote'] ?? '',
|
|
]);
|