diff --git a/views/single-event.blade.php b/views/single-event.blade.php index aaa0adbf..8c43e8a1 100644 --- a/views/single-event.blade.php +++ b/views/single-event.blade.php @@ -4,21 +4,21 @@ @stop @section('above') -@if(!empty($event['image_src'])) - @segment([ - 'layout' => 'full-width', - 'image' => $event['image_src'], - 'background' => 'primary', - 'textColor' => 'light', - 'overlay' => 'dark', - 'classList' => ['modularity-event-hero', 'u-margin__bottom--5'], - 'textAlignment' => 'center', - 'title' => get_the_title(), - 'subTitle' => 123, - 'content' => $event['occasion']['formatted'] ?? false, - ]) - @endsegment -@endif + @if(!empty($event['image_src'])) + @segment([ + 'layout' => 'full-width', + 'image' => $event['image_src'], + 'background' => 'primary', + 'textColor' => 'light', + 'overlay' => 'dark', + 'classList' => ['modularity-event-hero', 'u-margin__bottom--5'], + 'textAlignment' => 'center', + 'title' => get_the_title(), + 'subTitle' => 123, + 'content' => $event['occasion']['formatted'] ?? false, + ]) + @endsegment + @endif @stop @section('content') @@ -29,7 +29,7 @@ ]) @enddatebadge @endif - + @typography([ 'variant' => 'h1', 'element' => 'span', @@ -45,7 +45,7 @@ @if(!empty($event['introText'])) {!! $event['introText'] !!} @endif - + @if(!empty($event['booking_link']) || !empty($event['ticket_includes']))
@include('widgets.ticket') diff --git a/views/widgets/additional-ticket-types.blade.php b/views/widgets/additional-ticket-types.blade.php index e22197f6..e2a8016b 100644 --- a/views/widgets/additional-ticket-types.blade.php +++ b/views/widgets/additional-ticket-types.blade.php @@ -10,16 +10,16 @@ {{ $ticketType['ticket_name'] }} @endtypography @endif - + @endforeach @endif
@endcard -@endif \ No newline at end of file +@endif