@extends ('layouts.site') @section ('title', "Jury India's Coolest Store Awards - {$jury->name}, {$jury->position}") @section ('body_class', 'page-inner page-jury-detail') @push('styles') @endpush @section ('content') @php $img = !empty($juryDetailImageUrl) ? $juryDetailImageUrl : $juryCardImageUrl; $nameParts = preg_split('/\s+/u', trim($jury->name), -1, PREG_SPLIT_NO_EMPTY) ?: []; $accentWord = count($nameParts) > 1 ? array_pop($nameParts) : null; $titleLead = count($nameParts) > 0 ? implode(' ', $nameParts) : $jury->name; @endphp
@if (!empty($img))
{{ $jury->name }}
@endif

@if ($accentWord) {{ $titleLead }} {{ $accentWord }} @else {{ $jury->name }} @endif

@if (!empty($jury->position))

{{ $jury->position }}

@endif
{!! $jury->detail_html !!}
@endsection