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/SBogers10/csb.komma.pro/resources/views/organisms/featuredProducts.blade.php
<div class="o-block">
    <div class="l-contain">
        @include('organisms.headingRow', [
            'headingRowTitle' => $headingRowTitle ?? __('site/products.our_products'),
            'headingRowButtonLabel' => $headingRowButtonLabel ?? __('site/products.all_products'),
            'headingRowButtonLink' => $headingRowButtonLink ?? $links->products->route,
        ])
    </div>
    <div class="o-card-grid  @if(isset($hasBg) && $hasBg) o-card-grid--has-bg  o-card-grid--single-row @endif">
        <div class="l-contain">

            <ul class="o-card-grid__list">
                @if(!empty($featuredProducts))
                    @foreach($featuredProducts as $prod)
                        <li class="o-card-grid__item">
                            @include('components.card', [
                                 'clickable' => true,
                                 'cardImage' => $prod->productImages->first()->medium_image_url ?? '/img/no-image-card-medium.gif',
                                 'cardLabel' => $prod->translation->name,
                                 'cardLink' => $links->products->route . '/' . $prod->translation->slug,
                            ])
                        </li>
                    @endforeach
                @endif
            </ul>

        </div>
    </div>
</div>