Built on
Insight.
Proven by
Impact.

Our work blends deep consumer understanding with sharp strategy and fearless creativity to solve real business challenges.

Sort by:
@if ( ($activeFilter === 'recommended' && $recommended->isEmpty()) || ($activeFilter === 'latest' && (!$latest || $latest->isEmpty())) )

No Message

Nothing to show for this filter

@endif
{{-- ================= RECOMMENDED ================= --}} @if ($activeFilter === 'recommended') @php $patterns = ['6-4-2', '5-7', '2-4-6', '7-5']; $i = 0; $p = 0; $total = $recommended->count(); @endphp @while ($i < $total) @php $pattern = $patterns[$p % count($patterns)]; @endphp {{-- 6 / 4 / 2 --}} @if ($pattern === '6-4-2' && $i + 1 < $total)
@php $i += 2; $p++; @endphp @continue @endif {{-- 5 / 7 --}} @if ($pattern === '5-7')
@php $i++; $p++; @endphp @continue @endif {{-- 2 / 4 / 6 --}} @if ($pattern === '2-4-6' && $i + 1 < $total)
@php $i += 2; $p++; @endphp @continue @endif {{-- 7 / 5 --}} @if ($pattern === '7-5')
@php $i++; $p++; @endphp @continue @endif @endwhile @endif {{-- ================= LATEST ================= --}} {{-- ================= LATEST ================= --}} @if ($activeFilter === 'latest') @php // latest collection ko recommended jaisa treat karo $latestWorks = $latest; $patterns = ['6-4-2', '5-7', '2-4-6', '7-5']; $i = 0; $p = 0; $total = $latestWorks->count(); @endphp @while ($i < $total) @php $pattern = $patterns[$p % count($patterns)]; @endphp {{-- 6 / 4 / 2 --}} @if ($pattern === '6-4-2' && $i + 1 < $total)
@php $i += 2; $p++; @endphp @continue @endif {{-- 5 / 7 --}} @if ($pattern === '5-7')
@php $i++; $p++; @endphp @continue @endif {{-- 2 / 4 / 6 --}} @if ($pattern === '2-4-6' && $i + 1 < $total)
@php $i += 2; $p++; @endphp @continue @endif {{-- 7 / 5 --}} @if ($pattern === '7-5')
@php $i++; $p++; @endphp @continue @endif @endwhile @endif