implement more social links, change naming of e.V.

This commit is contained in:
David Rodenkirchen
2024-06-06 17:24:20 +00:00
parent 5dee350c6a
commit 09ff8c78a9
19 changed files with 152 additions and 53 deletions
+20 -21
View File
@@ -1,9 +1,7 @@
import rio
from from_root import from_root
from ezgg_website.components import MemberInfo
from ezgg_website.components.member_card import MemberInfo
from ..models import SocialPlatform, SocialLink, MemberInfo
# @ToDo: Make real database service at some point
@@ -18,50 +16,51 @@ class DatabaseService:
name="David \"Typhus\" R.",
position="1. Vorsitzender",
entry_date="29.10.2023",
contact_mail="vorstand@ezgg-ev.de",
contact_steam="https://steamcommunity.com/id/originaltyphus"
socials=[
SocialLink(SocialPlatform.MAIL, "mailto://vorstand@ezgg-ev.de"),
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/id/originaltyphus"),
SocialLink(SocialPlatform.DISCORD, "https://discordapp.com/users/384329938292965382"),
SocialLink(SocialPlatform.FACEBOOK, "https://www.facebook.com/david.kaiser.5661"),
SocialLink(SocialPlatform.GIT, "https://git.jdrodenkirchen.de/drodenkirchen")
]
), MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/jule.png"),
name="Julia \"Ravenchild\" A.",
position="2. Vorsitzende",
entry_date="29.10.2023",
contact_mail="vorstand@ezgg-ev.de",
contact_steam="https://steamcommunity.com/profiles/76561198089911312"
socials=[
SocialLink(SocialPlatform.MAIL, "mailto://vorstand@ezgg-ev.de"),
SocialLink(SocialPlatform.STEAM, "https://steamcommunity.com/profiles/76561198089911312"),
SocialLink(SocialPlatform.INSTAGRAM, "https://www.instagram.com/j.u.l.e.1995")
]
), MemberInfo(
picture_path=from_root("ezgg_website/assets/member_pictures/jessy.png"),
name="Jessy \"JessySixx\" R.",
position="Schatzmeisterin",
entry_date="29.10.2023",
contact_mail=None,
contact_steam=None
socials=[
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",
contact_mail=None,
contact_steam=None
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",
contact_mail=None,
contact_steam=None
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",
contact_mail=None,
contact_steam=None
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",
contact_mail=None,
contact_steam=None
entry_date="29.10.2023"
)
]