add a bunch of people lol

This commit is contained in:
David Rodenkirchen 2024-05-27 18:30:38 +02:00
parent 1c47e088e8
commit 8e3c4c8b16
6 changed files with 5 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

View File

@ -27,7 +27,7 @@ class MemberCard(rio.Component):
def build(self) -> rio.Component: def build(self) -> rio.Component:
contact_row = rio.Row() contact_row = rio.Row()
content = rio.Column( content = rio.Column(
rio.Image(self._info.picture_path, height=9, margin_bottom=1.3), 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.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(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(f"Mitglied seit {self._info.entry_date}", style=rio.TextStyle(italic=True), margin_bottom=0.4),

View File

@ -14,21 +14,21 @@ class DatabaseService:
def get_members(self) -> list[MemberInfo]: def get_members(self) -> list[MemberInfo]:
return [ return [
MemberInfo( MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/anon.png"), picture_path=from_root("ezgg_website/assets/member_pictures/david.png"),
name="David \"Typhus\" R.", name="David \"Typhus\" R.",
position="1. Vorsitzender", position="1. Vorsitzender",
entry_date="29.10.2023", entry_date="29.10.2023",
contact_mail="davidr.develop@gmail.com", contact_mail="davidr.develop@gmail.com",
contact_steam="https://steamcommunity.com/id/originaltyphus" contact_steam="https://steamcommunity.com/id/originaltyphus"
), MemberInfo( ), MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/anon.png"), picture_path=from_root("ezgg_website/assets/member_pictures/jule.png"),
name="Julia \"Ravenchild\" A.", name="Julia \"Ravenchild\" A.",
position="2. Vorsitzende", position="2. Vorsitzende",
entry_date="29.10.2023", entry_date="29.10.2023",
contact_mail="Julia-albring95@hotmail.de", contact_mail="Julia-albring95@hotmail.de",
contact_steam="https://steamcommunity.com/profiles/76561198089911312" contact_steam="https://steamcommunity.com/profiles/76561198089911312"
), MemberInfo( ), MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/anon.png"), picture_path=from_root("ezgg_website/assets/member_pictures/jessy.png"),
name="Jessy \"JessySixx\" R.", name="Jessy \"JessySixx\" R.",
position="Schatzmeisterin", position="Schatzmeisterin",
entry_date="29.10.2023", entry_date="29.10.2023",
@ -49,7 +49,7 @@ class DatabaseService:
contact_mail=None, contact_mail=None,
contact_steam=None contact_steam=None
), MemberInfo( ), MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/anon.png"), picture_path=from_root("ezgg_website/assets/member_pictures/tom.png"),
name="Tom \"Tcprod\" C.", name="Tom \"Tcprod\" C.",
position="Mitglied", position="Mitglied",
entry_date="29.10.2023", entry_date="29.10.2023",