HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/sdo/sdoschoonmaak.nl/resources/views/site/partials/overviews/largeBadges.blade.php
<div class="large-badges-grid index-grid-row">

    @if( $models->count() != 0)
        <section class="overview grid-row @if(\Input::get('page', null) == null || \Input::get('page', null) == 1) first-page @endif ">

            @foreach($models as $model)

                <article id="model-{{$loop->index}}">
                    <a href="/@if(isset($modelTypeRoute)){{$modelTypeRoute}}/@endif{{$model->translation->slug}}">
                        <figure>
                            @if(isset($model->images) && $model->images->count() != 0)
                                @foreach(['large', 'medium', 'small'] as $size)
                                    <span class="{{$size}}" style="background-image: url('{{ $model->images->first()->{$size.'_image_url'} }}')"></span>
                                @endforeach
                            @endif
                        </figure>

                        @if(isset($model->date))
                            <div class="date">
                                {{$model->date->format('d')}}<br/>
                                {{$model->date->format('m')}}
                            </div>
                        @endif

                        <h2>
                            {{ $model->translation->name }}
                            <span class="arrow">
                                @include('site.svg.arrow')
                            </span>
                        </h2>
                    </a>
                </article>

            @endforeach

        </section>
    @else
        <h2 class="no-available">{{ $noAvailableMessage }}</h2>
    @endif

    @include('site.partials.small.pagination7', ['paginator' => $models])

</div>