diff --git a/ezgg_website/assets/news_16_08_26.md b/ezgg_website/assets/news_16_08_26.md new file mode 100644 index 0000000..b5ce998 --- /dev/null +++ b/ezgg_website/assets/news_16_08_26.md @@ -0,0 +1,5 @@ +Am 8. August 2026 fand unser EZ GG Sommerfest statt. Bei bestem Sommerfeeling haben wir gemeinsam einen tollen Tag verbracht, viel gelacht und jede Menge Spaß gehabt. + +Ein herzliches Dankeschön an alle, die dabei waren und das Sommerfest zu einem schönen gemeinsamen Erlebnis gemacht haben! + +Die Bilder vom Sommerfest gibt es [hier](https://verwaltung.ezgg-ev.de/modules/photos/photos.php?photo_uuid=dafa7bc7-ae22-4ab5-8bc9-908a31fb0942). \ No newline at end of file diff --git a/ezgg_website/assets/sommerfest_2026.jpg b/ezgg_website/assets/sommerfest_2026.jpg new file mode 100644 index 0000000..e22994e Binary files /dev/null and b/ezgg_website/assets/sommerfest_2026.jpg differ diff --git a/ezgg_website/pages/home.py b/ezgg_website/pages/home.py index b8960e8..ce1a708 100644 --- a/ezgg_website/pages/home.py +++ b/ezgg_website/pages/home.py @@ -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" diff --git a/ezgg_website/services/database_service.py b/ezgg_website/services/database_service.py index b8ea447..0d7dca9 100644 --- a/ezgg_website/services/database_service.py +++ b/ezgg_website/services/database_service.py @@ -163,13 +163,13 @@ class DatabaseService: ), MemberInfo( picture_path=from_root("ezgg_website/assets/member_pictures/domi.png"), name="Dominic \"duke\" P.", - position="Mitglied in Probezeit", + position="Mitglied", entry_date="08.03.2026", socials=[SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561197965859273")] ), MemberInfo( picture_path=from_root("ezgg_website/assets/member_pictures/anon.png"), name="David \"Labbi\" L.", - position="Mitglied in Probezeit", + position="Mitglied", entry_date="16.05.2026", socials=[] ) @@ -177,6 +177,12 @@ class DatabaseService: def get_picture_paths(self) -> list[rio.URL]: return [ + # Sommerfest 2026 + rio.URL("https://verwaltung.ezgg-ev.de/modules/photos/photo_show.php?photo_uuid=dafa7bc7-ae22-4ab5-8bc9-908a31fb0942&photo_nr=3"), + rio.URL("https://verwaltung.ezgg-ev.de/modules/photos/photo_show.php?photo_uuid=dafa7bc7-ae22-4ab5-8bc9-908a31fb0942&photo_nr=14"), + rio.URL("https://verwaltung.ezgg-ev.de/modules/photos/photo_show.php?photo_uuid=dafa7bc7-ae22-4ab5-8bc9-908a31fb0942&photo_nr=16"), + rio.URL("https://verwaltung.ezgg-ev.de/modules/photos/photo_show.php?photo_uuid=dafa7bc7-ae22-4ab5-8bc9-908a31fb0942&photo_nr=17"), + rio.URL("https://verwaltung.ezgg-ev.de/modules/photos/photo_show.php?photo_uuid=dafa7bc7-ae22-4ab5-8bc9-908a31fb0942&photo_nr=19"), # EZGG LAN Edition 1.0 rio.URL("https://verwaltung.ezgg-ev.de/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=4"), rio.URL("https://verwaltung.ezgg-ev.de/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=5"),