Fix formatting and styling of profile picture display, as well as display email when logged in as well

This commit is contained in:
2024-10-25 17:01:50 -04:00
parent 2d7b91413b
commit acf15961cd
2 changed files with 10 additions and 2 deletions

View File

@ -42,6 +42,7 @@ pub fn Profile() -> impl IntoView {
<h1>Not Logged In</h1>
}>
<h1>{move || user.get().map(|user| user.map(|user| user.username).unwrap_or_default())}</h1>
<h2>{move || user.get().map(|user| user.map(|user| user.email).unwrap_or_default())}</h2>
</Show>
</div>
<div class="profile-icon" on:click=open_dropdown>