{{-- resources/views/livewire/pages/profile/show.blade.php --}} @extends('layouts.dashboard') @section('title', 'Profile - PangoQ') @section('content')
Edit Profile
@if($user->profile_photo_path) {{ $user->name }} @else
{{ $user->initials }}
@endif

{{ $user->name }}

Verified

{{ $user->email }}

{{ $user->address ?? 'Sydney, Australia' }}
Joined {{ $user->created_at->format('M Y') }}
{{ $user->trips()->count() ?? 3 }}
Trips
${{ number_format($totalBalance ?? 12450, 0) }}
Saved
{{ $progressPercentage ?? 78 }}%
Progress

About

Full Name {{ $user->name }}
Email {{ $user->email }}
Phone {{ $user->phone_number ?? '+61 412 345 678' }}
Date of Birth {{ $user->date_of_birth ? $user->date_of_birth->format('M j, Y') : 'Jan 15, 1990' }}
Nationality 🇦🇺 {{ $user->nationality ?? 'Australian' }}
Gender {{ ucfirst($user->gender ?? 'Male') }}
ID Number {{ $user->id_card_number ?? '••••••3210' }}
Member Since {{ $user->created_at->format('M Y') }}

Travel Statistics

{{ $user->trips()->count() ?? 3 }}
Total Trips
{{ $user->trips()->where('status', 'completed')->count() ?? 1 }}
Completed
{{ $user->trips()->where('status', 'active')->count() ?? 2 }}
Active
8
Countries

Overall Savings Progress

{{ $progressPercentage ?? 78 }}%
${{ number_format($totalBalance ?? 12450, 0) }} saved ${{ number_format($totalTarget ?? 16000, 0) }} goal

Recent Trips

View All →
@if(isset($user->trips) && $user->trips->count() > 0)
@foreach($user->trips->take(3) as $trip)
{{ substr($trip->destination ?? 'TK', 0, 2) }}

{{ $trip->title ?? 'Tokyo Adventure' }}

{{ $trip->destination ?? 'Tokyo, Japan' }}

${{ number_format($trip->budget ?? 5000, 0) }}
{{ $trip->progress ?? 78 }}% funded
@endforeach
@else

No trips yet

Start planning your first adventure!

Plan Your First Trip
@endif

Account Details

Account Type {{ ucfirst($user->account_type ?? 'Premium') }}
Status {{ ucfirst($user->account_status ?? 'Active') }}
Currency {{ $user->currency ?? 'USD' }}
Account ID {{ $user->account_number ?? '#PQ-' . str_pad($user->id, 6, '0', STR_PAD_LEFT) }}

Recent Activity

Added $500 to savings wallet

2 hours ago

Completed profile verification

1 day ago

Created new trip: Tokyo Adventure

3 days ago

Joined PangoQ community

{{ $user->created_at->diffForHumans() }}

Achievements

🏆
First Trip
Unlocked
💰
Super Saver
$10K Saved
Verified
Profile Complete
🌍
Explorer
Visit 10 Countries
@endsection