package components import ( "context" "github.com/starfleetcptn/gomft/internal/db" ) templ Profile(ctx context.Context, user db.User) { @LayoutWithContext("Profile", ctx) {

Profile

Profile Information

Personal details and application settings.

Email
{ user.Email }
Role
if user.GetIsAdmin() { Administrator } else { Regular User }
Theme

Change Password

Update your password to keep your account secure.

Password must be at least 8 characters with letters, numbers, and special characters
All profile changes are securely logged for your protection
} }