@foreach($slides as $slide) @php $translation = $slide->translations->first(); if(is_null($translation)) continue; @endphp
@if($slide->video) @elseif($slide->image)
@endif

@if(isset($slide->titleParts) && is_array($slide->titleParts)) {{ $slide->titleParts['firstWord'] }} {{ $slide->titleParts['restOfText'] }} @else {{ $translation->name ?? 'Discover' }} {{ 'The beauty of world' }} @endif

{{ $slide->description }}

@if ($translation && !empty($translation->url)) @endif
@endforeach
@if(count($slides) > 1)
@endif
@foreach($tours as $tour) @php $translation = $tour->translations->first(); if(!$translation) continue; $tourService = app(App\Services\TourService::class); $lowestPriceInfo = $tourService->getLowestPrice($tour); @endphp
{{ $translation->name ?? $tour->name }}

{{ $translation->name ?? $tour->name }}

@if($lowestPriceInfo)

€{{ number_format($lowestPriceInfo['price'], 2) }}

@endif {{ $tour->duration }} {{ __('Days') }} {{ __('Book Now') }}
@endforeach