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/eleo.komma.nl/resources/views/templates/sitemap.blade.php
@extends('master')

@section('title', 'Sitemap')
@section('meta_description', '')

@section('content')

    <div class="c-page-title">
        <h1 class="c-page-title__heading">Sitemap</h1>
    </div>

    <nav class="l-contain">
        <ul class="c-sitemap  o-block">

            @php
                $pages = new \Illuminate\Database\Eloquent\Collection($page->findChildren());
                $pages = $pages->load('translation', 'translation.route');
            @endphp

            {{-- Generate all sitemap loop for find children except home --}}
            @foreach($pages as $child)
                {{--@unless($child->getCodeName == 'home')--}}
                @include('components.sitemapLoop', ['sitemapItem' => $child])
                {{--@endunless--}}
            @endforeach

        </ul>
    </nav>

    @include('organisms.calloutBar', [
        'heading' => config('site.global_CTA_heading'),
        'button' => App\Buttons\Models\Button::where('id', config('site.global_CTA_button_id'))->with('translations')->first(),
        'servicePoint' => App\Servicepoints\Models\Servicepoint::where('id', config('site.global_servicePoint_id'))->with('translations', 'documents')->first()
    ])


@endsection