Add Sommerfest news, update members, update gallery

This commit was merged in pull request #24.
This commit is contained in:
David Rodenkirchen
2026-08-16 15:29:10 +02:00
parent aa540464b7
commit 4b1ae02358
4 changed files with 45 additions and 25 deletions
+32 -23
View File
@@ -32,13 +32,22 @@ class Home(rio.Component):
margin_bottom=1,
margin_right=1
),
comps.build_news_post(
header="EZGG Sommerfest 2026",
article_text_path_or_text=from_root("ezgg_website/assets/news_16_08_26.md"),
date="16.08.2026",
images=[NewsPostImage(
from_root("ezgg_website/assets/sommerfest_2026.jpg"),
"https://verwaltung.ezgg-ev.de/modules/photos/photo_show.php?photo_uuid=dafa7bc7-ae22-4ab5-8bc9-908a31fb0942&photo_nr=14"
)],
),
comps.build_news_post(
header="EZGG LAN Edition 1.0",
article_text_path_or_text=from_root("ezgg_website/assets/news_26_05_26.md"),
date="26.05.2026",
images=[NewsPostImage(
from_root("ezgg_website/assets/ezgglan1.jpg"),
"https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=18"
"https://verwaltung.ezgg-ev.de/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=18"
)],
),
comps.build_news_post(
@@ -47,7 +56,7 @@ class Home(rio.Component):
date="31.03.2026",
images=[NewsPostImage(
from_root("ezgg_website/assets/hasenheim_lan.jpg"),
"https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=d6abd7e8-9d93-48c9-b396-f70c80c8a63b&photo_nr=12&max_width=4000&max_height=4000"
"https://verwaltung.ezgg-ev.de/modules/photos/photo_show.php?photo_uuid=d6abd7e8-9d93-48c9-b396-f70c80c8a63b&photo_nr=12&max_width=4000&max_height=4000"
)],
),
comps.build_news_post(
@@ -56,7 +65,7 @@ class Home(rio.Component):
date="16.11.2025",
images=[NewsPostImage(
from_root("ezgg_website/assets/wintermarkt_2025.jpeg"),
"https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photos.php?photo_uuid=aa6b59b5-1fb9-44f4-bb16-dcfab3c0cbf4"
"https://verwaltung.ezgg-ev.de/modules/photos/photos.php?photo_uuid=aa6b59b5-1fb9-44f4-bb16-dcfab3c0cbf4"
)],
),
comps.build_news_post(
@@ -71,7 +80,7 @@ class Home(rio.Component):
date="07.10.2025",
images=[NewsPostImage(
from_root("ezgg_website/assets/bl49.jpeg"),
"https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photos.php?photo_uuid=0a515422-b1fc-44ef-ac5b-ad4ec0385a20"
"https://verwaltung.ezgg-ev.de/modules/photos/photos.php?photo_uuid=0a515422-b1fc-44ef-ac5b-ad4ec0385a20"
)],
),
comps.build_news_post(
@@ -80,7 +89,7 @@ class Home(rio.Component):
date="30.05.2025",
images=[NewsPostImage(
from_root("ezgg_website/assets/himmelfahrt_2025.jpg"),
"https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photos.php?photo_uuid=87fc4564-6aba-48a0-af6e-1b393abebd61"
"https://verwaltung.ezgg-ev.de/modules/photos/photos.php?photo_uuid=87fc4564-6aba-48a0-af6e-1b393abebd61"
)],
),
comps.build_news_post(
@@ -89,28 +98,28 @@ class Home(rio.Component):
date="14.04.2025",
images=[NewsPostImage(
from_root("ezgg_website/assets/meterpokal.jpg"),
"https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=133f2828-15c6-4105-acdb-272da9774a3f&photo_nr=18"
"https://verwaltung.ezgg-ev.de/modules/photos/photo_show.php?photo_uuid=133f2828-15c6-4105-acdb-272da9774a3f&photo_nr=18"
)],
),
comps.build_news_post(
header="Hier kommt die EZ-LAN",
article_text_path_or_text=from_root("ezgg_website/assets/news_27_03_25.md"),
date="27.03.2025",
images=[],
),
comps.build_news_post(
header="Das war die BK-LuxusLAN 15",
article_text_path_or_text=from_root("ezgg_website/assets/news_25_11_24.md"),
date="25.11.2024",
images=[
NewsPostImage(
from_root("ezgg_website/assets/bk_luxus_lan_15.jpeg"),
"https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=bc0c54ce-a87e-426a-893d-2bbcc2c28ce3&photo_nr=3"
)
],
),
# ToDo: Add "load more" feature
# comps.build_news_post(
# header="Hier kommt die EZ-LAN",
# article_text_path_or_text=from_root("ezgg_website/assets/news_27_03_25.md"),
# date="27.03.2025",
# images=[],
# ),
# comps.build_news_post(
# header="Das war die BK-LuxusLAN 15",
# article_text_path_or_text=from_root("ezgg_website/assets/news_25_11_24.md"),
# date="25.11.2024",
# images=[
# NewsPostImage(
# from_root("ezgg_website/assets/bk_luxus_lan_15.jpeg"),
# "https://verwaltung.ezgg-ev.de/modules/photos/photo_show.php?photo_uuid=bc0c54ce-a87e-426a-893d-2bbcc2c28ce3&photo_nr=3"
# )
# ],
# ),
# comps.build_news_post(
# header="Eine Laura und 21 Bilder",
# article_text_path_or_text=from_root("ezgg_website/assets/news_25_10_24.md"),
# date="25.10.2024"