@extends('layouts.site') @section('title', "{$menu->name} | Winners | India's Coolest Store Awards") @section('body_class', 'page-winner-menu page-inner') @push('styles') @endpush @section('content')

FINALIST {{ $menu->name }}

@forelse ($categories as $category) @php $nameParts = preg_split('/\s+/u', trim($category['name']), -1, PREG_SPLIT_NO_EMPTY) ?: []; $accentWord = count($nameParts) > 1 ? array_pop($nameParts) : null; $titleLead = count($nameParts) > 0 ? implode(' ', $nameParts) : $category['name']; @endphp

@if ($accentWord) {{ $titleLead }} {{ $accentWord }} @else {{ $category['name'] }} @endif

@if (count($category['entries']) > 0)
@foreach ($category['entries'] as $entry)
@if (!empty($entry['image_url'])) {{ $entry['company'] }} @else @endif {{ $entry['result_label'] }}
@if (trim($entry['company']) !== '')

{{ $entry['company'] }}

@endif @if (trim($entry['city']) !== '')

{{ $entry['city'] }}

@endif
@endforeach
@else

Companies for this category will be published soon.

@endif
@empty

Winner categories for this section will be published soon.

@endforelse
@endsection