Changed ProfilePicture Page to use Board

This commit is contained in:
Mia Rose Winter 2024-01-20 18:33:07 +01:00
parent fb51b4b360
commit bb7e888ffa
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E

View file

@ -13,9 +13,8 @@
<PageTitle>@Localizer["Title"]</PageTitle> <PageTitle>@Localizer["Title"]</PageTitle>
<section class="max-w-xs" Model="Input" FormName="profile" OnValidSubmit="OnValidSubmitAsync" method="post"> <BoardComponent>
<h2 class="text-2xl lg:text-4xl mb-3">@Localizer["Title"]</h2> <BoardCardComponent Heading="@Localizer["Title"]">
<div class="w-24 h-24"> <div class="w-24 h-24">
<ProfilePictureComponent ProfileId="@User?.Id" /> <ProfilePictureComponent ProfileId="@User?.Id" />
</div> </div>
@ -25,7 +24,8 @@
</div> </div>
<FileUploadComponent FileUploadedCallback="ProfilePictureChanged"/> <FileUploadComponent FileUploadedCallback="ProfilePictureChanged"/>
</label> </label>
</section> </BoardCardComponent>
</BoardComponent>
@code { @code {
private ApplicationUser? User { get; set; } private ApplicationUser? User { get; set; }