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/ijzerenman.komma.pro/app/views/layouts/pages/sitemap.blade.php
@extends('layouts.master')


@section('content')

    @include('layouts.partials.breadcrumb')

    <div class="content-block">
        <div class="description {{ $class or '' }}">
            <h2>{{ $title }}</h2>
            <div class="waves-holder">
                <span class="waves"></span>
            </div>

            <ul class="sitemap">
            @foreach($globals as $key => $global)

                <li>
                    <a href="{{ $global->route }}" class="title">{{ $global->name }}</a>
                    <ul>
                        @if(count($global->children))

                            @foreach($global->children as $page)

                                <li><a href="/{{ $page->route }}" data-color="{{ Str::lower($global->name) }}">{{ $page->name }}</a></li>

                            @endforeach

                        @endif
                    </ul>
                </li>

                @if($key == 2)
                    </ul>
                    <ul class="sitemap">
                @endif

            @endforeach
            </ul>

           {{-- <ul>
                @foreach($items as $item)
                    <li>
                        <a href="{{ $item['loc'] }}">{{ (empty($item['title'])) ? $item['loc'] : $item['title'] }}</a>
                    </li>
                @endforeach
            </ul>--}}
        </div>
    </div>
@stop