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

@section('editable_content')

    @include('layouts.partials.mainText')

    <a class="internalLink arrow-button down centered" href="#scrollToBlock"></a>

    {{-- News overview --}}
    {{--@include('layouts.partials.posts.index', ['news' => $posts])--}}

    @if( !isset($posts->firstPost) )
        <div class="grid-row no-news">
            <h2>@lang('translations.noNewsAvailable')</h2>
        </div>
    @endif

    @if(\Input::get('page', 1) == 1 && isset($posts->firstPost))
        <article class="latest-post" id="scrollToBlock">
            <a href="/{{$posts->firstPost->route}}">

                <figure>
                    <div class="placeholder">
                        <span style="background-image: url('{{$posts->firstPost->medium_image_url}}');"></span>
                    </div>
                </figure>

                <div class="content">

                    <span class="date">{{$posts->firstPost->date->format('d / m / Y')}}</span>
                    <h2>{{$posts->firstPost->name}}</h2>


                    <div class="text">
                        {{$posts->firstPost->meta_description}}
                    </div>

                    <span class="button">
                    @lang('translations.showArticle')
                </span>
                </div>
            </a>
        </article>
    @endif

    <section class="post-overview grid-row">
        <div class="placeholder">
            @foreach($posts->overview as $post)
                @include('layouts.partials.posts.indexPost')
            @endforeach
        </div>

        @if(method_exists($posts->overview, 'links'))
            {{$posts->overview->links('layouts.partials.posts.pagination')}}
        @else
            <div class="pagination-placeholder"></div>
        @endif
    </section>

    <div class="main-buttons-row">
        <p>@lang('translations.moreAbout')</p>
        @include('layouts.partials.mainButtons')
        <div class="background"></div>
    </div>

    @include('layouts.partials.contactRow')

@endsection