diff --git a/ezgg_website/assets/ezgglan1.jpg b/ezgg_website/assets/ezgglan1.jpg new file mode 100644 index 0000000..3aad440 Binary files /dev/null and b/ezgg_website/assets/ezgglan1.jpg differ diff --git a/ezgg_website/assets/news_26_05_26.md b/ezgg_website/assets/news_26_05_26.md new file mode 100644 index 0000000..9a8bafe --- /dev/null +++ b/ezgg_website/assets/news_26_05_26.md @@ -0,0 +1,5 @@ +Über ein Jahr Vorbereitung fand am Wochenende des 8. Mai 2026 ihren Höhepunkt: Die EZ GG richtete ihre erste LAN-Party aus, und was war das für ein Spaß. + +Am Sonntag spiegelten sich nicht nur Erschöpfung, sondern vor allem auch Zufriedenheit in unseren Augen wider. Das Gefühl, gemeinsam etwas Großartiges auf die Beine gestellt zu haben, war überall spürbar. + +EZGG LAN 2027, eine sichere Sache. diff --git a/ezgg_website/components/header.py b/ezgg_website/components/header.py index d525cb7..758634b 100644 --- a/ezgg_website/components/header.py +++ b/ezgg_website/components/header.py @@ -42,11 +42,11 @@ class Header(rio.Component): rio.Image(from_root("ezgg_website/assets/logo.svg"), align_x=0, width=8), "/" ), - rio.Text("Sinnlose Infos aus dem Vereinskern:", justify="left", width="grow", margin_left=0.8), + rio.Text(text="Sinnlose Infos aus dem Vereinskern:", justify="left", width="grow", margin_left=0.8), Ticker( texts=[ "Die EZ GG wurde in einer schlecht beleuchteten Kellerbar gegründet", - "Aktuelle hat die EZ GG e.V. zwanzig Mitglieder", + "Aktuelle hat die EZ GG e.V. 21 Mitglieder", "Bist du auch ein Gamer? Dann tritt uns doch bei!", "Auch Wasser wird zum edlen Tropfen, mischt man es mit Malz und Hopfen." ], diff --git a/ezgg_website/components/news_post.py b/ezgg_website/components/news_post.py index d533f80..87028d4 100644 --- a/ezgg_website/components/news_post.py +++ b/ezgg_website/components/news_post.py @@ -34,10 +34,10 @@ class NewsPost(rio.Component): for news_post_image in self.images: image_obj = rio.Image( news_post_image.path, - fill_mode="fit", - width=20, - height=20, - align_x=0.01 + fill_mode="zoom", + align_x=0.01, + width=30, + height=25 ) image_column.add( rio.Link(image_obj, diff --git a/ezgg_website/pages/home.py b/ezgg_website/pages/home.py index 9e529bb..b8960e8 100644 --- a/ezgg_website/pages/home.py +++ b/ezgg_website/pages/home.py @@ -32,6 +32,15 @@ class Home(rio.Component): margin_bottom=1, margin_right=1 ), + 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" + )], + ), comps.build_news_post( header="LAN Party im Hasenheim", article_text_path_or_text=from_root("ezgg_website/assets/news_31_03_26.md"), diff --git a/ezgg_website/services/database_service.py b/ezgg_website/services/database_service.py index 9d31018..43baa80 100644 --- a/ezgg_website/services/database_service.py +++ b/ezgg_website/services/database_service.py @@ -162,15 +162,35 @@ class DatabaseService: socials=[SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/id/sheridanqt/")] ), MemberInfo( picture_path=from_root("ezgg_website/assets/member_pictures/domi.png"), - name="Dominik \"duke\" P.", + name="Dominic \"duke\" P.", position="Mitglied in Probezeit", 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", + entry_date="16.05.2026", + socials=[] ) ] def get_picture_paths(self) -> list[rio.URL]: return [ + # EZGG LAN Edition 1.0 + rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=4"), + rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=5"), + rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=11"), + rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=12"), + rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=13"), + rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=18"), + rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=19"), + rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=24"), + rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=27"), + rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=33"), + rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=38"), + rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=9022b270-be58-41a3-b2fd-51be34308f3c&photo_nr=45"), + # Hasenheim LAN rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=d6abd7e8-9d93-48c9-b396-f70c80c8a63b&photo_nr=1"), rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=d6abd7e8-9d93-48c9-b396-f70c80c8a63b&photo_nr=2"), @@ -201,7 +221,6 @@ class DatabaseService: # Himmelfahrt 2025 rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=87fc4564-6aba-48a0-af6e-1b393abebd61&photo_nr=1"), - rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=87fc4564-6aba-48a0-af6e-1b393abebd61&photo_nr=2"), rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=87fc4564-6aba-48a0-af6e-1b393abebd61&photo_nr=3"), rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=87fc4564-6aba-48a0-af6e-1b393abebd61&photo_nr=4"), rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=87fc4564-6aba-48a0-af6e-1b393abebd61&photo_nr=5"), @@ -292,7 +311,6 @@ class DatabaseService: # BL 42 rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=235bf57f-c65c-4b5f-8029-061775eeec45&photo_nr=1"), - rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=235bf57f-c65c-4b5f-8029-061775eeec45&photo_nr=2"), # Fieste del Krümel rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=5177ce6f-f8c6-49a2-9bb0-4e9f606ecd2b&photo_nr=1")