网站首页 网站源码
website
站点相关全部源代码,隐藏了一些关于服务器的信息
@inject IAuthenticationService AuthenticationService
<MudCard Elevation="0" Square="true" Class="@Class" Style="@Style">
    <MudCardHeader>
        <CardHeaderAvatar>
            <MudAvatar Image="@(AuthenticationService.User.Account.Avatar)" />
        </CardHeaderAvatar>
        <CardHeaderContent>
            <MudText Typo="Typo.body2">@AuthenticationService.User.Account.Name</MudText>
            <MudText Typo="Typo.caption">@AuthenticationService.User.Account.Sign</MudText>
        </CardHeaderContent>
    </MudCardHeader>
    <MudDivider Class="mb-4"/>
</MudCard>

@code {
    [Parameter] public string Class { get; set; }
    [Parameter] public string Style { get; set; }
}
loading