Laravel Blade Dynamic Class Loop Foreach

<x-post-card :post="$post" class="{{ $loop->iteration < 3 ? 'col-span-3' : 'col-span-2' }}" />
DJ Ultimate Disco Party