The Tech Capital

Upcoming Partner Events

@foreach($events as $event)
@if ($event->logo)

{{ $event->name }}

@endif

{{ $event->name }}

@php $start = $event->starts_at->setTimezone('Europe/London'); $end = $event->ends_at->setTimezone('Europe/London'); @endphp @if ($start->isSameDay($end))

{{ $start->format('d F Y') }}

@elseif ($start->month === $end->month && $start->year === $end->year)

{{ $start->format('d') }} – {{ $end->format('d F Y') }}

@elseif ($start->year !== $end->year)

{{ $start->format('d F Y') }} – {{ $end->format('d F Y') }}

@else

{{ $start->format('d F') }} – {{ $end->format('d F Y') }}

@endif

{{ $event->location }}

Visit Event Page

@endforeach