default avatar
This commit is contained in:
parent
c7e3f3af47
commit
be1d75ce73
35 changed files with 1626 additions and 15 deletions
2
Yavsc/Views/Shared/Components/Avatar/Default.cshtml
Normal file
2
Yavsc/Views/Shared/Components/Avatar/Default.cshtml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
@model string
|
||||
<img src="@Model" alt="" />
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<a asp-controller="Manage" class="navbar-link" asp-action="Index" title="Manage">
|
||||
<img src="~/Avatars/@(User.Identity.Name).xs.png" />
|
||||
@await Component.InvokeAsync("Avatar", User.GetUserId(), ".xs")
|
||||
@SR["Hello"] @User.GetUserName()!</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue