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/netwerkbrabant/netwerkbrabant.nl/resources/views/site/pages/events/show.blade.php
@extends('site.master', ['pageId' => 'event'])

@section('title', $event->translation->name . ' | ' . $page->translation->meta_title)
@section('meta_description', '')

@section('meta_information')
    <script type="application/ld+json">
        {
          "@context": "http://schema.org",
          "@type": "Event",
          "name": "{{$event->translation->name}}",
          "startDate": "{{$event->date->format('Y-m-d')}}",
          "location": {
            "@type": "Place",
            @if(!empty($event->location_name))
            "name": "{{$event->location_name}}",
            @else
            "name": "{{$event->translation->name}}",
            @endif
        "address": {
          "@type": "PostalAddress",
          "addressCountry": "NLD",
          "addressLocality": "{{$event->location_city}}",
              "postalCode": "{{$event->location_postal}}",
              "streetAddress": "{{$event->location_address}}"
            }
        },
          @if( isset($event->images) && $event->images->count() != 0 )
            "image": [
                "{{ url($event->images->first()->small_image_url)  }}"
             ],
          @endif
        "offers": {
          "@type": "Offer",
          "price": "{{ ($event->price_amount / 100) }}",
            "priceCurrency": "EUR",
            "url": "{{ url( '/events/'. $event->translation->slug. '/' . __('site/routes.events.signUp')) }}"
          },
        "performer": {
              "@type": "PerformingGroup",
              "name": "Netwerk Brabant"
            }
        }


    </script>
@endsection

@section('content')

    {{-- Event main information row--}}
    @include('site.partials.events.main')

    {{-- Addition description and detail information --}}
    <section class="event-details @if($otherEvents->count() == 0) has-no-other-events @endif">
        <div class="grid-row">

            @include('site.partials.events.details')

            <div class="content">
                <div class="kms-content">
                    @if(!empty($event->translation->description))
                        {!! $event->translation->description !!}
                    @elseif(!empty($event->type->translation->description))
                        {!! $event->type->translation->description !!}
                    @endif
                </div>
            </div>
        </div>
    </section>

    @if($premiumUsers !== false)
        @include('site.partials.events.premiumMembers', ['users' => $premiumUsers])
    @endif

    {{-- If there are any sign ups show it on the page --}}
    @includeWhen(!empty($event->signUps && $event->signUps->count() != 0), 'site.partials.events.signUpsOverview', ['event_type' => $event->event_type_id === 9 ? 'breakfast' : 'dinner'])

    @if($otherEvents->count() != 0)

        {{-- Other event in region --}}
        <section class="highlighted-events-row">
            <div class="grid-row">
                @include('site.elements.labelTitle', [
                            'tag' => 'span',
                            'name' => $event->event_type_id === 9 ? 'Agenda' : __('site/events.otherEventsInRegion') . ' ' . $regions->find($event->region_id)->name,
                            'icon' => 'events'
                        ])
                <div class="highlighted-events">
                    @foreach($otherEvents as $otherEvent)
                        @include('site.partials.events.event', ['eventModel' => $otherEvent, 'eventTitleTag' => 'div'])
                    @endforeach
                </div>
            </div>
        </section>

    @endif

@endsection