@php $slides = collect([new \App\Models\Content([ 'title' => $page->title, 'subtitle' => $page->subtitle, 'body' => $page->body, 'image' => $page->image, 'illustration' => 'hero', 'button_label' => match($template) { 'seva' => 'Explore services', 'news' => 'Explore stories', 'electronics' => 'Explore appliances', 'restaurant' => 'Explore the menu', 'furniture' => 'Explore the collection', 'software' => 'Explore our services', 'hospitality' => 'Explore stays & spaces', 'wine' => 'Explore the collection', 'erp' => 'Explore solutions', default => 'Explore our spices' }, 'button_path' => '/services', ])])->concat($banners); @endphp
count() > 1) data-home-slider aria-roledescription="carousel" @endif>
@foreach($slides as $slide)
first) inert aria-hidden="true" @endif>
{{ $slide->image ? str_replace(title) : $design['image_alt'] }}" width="1672" height="941" @if($loop->first) fetchpriority="high" @else loading="lazy" @endif decoding="async" draggable="false">
@if($slide->subtitle)

{{ $slide->subtitle }}

@endif @if($loop->first)

{{ $slide->title }}

@else

{{ $slide->title }}

@endif

{{ $slide->body }}

@if($slide->button_label && array_key_exists($slide->button_path ?? '', \App\Support\HomeBanners::DESTINATIONS)) {{ $slide->button_label }} @endif @if($loop->first){{ $template === 'software' ? 'Meet the company' : 'Our story' }}@endif

{{ $s['name'] }}{{ $design['highlights'][$loop->index % count($design['highlights'])] }}

@endforeach
@if($slides->count() > 1) @endif
@if($template !== 'news')@include('partials.theme-intro')@endif