34 lines
No EOL
1.2 KiB
Text
34 lines
No EOL
1.2 KiB
Text
@inject CustomAuthenticationStateProvider AuthStateProvider;
|
|
@inject State State;
|
|
<AuthorizeView>
|
|
<Authorized>
|
|
<NavLink>
|
|
<button class="transparent circle small large">
|
|
<img class="responsive avatar" src="https://profiles.cache.lol/@State.SelectedAddressName/picture" alt="@State.SelectedAddressName">
|
|
<menu class="no-wrap">
|
|
<AvatarMenuLinks></AvatarMenuLinks>
|
|
</menu>
|
|
</button>
|
|
<small class="s m address"><i class="fa-solid fa-fw fa-at tiny"></i>@State.SelectedAddressName</small>
|
|
</NavLink>
|
|
<div class="l">
|
|
Hey, @State.Name. <br />
|
|
<a class="address" href="/person/@State.SelectedAddressName"><i class="fa-solid fa-fw fa-at tiny"></i>@State.SelectedAddressName</a>
|
|
</div>
|
|
</Authorized>
|
|
<NotAuthorized>
|
|
<NavLink>
|
|
<button class="transparent square small large">
|
|
<img class="responsive" src="/img/prami-neighbourhood.svg">
|
|
<menu class="no-wrap">
|
|
<AvatarMenuLinks></AvatarMenuLinks>
|
|
</menu>
|
|
</button>
|
|
<small class="s m honey">Omg.lol</small>
|
|
</NavLink>
|
|
<div class="l">
|
|
Hey there. <br />
|
|
<a href="/login">Login?</a>
|
|
</div>
|
|
</NotAuthorized>
|
|
</AuthorizeView> |