+ {{-- Date --}}
+
+
+
+ {{ \Carbon\Carbon::parse($event->event_at)->format('d/m/Y') }}
+
+
+
+
+
+
+ {{ \Carbon\Carbon::parse($event->start_at)->format('H:i:s') }} -
+ {{ \Carbon\Carbon::parse($event->end_at)->format('H:i:s') }}
+
+
+
+
+
+ {{ $event->location }}
+
+
+
+
+ {{ $event->attendees_count }} / {{ $event->max_attendees }} participants
+
+
+ @if ($event->isAttending() &&! $event->isPast() &&! $event->isParticipating(auth()->user()->getKey()))
+
+ Join
+
+ @elseif ($event->onWaitlist() &&! $event->isPast() &&! $event->isParticipating(auth()->user()->getKey()))
+
+ Join Waitlist
+
+ @elseif ($event->isParticipating(auth()->user()->getKey()) === true && ! $event->isPast())
+
+ Leave
+
+ @endif
+