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/blijegasten/blijegasten.be/resources/views/site/organisms/trending.blade.php
<div class="o-trending  @if(isset($cssClasses)) {{$cssClasses}} @endif">
    <nav class="o-trending__main">
        <div class="c-heading">
            <h2 class="c-heading__title">@lang('site/global.trending.title')</h2>
            <p class="c-heading__subtitle">@lang('site/global.trending.subtitle')</p>
        </div>
        <ul class="o-trending__list">

            @if(!empty($composedCategories))
                @foreach($composedCategories->children as $catItem)
                    @break($loop->iteration > 6)
                    <li class="o-trending__item">
                        <a class="o-trending__tile" href="{{$links->categories->route}}/{{$catItem->translation->slug}}">
                            <figure class="o-trending__icon">
                                @if(config('site.category_icon.' . $catItem->code_name) !== null)
                                    @include('site.components.icons.categories.' . config('site.category_icon.' . $catItem->code_name))
                                @elseif(\Illuminate\Support\Facades\View::exists('site.components.icons.categories.'.$catItem->code_name))
                                    @include('site.components.icons.categories.'.$catItem->code_name)
                                @else
                                    @include('site.components.icons.categories.bbq')
                                @endif
                            </figure>
                            <span class="o-trending__label">{{$catItem->translation->name}}</span>
                        </a>
                    </li>
                @endforeach
            @endif

            @if(isset($links->categories))
                <li class="o-trending__item">
                    <a class="o-trending__tile  o-trending__tile--more" href="{{$links->categories->route}}">
                        <figure class="o-trending__icon">
                            @include('site.components.icons.arrowhead')
                        </figure>
                        <span class="o-trending__label">@lang('site/global.trending.more')</span>
                    </a>
                </li>
            @endif
        </ul>
    </nav>

</div>