๐Ÿ–๏ธ VayKayPics Dashboard {{ ucfirst(auth()->user()->role) }}

Testing environment for VayKayPics iOS app development

๐Ÿ”„ Switch User:
@csrf
@if(session('success'))
โœ…
{{ session('success') }}
@endif @if(session('error'))
โŒ
{{ session('error') }}
@endif
{{ $trips->count() }}
My Trips
๐Ÿงณ Active adventures
{{ $trips->reduce(function($carry, $trip) { return $carry + $trip->photos->count(); }, 0) }}
Total Photos
๐Ÿ“ท Memories captured
{{ auth()->user()->groups()->count() }}
My Groups
๐Ÿ‘ฅ Travel crews
{{ $trips->reduce(function($carry, $trip) { return $carry + $trip->itineraries->count(); }, 0) }}
Total Events
๐Ÿ“‹ Planned activities

๐Ÿงณ My Trips {{ $trips->count() }} total

@if($trips->count() > 0)
@foreach($trips as $trip)
@if($trip->cover_image) {{ $trip->name }} @else
๐Ÿ–๏ธ
@php $now = now(); $status = $trip->start_date > $now ? 'upcoming' : ($trip->end_date < $now ? 'past' : 'active'); @endphp {{ ucfirst($status) }}
@endif

{{ $trip->name }}

{{ $trip->code }}

๐Ÿ‘ฅ {{ $trip->group->name }}

๐Ÿ“… {{ $trip->start_date->format('M j') }} - {{ $trip->end_date->format('M j, Y') }}

{{ $trip->photos->count() }}
๐Ÿ“ท Photos
{{ $trip->itineraries->count() }}
๐Ÿ“‹ Events
{{ $trip->users->count() }}
๐Ÿ‘ฅ Members
@endforeach
@else
๐Ÿงณ

No trips yet - Perfect for testing!

This is ideal for testing the app's empty state and trip creation flow.

@endif