@extends('layouts.app') @section('content') {{-- ── Page Header ── --}}

My Profile

Manage your account details

{{-- ── Left: Profile Info ── --}}
{{-- Avatar Card --}}
{{ strtoupper(substr($user->name, 0, 1)) }}

{{ $user->name }}

{{ $user->email }}

@forelse ($user->roles as $role) {{ $role->name }} @empty No role @endforelse
{{-- Account Info --}}

Account Info

Member Since {{ $user->created_at->format('d M Y') }}
Last Updated {{ $user->updated_at->format('d M Y') }}
Email Verified @if ($user->email_verified_at) Verified @else Not Verified @endif
{{-- ── Right: Forms ── --}}
{{-- Success Alert --}} @if (session('success'))
{{ session('success') }}
@endif {{-- ── Update Name ── --}}

Profile Information

@csrf @method('PUT') {{-- Name --}}
@error('name')

{{ $message }}

@enderror
{{-- Email (read only) --}}
{{-- ── Update Password ── --}}

Change Password

@csrf @method('PUT') {{-- Current Password --}}
@error('current_password')

{{ $message }}

@enderror
{{-- New Password --}}
@error('password')

{{ $message }}

@enderror
{{-- Confirm Password --}}
@endsection