@extends('layouts.customer') @section('title', $title) @section('meta_description', $metaDescription) @section('body_class', 'page-home') @section('content') {{-- ===== 1. HERO BANNER ===== --}} @if ($hero)

{!! $heroLang->tagline ?? '' !!}

{!! $heroLang->deskripsi ?? '' !!}
@foreach ($heroCtas as $cta) @php $rawLink = $cta->link ?: '#'; $isNewTab = !empty($cta->is_new_tab); $href = \Illuminate\Support\Str::startsWith($rawLink, ['http://', 'https://', '#', 'mailto:', 'tel:']) ? $rawLink : url($rawLink); @endphp {{ $cta->text }} @endforeach
@foreach ($heroKeywords as $kw)
{{ $kw->text }}
@endforeach
@endif {{-- ===== 2. KATEGORI ===== --}} @if ($kategoris->isNotEmpty())
@endif {{-- ===== 3. PRODUK UNGGULAN ===== --}} @if ($produkUnggulan->isNotEmpty())

{{ __('nav.produk_unggulan') }}

@foreach ($produkUnggulan as $produk)
@endforeach
@endif {{-- ===== 4. WHY US ===== --}} @if ($whyus)

{{ $whyusLang->judul ?? '' }}

{!! $whyusLang->deskripsi ?? '' !!}
@if ($whyus->gambar) Intisolve @endif
@endif {{-- ===== 5. GALERI ===== --}} @if ($galeri->isNotEmpty())
@endif {{-- ===== 6. SPOTLIGHT ===== --}} @if ($spotlight)

{{ $spotlightLang->judul ?? '' }}

{!! $spotlightLang->deskripsi ?? '' !!}
@if ($spotlightLang && $spotlightLang->cta_text) @php $spotlightLink = $spotlight->cta_link ?: '#'; $spotlightIsNewTab = !empty($spotlight->is_new_tab); $spotlightHref = \Illuminate\Support\Str::startsWith($spotlightLink, ['http://', 'https://', '#', 'mailto:', 'tel:']) ? $spotlightLink : url($spotlightLink); @endphp {{ $spotlightLang->cta_text }} @endif
@if ($spotlight->gambar)
{{ $spotlightLang->judul ?? '' }}
@endif
@endif {{-- ===== 7. MARKETPLACE ===== --}} @if ($marketplace->isNotEmpty())

{{ __('nav.marketplace') }}

{{ __('nav.kunjungi_marketplace') }}

@foreach ($marketplace as $mp)
@if ($mp->logo) @endif

{{ $mp->nama_platform }}

@endforeach
@endif {{-- ===== 8. TESTIMONI ===== --}} @if ($testimoni->isNotEmpty())

{{ __('nav.testimoni') ?? 'Bagaimana Pendapat Mereka:' }}

@foreach ($testimoni as $t)

“{!! Str::limit(strip_tags($t->kutipan), 60) !!}”

@if (strlen(strip_tags($t->kutipan)) > 60) @else
@endif
@if ($t->foto) {{ $t->nama_author }} @else
@endif

{{ $t->nama_author }}

{{ $t->jabatan }}

{{-- Modal isi lengkap --}} @endforeach
@endif @endsection @section('meta_extra') {{-- Data kontak untuk popup floating (dipakai layout customer) --}} @endsection @push('js') @endpush