{{-- resources/views/dashboard/profile/index.blade.php --}} @extends('layouts.user') @section('title', 'My Profile') @section('styles') @endsection @section('content')
{{-- Page header --}}

My Profile

Home Profile
{{-- ══ HERO ══ --}}
{{-- Avatar --}}
@if(!empty(auth()->user()->avatar)) avatar @else {{ strtoupper(substr(auth()->user()->name, 0, 1)) }} @endif
@if(auth()->user()->email_verified_at)
@endif
{{-- Identity --}}
{{ auth()->user()->name }}
{{ Str::slug(auth()->user()->name, '') }} Joined {{ auth()->user()->created_at?->format('d M Y') }} @if(auth()->user()->country) {{ auth()->user()->country }} @endif
Investor @if(auth()->user()->email_verified_at) Verified @else Unverified @endif @if(auth()->user()->currency) {{ auth()->user()->currency }} @endif
{{-- Actions --}}
{{-- ══ KPI RIBBON ══ --}}
Balance
${{ number_format((float)(auth()->user()->balance ?? 0), 2) }}
Account funds
Transactions
{{ $recentTransactions->count() }}
Recent activity
Currency
{{ auth()->user()->currency ?? '—' }}
Base currency
Last Active
{{ auth()->user()->updated_at?->diffForHumans() }}
Last update
{{-- ══ BODY ══ --}}
{{-- Left --}}
{{-- Account details --}}
Account Details
Edit
Full Name
{{ auth()->user()->name }}
Email Address
{{ auth()->user()->email }}
@if(auth()->user()->email_verified_at) ✓ Verified @else ✗ Unverified @endif
Username
{{ auth()->user()->username ?? 'Not set' }}
Country
{{ auth()->user()->country ?? 'Not set' }}
Currency
{{ auth()->user()->currency ?? 'Not set' }}
Member Since
{{ auth()->user()->created_at?->format('d F Y') }}
{{-- Balance dark card --}}
Account Balance
${{ number_format((float)(auth()->user()->balance ?? 0), 2) }}
{{ auth()->user()->currency ?? 'USD' }} · {{ auth()->user()->email }}
{{-- /.pf-left --}} {{-- Right: activity feed --}}
Recent Wallet Activity
View All
@forelse($recentTransactions as $transaction) @php $in = $transaction->direction === 'credit'; @endphp
{{ ucfirst($transaction->type) }} {{ $transaction->asset }}
{{ $transaction->reference }}
{{ $transaction->created_at?->format('d M Y, H:i') }}
{{ $in ? '+' : '−' }}{{ number_format((float)$transaction->amount, 8) }}
{{ ucfirst($transaction->status) }}
@empty
No transactions yet Your wallet activity will appear here once you make a deposit. Make a Deposit
@endforelse
{{-- /.pf-body --}}
{{-- /.pf-page --}} @endsection