The Tech Capital

Event Agenda

  • @foreach($dates as $date)
  • @endforeach
@if (count($programmes) > 0)
@php $openFlex = false; @endphp @foreach($programmes as $index => $programme) @if ($programme->track) {{-- Open a flex container if not already open --}} @if (!$openFlex)
@php $openFlex = true; $firstProgrammeId = $programme->id; @endphp @endif
{{-- Close flex container if conditions are met --}} @php $nextTrack = $programmes[$index + 1]->track ?? null; @endphp @if (in_array($programme->track, ['track-1', 'track-2', 'track-3', 'track-4']) && ($nextTrack === 'track-1' || $nextTrack === null))
{{-- Close .flex --}} @php $openFlex = false; @endphp

@endif @else
{{ strtoupper($programme->starts_at->format('jS F')) }}
{{ $programme->starts_at->setTimezone('Europe/London')->format('H:i') }} - {{ $programme->ends_at->setTimezone('Europe/London')->format('H:i')}}

{{$programme->title}}

@if ($programme->description)
@if (Str::wordCount($programme->description) > 65) @if ($open !== $programme->id) {!! Str::markdown($programme->truncated_description) !!} @else {!! Str::markdown($programme->description) !!} @endif @else {!! Str::markdown($programme->description) !!} @endif
@endif @if ($programme->speakers()->count() > 0)
@foreach($programme->speakers()->orderBy('chair', 'DESC')->get() as $speaker)
{{ $speaker->name }}
@if ($speaker->chair) Chair @endif

{{ $speaker->name }}

{{ $speaker->company }}{{ $speaker->position }}

@endforeach
@endif
@if (!$loop->last)

@endif @endif @endforeach {{-- Close any unclosed flex container at the end --}} @if ($openFlex)
@endif
@endif
{{-- Load Siema JS for multiple sliders --}} @push('scripts') @endpush