gruendungsmitglied + member card rework

This commit is contained in:
David Rodenkirchen 2024-10-19 21:31:09 +02:00
parent 68364fbc3f
commit f604d3acaf
2 changed files with 6 additions and 5 deletions

View File

@ -13,7 +13,8 @@ class MemberCard(rio.Component):
rio.Image(self.info.picture_path, height=9, margin_bottom=1.3, margin_top=0.8), 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.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(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(f"Mitglied seit", style=rio.TextStyle(italic=True), margin_bottom=0.4, justify="center"),
rio.Text(f"{self.info.entry_date}", style=rio.TextStyle(italic=True, font_size=0.9), margin_bottom=0.4, justify="center"),
social_links_grid social_links_grid
) )

View File

@ -48,7 +48,7 @@ class DatabaseService:
), MemberInfo( ), MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/tim.png"), picture_path=from_root("ezgg_website/assets/member_pictures/tim.png"),
name="Tim \"Matschwicht\" B.", name="Tim \"Matschwicht\" B.",
position="Mitglied", position="Gründungsmitglied",
entry_date="29.10.2023", entry_date="29.10.2023",
socials=[ socials=[
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198247114792"), SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198247114792"),
@ -56,7 +56,7 @@ class DatabaseService:
), MemberInfo( ), MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/dennis.png"), picture_path=from_root("ezgg_website/assets/member_pictures/dennis.png"),
name="Dennis \"Goodman\" P.", name="Dennis \"Goodman\" P.",
position="Mitglied", position="Gründungsmitglied",
entry_date="29.10.2023", entry_date="29.10.2023",
socials=[ socials=[
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198160425987"), SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198160425987"),
@ -64,7 +64,7 @@ class DatabaseService:
), MemberInfo( ), MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/tom.png"), picture_path=from_root("ezgg_website/assets/member_pictures/tom.png"),
name="Tom \"Tcprod\" C.", name="Tom \"Tcprod\" C.",
position="Mitglied", position="Gründungsmitglied",
entry_date="29.10.2023", entry_date="29.10.2023",
socials=[ socials=[
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198118936378"), SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198118936378"),
@ -72,7 +72,7 @@ class DatabaseService:
), MemberInfo( ), MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/chris.png"), picture_path=from_root("ezgg_website/assets/member_pictures/chris.png"),
name="Chris \"Meliodas\" K.", name="Chris \"Meliodas\" K.",
position="Mitglied", position="Gründungsmitglied",
entry_date="29.10.2023", entry_date="29.10.2023",
socials=[ socials=[
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198299462425"), SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198299462425"),