Compare commits
10 Commits
31937ce791
...
246a0c5636
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
246a0c5636 | ||
|
|
0d6687af35 | ||
|
|
520e73ad79 | ||
|
|
7f8c5697fa | ||
|
|
eade7ed48b | ||
|
|
e527ce9c1a | ||
|
|
29c11bf99e | ||
|
|
8c3ef14769 | ||
|
|
476726ce2a | ||
|
|
1da9798910 |
BIN
ezgg_website/assets/a38.png
Normal file
BIN
ezgg_website/assets/a38.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 328 KiB |
BIN
ezgg_website/assets/member_pictures/fips.png
Normal file
BIN
ezgg_website/assets/member_pictures/fips.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 277 KiB |
BIN
ezgg_website/assets/member_pictures/imi.png
Normal file
BIN
ezgg_website/assets/member_pictures/imi.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 349 KiB |
3
ezgg_website/assets/news_06_06_24.md
Normal file
3
ezgg_website/assets/news_06_06_24.md
Normal file
@ -0,0 +1,3 @@
|
||||
Passierschein A38 erhalten, gestempelt und unterschrieben!
|
||||
|
||||
Ab heute wird die EZ GG e.V. offiziell unter dem Aktenzeichen _VR 5837_ im Vereinsregister der Stadt Marburg geführt.
|
||||
5
ezgg_website/assets/news_10_08_24.md
Normal file
5
ezgg_website/assets/news_10_08_24.md
Normal file
@ -0,0 +1,5 @@
|
||||
Die EZ GG e.V. freut sich **Jens** und **Stefan** in ihren Reihen begrüßen zu dürfen.
|
||||
|
||||
Unsere neuen Mitglieder, die unter den Nicknames **dusker** und **lenny** beitreten, beenden beide ihre Probezeit am 09.11.24.
|
||||
|
||||
Damit hat die EZ GG e.V. nun die zweistellige MItgliederzahl geknackt. 🥳 🥳 🥳
|
||||
3
ezgg_website/assets/news_19_07_24.md
Normal file
3
ezgg_website/assets/news_19_07_24.md
Normal file
@ -0,0 +1,3 @@
|
||||
Die EZ GG e.V. freut sich **Imanuel** in ihren Reihen begrüßen zu dürfen.
|
||||
|
||||
Unser neues Mitglied, das unter dem Nickname **ImiKoD** beitritt, wird seine Probezeit am 18.10.24 beenden.
|
||||
3
ezgg_website/assets/news_23_07_24.md
Normal file
3
ezgg_website/assets/news_23_07_24.md
Normal file
@ -0,0 +1,3 @@
|
||||
Die EZ GG e.V. freut sich **Jan** in ihren Reihen begrüßen zu dürfen.
|
||||
|
||||
Unser neues Mitglied, das unter dem Nickname **Medusaman** beitritt, wird seine Probezeit am 20.10.24 beenden.
|
||||
@ -46,7 +46,7 @@ class Header(rio.Component):
|
||||
Ticker(
|
||||
texts=[
|
||||
"Die EZ GG wurde in einer schlecht beleuchteten Kellerbar gegründet",
|
||||
"Aktuelle hat der EZ GG e.V. sieben Mitglieder",
|
||||
"Aktuelle hat die EZ GG e.V. elf Mitglieder",
|
||||
"Bist du auch ein Gamer? Dann tritt uns doch bei!",
|
||||
"Auch Wasser wird zum edlen Tropfen, mischt man es mit Malz und Hopfen."
|
||||
],
|
||||
|
||||
@ -11,13 +11,13 @@ class MemberCard(rio.Component):
|
||||
|
||||
content = rio.Column(
|
||||
rio.Image(self.info.picture_path, height=9, margin_bottom=1.3, margin_top=0.8),
|
||||
rio.Text(self.info.name, margin_bottom=0.4, style=rio.TextStyle(font_weight="bold")),
|
||||
rio.Text(self.info.position, margin_bottom=0.4, style=rio.TextStyle(italic=True)),
|
||||
rio.Text(f"Mitglied seit {self.info.entry_date}", style=rio.TextStyle(italic=True), margin_bottom=0.4),
|
||||
rio.Text(self.info.name, margin_bottom=0.4, style=rio.TextStyle(font_weight="bold"), justify="center"),
|
||||
rio.Text(self.info.position, margin_bottom=0.4, style=rio.TextStyle(italic=True), justify="center"),
|
||||
rio.Text(f"Mitglied seit {self.info.entry_date}", style=rio.TextStyle(italic=True), margin_bottom=0.4, justify="center"),
|
||||
social_links_grid
|
||||
)
|
||||
|
||||
for i, social_link in enumerate(self.info.socials):
|
||||
for i, social_link in enumerate(sorted(self.info.socials, key=lambda s: s.platform.value)):
|
||||
social_links_grid.add(
|
||||
rio.Link(
|
||||
rio.Icon(SOCIAL_PLATFORM_ICON_MAP[social_link.platform], height=1.3, width=1.3, fill="primary"),
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
from pathlib import Path
|
||||
from typing import Optional
|
||||
|
||||
import rio
|
||||
|
||||
@ -7,6 +8,7 @@ class NewsPost(rio.Component):
|
||||
header: str
|
||||
date: str
|
||||
article_text_path_or_text: str | Path
|
||||
images: list[Path]
|
||||
article_text = ""
|
||||
|
||||
@rio.event.on_populate
|
||||
@ -22,6 +24,9 @@ class NewsPost(rio.Component):
|
||||
self.article_text = f.read()
|
||||
|
||||
def build(self) -> rio.Component:
|
||||
image_column = rio.Column(margin=0.5)
|
||||
for image_path in self.images:
|
||||
image_column.add(rio.Image(image_path, fill_mode="fit", width=18, height=18, align_x=0.01))
|
||||
return rio.Rectangle(
|
||||
content=rio.Column(
|
||||
rio.Row(
|
||||
@ -31,7 +36,8 @@ class NewsPost(rio.Component):
|
||||
),
|
||||
rio.Column(
|
||||
rio.Markdown(self.article_text, margin=1)
|
||||
)
|
||||
),
|
||||
image_column
|
||||
),
|
||||
fill=self.session.theme.neutral_color,
|
||||
corner_radius=self.session.theme.corner_radius_medium,
|
||||
@ -41,10 +47,13 @@ class NewsPost(rio.Component):
|
||||
)
|
||||
|
||||
|
||||
def build_news_post(header: str, article_text_path_or_text: str | Path, date: str) -> NewsPost:
|
||||
def build_news_post(header: str, article_text_path_or_text: str | Path, date: str, images: Optional[list[Path]] = None) -> NewsPost:
|
||||
if images is None:
|
||||
images = []
|
||||
return NewsPost(
|
||||
header=header,
|
||||
article_text_path_or_text=article_text_path_or_text,
|
||||
images=images,
|
||||
date=date,
|
||||
align_y=0,
|
||||
margin_top=0,
|
||||
|
||||
@ -31,6 +31,27 @@ class Home(rio.Component):
|
||||
margin_bottom=1,
|
||||
margin_right=1
|
||||
),
|
||||
comps.build_news_post(
|
||||
header="Doppelte Neuaufnahme",
|
||||
article_text_path_or_text=from_root("ezgg_website/assets/news_10_08_24.md"),
|
||||
date="10.08.2024"
|
||||
),
|
||||
comps.build_news_post(
|
||||
header="Weiterer Neuzugang im Verein!",
|
||||
article_text_path_or_text=from_root("ezgg_website/assets/news_23_07_24.md"),
|
||||
date="23.07.2024"
|
||||
),
|
||||
comps.build_news_post(
|
||||
header="Neuzugang im Verein!",
|
||||
article_text_path_or_text=from_root("ezgg_website/assets/news_19_07_24.md"),
|
||||
date="19.07.2024"
|
||||
),
|
||||
comps.build_news_post(
|
||||
header="Eintragung abgeschlossen!",
|
||||
article_text_path_or_text=from_root("ezgg_website/assets/news_06_06_24.md"),
|
||||
images=[from_root("ezgg_website/assets/a38.png")],
|
||||
date="06.06.2024"
|
||||
),
|
||||
comps.build_news_post(
|
||||
header="Beitrittsformular verfügbar",
|
||||
article_text_path_or_text=from_root("ezgg_website/assets/news_02_06_24.md"),
|
||||
|
||||
@ -29,7 +29,7 @@ Als Mitglied hast du die Möglichkeit, aktiv an unseren Veranstaltungen teilzune
|
||||
|
||||
Um Mitglied zu werden, fülle bitte das untenstehende Formular aus und sende es uns [per Mail an den Vorstand](./member) oder [per Post](./imprint). Wir freuen uns darauf, dich bald in unserer Gemeinschaft begrüßen zu dürfen!
|
||||
|
||||
[Beitrittserklärung (Stand 02.06.24)](https://verwaltung.ezgg-ev.de/adm_program/modules/documents-files/get_file.php?file_uuid=7770a5f5-4847-46dd-93aa-3c538772bee8)
|
||||
[Beitrittserklärung (Stand 06.06.24)](https://verwaltung.ezgg-ev.de/adm_program/modules/documents-files/get_file.php?file_uuid=dbdf7d6d-3732-482c-9b80-152106dbe0c0)
|
||||
|
||||
Bei Fragen oder weiteren Informationen kannst du dich jederzeit an unseren Vorstand wenden. Die Kontaktdaten findest du auf [hier](./member). Wir freuen uns auf dich!
|
||||
""",
|
||||
|
||||
@ -39,28 +39,71 @@ class DatabaseService:
|
||||
position="Schatzmeisterin",
|
||||
entry_date="29.10.2023",
|
||||
socials=[
|
||||
SocialLink(SocialPlatform.TWITCH, "https://twitch.tv/jessysixx88/home")
|
||||
SocialLink(SocialPlatform.MAIL, "mailto://jessysixx@ezgg-ev.de"),
|
||||
SocialLink(SocialPlatform.TWITCH, "https://twitch.tv/jessysixx88/home"),
|
||||
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/id/JessySixx"),
|
||||
SocialLink(SocialPlatform.INSTAGRAM, "https://www.instagram.com/jessykrumel/"),
|
||||
SocialLink(SocialPlatform.FACEBOOK, "https://www.facebook.com/krumelcore.untherapierbar")
|
||||
]
|
||||
), MemberInfo(
|
||||
picture_path=from_root("ezgg_website/assets/member_pictures/tim.png"),
|
||||
name="Tim \"Matschwicht\" B.",
|
||||
position="Mitglied",
|
||||
entry_date="29.10.2023"
|
||||
entry_date="29.10.2023",
|
||||
socials=[
|
||||
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198247114792"),
|
||||
]
|
||||
), MemberInfo(
|
||||
picture_path=from_root("ezgg_website/assets/member_pictures/dennis.png"),
|
||||
name="Dennis \"Goodman\" P.",
|
||||
position="Mitglied",
|
||||
entry_date="29.10.2023"
|
||||
entry_date="29.10.2023",
|
||||
socials=[
|
||||
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198160425987"),
|
||||
]
|
||||
), MemberInfo(
|
||||
picture_path=from_root("ezgg_website/assets/member_pictures/tom.png"),
|
||||
name="Tom \"Tcprod\" C.",
|
||||
position="Mitglied",
|
||||
entry_date="29.10.2023"
|
||||
entry_date="29.10.2023",
|
||||
socials=[
|
||||
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198118936378"),
|
||||
]
|
||||
), MemberInfo(
|
||||
picture_path=from_root("ezgg_website/assets/member_pictures/chris.png"),
|
||||
name="Chris \"Meliodas\" K.",
|
||||
position="Mitglied",
|
||||
entry_date="29.10.2023"
|
||||
entry_date="29.10.2023",
|
||||
socials=[
|
||||
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198299462425"),
|
||||
]
|
||||
), MemberInfo(
|
||||
picture_path=from_root("ezgg_website/assets/member_pictures/imi.png"),
|
||||
name="Imanuel \"ImiKoD\" B.",
|
||||
position="Mitglied in Probezeit",
|
||||
entry_date="18.07.2024",
|
||||
socials=[
|
||||
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/id/ImiKoD/"),
|
||||
SocialLink(SocialPlatform.FACEBOOK, "https://www.facebook.com/imanuel.blocher")
|
||||
]
|
||||
), MemberInfo(
|
||||
picture_path=from_root("ezgg_website/assets/member_pictures/fips.png"),
|
||||
name="Jan Phillip \"Medusaman\" N.",
|
||||
position="Mitglied in Probezeit",
|
||||
entry_date="20.07.2024",
|
||||
socials=[SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198033110015")]
|
||||
), MemberInfo(
|
||||
picture_path=from_root("ezgg_website/assets/member_pictures/anon.png"),
|
||||
name="Jens \"dusker\" G.",
|
||||
position="Mitglied in Probezeit",
|
||||
entry_date="09.08.2024",
|
||||
socials=[SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561197960863240")]
|
||||
), MemberInfo(
|
||||
picture_path=from_root("ezgg_website/assets/member_pictures/anon.png"),
|
||||
name="Stefan \"lenny\" R.",
|
||||
position="Mitglied in Probezeit",
|
||||
entry_date="09.08.2024",
|
||||
socials=[SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561197973187407")]
|
||||
)
|
||||
]
|
||||
|
||||
@ -92,5 +135,8 @@ 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")
|
||||
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")
|
||||
]
|
||||
|
||||
BIN
requirements.txt
BIN
requirements.txt
Binary file not shown.
Loading…
Reference in New Issue
Block a user