@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?[..1].ToUpper()

@Model.Account.Nick

@@@Model.Account.Name

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

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)

Security Settings

Access Token

Use this token to authenticate with the API

Keep this token secure and do not share it with anyone.

Active Sessions

This is a list of devices that have logged into your account. Revoke any sessions that you do not recognize.

Current Session
@($"{Request.Headers["User-Agent"]} • {DateTime.Now:MMMM d, yyyy 'at' h:mm tt}")
} else {

Profile Not Found

User profile not found. Please log in to continue.

Go to Login
} @section Scripts { }