Compare commits

..

No commits in common. "246a0c5636f25ea434b6f4ef19638ae4507e7ac4" and "31937ce7919706d148858d647be19ad29900f14e" have entirely different histories.

15 changed files with 16 additions and 106 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 277 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 KiB

View File

@ -1,3 +0,0 @@
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.

View File

@ -1,5 +0,0 @@
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. 🥳 🥳 🥳

View File

@ -1,3 +0,0 @@
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.

View File

@ -1,3 +0,0 @@
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.

View File

@ -46,7 +46,7 @@ class Header(rio.Component):
Ticker(
texts=[
"Die EZ GG wurde in einer schlecht beleuchteten Kellerbar gegründet",
"Aktuelle hat die EZ GG e.V. elf Mitglieder",
"Aktuelle hat der EZ GG e.V. sieben Mitglieder",
"Bist du auch ein Gamer? Dann tritt uns doch bei!",
"Auch Wasser wird zum edlen Tropfen, mischt man es mit Malz und Hopfen."
],

View File

@ -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"), 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"),
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),
social_links_grid
)
for i, social_link in enumerate(sorted(self.info.socials, key=lambda s: s.platform.value)):
for i, social_link in enumerate(self.info.socials):
social_links_grid.add(
rio.Link(
rio.Icon(SOCIAL_PLATFORM_ICON_MAP[social_link.platform], height=1.3, width=1.3, fill="primary"),

View File

@ -1,5 +1,4 @@
from pathlib import Path
from typing import Optional
import rio
@ -8,7 +7,6 @@ class NewsPost(rio.Component):
header: str
date: str
article_text_path_or_text: str | Path
images: list[Path]
article_text = ""
@rio.event.on_populate
@ -24,9 +22,6 @@ 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(
@ -36,8 +31,7 @@ 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,
@ -47,13 +41,10 @@ class NewsPost(rio.Component):
)
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 = []
def build_news_post(header: str, article_text_path_or_text: str | Path, date: str) -> NewsPost:
return NewsPost(
header=header,
article_text_path_or_text=article_text_path_or_text,
images=images,
date=date,
align_y=0,
margin_top=0,

View File

@ -31,27 +31,6 @@ 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"),

View File

@ -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 06.06.24)](https://verwaltung.ezgg-ev.de/adm_program/modules/documents-files/get_file.php?file_uuid=dbdf7d6d-3732-482c-9b80-152106dbe0c0)
[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)
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!
""",

View File

@ -39,71 +39,28 @@ class DatabaseService:
position="Schatzmeisterin",
entry_date="29.10.2023",
socials=[
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")
SocialLink(SocialPlatform.TWITCH, "https://twitch.tv/jessysixx88/home")
]
), MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/tim.png"),
name="Tim \"Matschwicht\" B.",
position="Mitglied",
entry_date="29.10.2023",
socials=[
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198247114792"),
]
entry_date="29.10.2023"
), MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/dennis.png"),
name="Dennis \"Goodman\" P.",
position="Mitglied",
entry_date="29.10.2023",
socials=[
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198160425987"),
]
entry_date="29.10.2023"
), MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/tom.png"),
name="Tom \"Tcprod\" C.",
position="Mitglied",
entry_date="29.10.2023",
socials=[
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198118936378"),
]
entry_date="29.10.2023"
), MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/chris.png"),
name="Chris \"Meliodas\" K.",
position="Mitglied",
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")]
entry_date="29.10.2023"
)
]
@ -135,8 +92,5 @@ 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")
rio.URL("https://verwaltung.ezgg-ev.de/adm_program/modules/photos/photo_show.php?photo_uuid=235bf57f-c65c-4b5f-8029-061775eeec45&photo_nr=2")
]

Binary file not shown.

View File

@ -1,3 +1,3 @@
[app]
app-type = "website"
main-module = "ezgg_website"
app_type = "website" # This is either "website" or "app"
main_module = "ezgg_website" # The name of your Python module