@page "/User" @using Iceshrimp.Backend.Components.PublicPreview.Attributes @attribute [Route("/@{Acct}")] @attribute [PublicPreviewRouteFilter] @inherits AsyncComponentBase @if (_user is null) { Context.Response.StatusCode = 404;

Not found

This user doesn't appear to exist on this server

} else {
@(_user.Bio ?? new MarkupString("This user hasn't added a bio yet."))
@if (_user.MovedToUri != null) {
This user has migrated to a different account.
}
@@@_user.Username - @_instanceName @if (_user.Bio is { } bio) { } }