Vereinshistorie-Seite: kompakter Hero, interaktive Museums-Timeline (Scroll-Reveal, Jahres-Sprungnav), Originalbilder unverändert
routes.php enthält auch die fussball-Route (User-WIP, Seite existiert) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
23
app/pages/historie.php
Normal file
23
app/pages/historie.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* Vereinshistorie — schmaler Hero + interaktive Timeline.
|
||||
* Inhalte: data/historie.json (Single Source of Truth).
|
||||
*/
|
||||
$historie = json_load('historie');
|
||||
|
||||
$meta = [
|
||||
'title' => 'Vereinshistorie – Der Katzbachtaler Weg',
|
||||
'description' => 'Erlebe die bewegte Geschichte des TSV 08 Kulmbach – von den ersten Spielen an der Bayreuther Straße 1947 bis zur Hans-Rausch-Sportanlage im Katzbachtal.',
|
||||
'scripts' => ['timeline.js'],
|
||||
];
|
||||
|
||||
component('hero', ['hero' => $historie['hero']]);
|
||||
?>
|
||||
<div class="container section--slim">
|
||||
<p class="timeline-intro"><?= e($historie['intro']) ?></p>
|
||||
</div>
|
||||
<?php
|
||||
component('timeline', ['events' => $historie['events']]);
|
||||
Reference in New Issue
Block a user