@extends('web.layouts.main') @section('content') @include('web.components.page-header', ['heading' => $section->title, 'subheading' => $section->text])
@foreach($prizes_rankings as $key => $prize_ranking) @if($key == 0 || $key == 1)

{{ $prize_ranking->title }}

{{ $prize_ranking->prize ? $prize_ranking->prize_formated : '' }}

{{ $prize_ranking->text }}

@endif @endforeach
@foreach($prizes_rankings as $key => $prize_ranking) @if($key != 0 && $key !== 1)

{{ $prize_ranking->title }}

{{ $prize_ranking->prize ? $prize_ranking->prize_formated : '' }}

{{ $prize_ranking->text }}

@endif @endforeach
@endsection