Merge branch 'feature/add-picture-for-chris' into 'main'
add picture for chris See merge request ezgg/ezgg-website!5
This commit is contained in:
commit
44ff8d5302
BIN
ezgg_website/assets/member_pictures/chris.png
Normal file
BIN
ezgg_website/assets/member_pictures/chris.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 107 KiB |
@ -23,6 +23,7 @@ NAVIGATION_LINKS = [
|
|||||||
NavigationLink("Datenschutz", "material/privacy-tip", "/privacy")
|
NavigationLink("Datenschutz", "material/privacy-tip", "/privacy")
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
class Navigation(rio.Component):
|
class Navigation(rio.Component):
|
||||||
@rio.event.on_page_change
|
@rio.event.on_page_change
|
||||||
async def on_page_change(self) -> None:
|
async def on_page_change(self) -> None:
|
||||||
@ -50,19 +51,19 @@ class Navigation(rio.Component):
|
|||||||
]
|
]
|
||||||
|
|
||||||
return rio.Row(
|
return rio.Row(
|
||||||
rio.Rectangle(
|
rio.Rectangle(
|
||||||
content=rio.Column(
|
content=rio.Column(
|
||||||
*links,
|
*links,
|
||||||
spacing=1,
|
spacing=1,
|
||||||
margin=1, align_x=0
|
margin=1, align_x=0
|
||||||
),
|
|
||||||
fill=self.session.theme.neutral_color,
|
|
||||||
corner_radius=self.session.theme.corner_radius_medium,
|
|
||||||
shadow_radius=0.5,
|
|
||||||
shadow_color=self.session.theme.hud_color,
|
|
||||||
shadow_offset_y=0
|
|
||||||
),
|
),
|
||||||
align_y=0,
|
fill=self.session.theme.neutral_color,
|
||||||
margin=1,
|
corner_radius=self.session.theme.corner_radius_medium,
|
||||||
margin_top=0
|
shadow_radius=0.5,
|
||||||
)
|
shadow_color=self.session.theme.hud_color,
|
||||||
|
shadow_offset_y=0
|
||||||
|
),
|
||||||
|
align_y=0,
|
||||||
|
margin=1,
|
||||||
|
margin_top=0
|
||||||
|
)
|
||||||
|
|||||||
@ -56,7 +56,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/chris.png"),
|
||||||
name="Chris \"Meliodas\" K.",
|
name="Chris \"Meliodas\" K.",
|
||||||
position="Mitglied",
|
position="Mitglied",
|
||||||
entry_date="29.10.2023",
|
entry_date="29.10.2023",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user