From eaa732751634aa3b78445cf61c6fd183537039be Mon Sep 17 00:00:00 2001 From: Tobias Feigel Date: Sun, 6 Jul 2025 15:11:17 +0200 Subject: [PATCH] feat: add Vorstand page with structured content and layout Introduced a new Vorstand page with content files and structured data for team details. Added associated blueprint, PHP template, and updated image assets for better organization and presentation. --- content/4_verein/2_vorstand/default.txt | 5 -- content/4_verein/2_vorstand/vorstand.txt | 47 ++++++++++++++++++ .../4_verein/2_vorstand/vorstand2019.jpg | Bin .../4_verein/2_vorstand/vorstand2019.jpg.txt | 5 ++ site/blueprints/pages/vorstand.yml | 28 +++++++++++ site/templates/vorstand.php | 29 +++++++++++ 6 files changed, 109 insertions(+), 5 deletions(-) delete mode 100644 content/4_verein/2_vorstand/default.txt create mode 100644 content/4_verein/2_vorstand/vorstand.txt rename assets/img/Vorstand2019.jpg => content/4_verein/2_vorstand/vorstand2019.jpg (100%) create mode 100644 content/4_verein/2_vorstand/vorstand2019.jpg.txt create mode 100644 site/blueprints/pages/vorstand.yml create mode 100644 site/templates/vorstand.php diff --git a/content/4_verein/2_vorstand/default.txt b/content/4_verein/2_vorstand/default.txt deleted file mode 100644 index 818b383..0000000 --- a/content/4_verein/2_vorstand/default.txt +++ /dev/null @@ -1,5 +0,0 @@ -Title: Vorstand - ----- - -Uuid: zl70xxrrqevgvku0 \ No newline at end of file diff --git a/content/4_verein/2_vorstand/vorstand.txt b/content/4_verein/2_vorstand/vorstand.txt new file mode 100644 index 0000000..90f8e27 --- /dev/null +++ b/content/4_verein/2_vorstand/vorstand.txt @@ -0,0 +1,47 @@ +Title: Vorstand + +---- + +Text: Bei der Jahreshauptversammlung am 05.04.2025 wurden in den aktuellen Vorstand gewählt: + +---- + +Vorstandschaft: + +- + name: Bernd Haberzettl + position: 1. Vorstand +- + name: Jürgen Franz + position: 2. Vorstand und Spielleiter +- + name: Tobias Feigel + position: Jugendleiter +- + name: Tanja Wolfrum + position: Kassier +- + name: Klaus Frommelt + position: Schriftführer +- + name: Alexander Döge + position: Kassenprüfer +- + name: Dominik Döge + position: Kassenprüfer + +---- + +Herotext: Unser Vorstand setzt sich aus engagierten Mitgliedern zusammen, die die Geschicke des Vereins leiten. Gemeinsam arbeiten wir daran, Schach in Bad Steben zu fördern und neue Mitglieder zu gewinnen. + +---- + +Herobutton: Kontaktieren Sie uns! + +---- + +Buttonlink: /kontakt.html + +---- + +Uuid: zl70xxrrqevgvku0 \ No newline at end of file diff --git a/assets/img/Vorstand2019.jpg b/content/4_verein/2_vorstand/vorstand2019.jpg similarity index 100% rename from assets/img/Vorstand2019.jpg rename to content/4_verein/2_vorstand/vorstand2019.jpg diff --git a/content/4_verein/2_vorstand/vorstand2019.jpg.txt b/content/4_verein/2_vorstand/vorstand2019.jpg.txt new file mode 100644 index 0000000..4972b3a --- /dev/null +++ b/content/4_verein/2_vorstand/vorstand2019.jpg.txt @@ -0,0 +1,5 @@ +Sort: 1 + +---- + +Uuid: oii89r8tbby8z0e1 \ No newline at end of file diff --git a/site/blueprints/pages/vorstand.yml b/site/blueprints/pages/vorstand.yml new file mode 100644 index 0000000..1e37bf4 --- /dev/null +++ b/site/blueprints/pages/vorstand.yml @@ -0,0 +1,28 @@ +title: Vorstandschaft Page + +columns: + main: + width: 2/3 + sections: + fields: + type: fields + fields: + text: + type: textarea + size: small + vorstandschaft: + label: Vorstandschaft + type: structure + fields: + name: + label: Name des Vorstands + type: text + position: + label: Position des Vorstands + type: text + sidebar: + width: 1/3 + sections: + image: + label: Bild der Vorstandschaft + type: files \ No newline at end of file diff --git a/site/templates/vorstand.php b/site/templates/vorstand.php new file mode 100644 index 0000000..362d076 --- /dev/null +++ b/site/templates/vorstand.php @@ -0,0 +1,29 @@ +vorstandschaft()->toStructure(); +?> + + +
+
+ <?= $page->title()->html() ?> +
+
+ +
+
+

text() ?>

+
    + +
  • +

    + name() ?> + + , position() ?> + +

    +
  • + +
+
+
+ \ No newline at end of file