@page "/web/account/profile" @model DysonNetwork.Sphere.Pages.Account.ProfileModel @{ ViewData["Title"] = "Profile"; } @if (Model.Account != null) {

Profile Settings

Manage your account information and preferences

@Model.Account.Name?.Substring(0, 1).ToUpper()

@Model.Account.Nick

@Model.Account.Name

@Model.Account.Profile.Level
Level
@Model.Account.Profile.Experience
XP
@Model.Account.CreatedAt.ToDateTimeUtc().ToString("yyyy/MM/dd")
Member since

Profile Information

Basic Information

Full Name
@($"{Model.Account.Profile.FirstName} {Model.Account.Profile.MiddleName} {Model.Account.Profile.LastName}".Trim())
Username
@Model.Account.Name
Nickname
@Model.Account.Nick
Gender
@Model.Account.Profile.Gender

Additional Details

Location
@Model.Account.Profile.Location
Birthday
@Model.Account.Profile.Birthday?.ToString("MMMM d, yyyy", System.Globalization.CultureInfo.InvariantCulture)
Bio
@(string.IsNullOrEmpty(Model.Account.Profile.Bio) ? "No bio provided" : Model.Account.Profile.Bio)
} else {

Profile Not Found

User profile not found. Please log in to continue.

Go to Login
} @section Scripts { }