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/SBogers84/zuiderbos.nl/app/views/layouts/pages/next.blade.php
@extends('layouts.master')

@section('editable_content')

    <?php $pageLinks = $page->findChildren() ?>

    <div class="image-wrapper">
        @include('layouts.partials.navigation')

        {{-- Load headerBlock out dynamic blocks and use it as header --}}
        @include('layouts.partials.overview.header', ['content' => $page->content->translation->description['headerBlock'], 'pageLinks' => $pageLinks])

    </div>

    @include('layouts.partials.dynamic.dynamicBlocks')

    @if(isset($page->content->translation->description['news']))
        @include('layouts.partials.posts.postRow', ['news' => $page->school->news()->with('translations')->orderBy('posts.date', 'desc')->where('date', '<=', \Carbon\Carbon::today())->get()->take(3)])
    @endif

    @unless(sizeof($pageLinks) == 0)
        @include('layouts.partials.overview.afterLinks', ['pageLinks' => $pageLinks])
    @endunless

@endsection

@section('extra-js')
    <script src="/js/jquery.touchSwipe.min.js"></script>
    <script src="/js/overviewSlider.js"></script>
@endsection