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/SBogers95/rentman.io/resources/views/site/organisms/otherModels.blade.php
<div class="o-other-models">

    <h4 class="o-other-models__title">
        {{ $otherModelTitle or 'Insert your heading' }}
    </h4>

    <div class="o-other-models__grid">
        @foreach($otherModels as $model)

            <article class="o-other-models__item  c-thumbnail  @if(isset($hasNoImage) && $hasNoImage)  c-thumbnail--no-image @endif">

                <a class="c-thumbnail__link"
                   href="{{$resourceRoute}}/{{$model->translation->slug}}">

                    <div class="c-thumbnail__frame  has-hover-effect">
                        <span class="c-thumbnail__image"  @if(isset($model->images) && $model->images->count() != 0) style="background-image: url('{{ $model->images->first()->small_image_url }}');" @endif></span>
                    </div>


                    <div class="c-thumbnail__content">
                        <p class="c-thumbnail__caption">{{ $model->translation->name }}</p>
                    </div>

                    <div class="c-thumbnail__button">
                        @include('site.components.textButton', ['modifiers' => 'icon', 'textButtonText' => __('site/global.readMore')])
                    </div>
                </a>
            </article>

        @endforeach
    </div>

</div>