@extends('layouts.subweb') @section('title', $page->meta_title ?? $brand->name) @section('meta_description', $page->meta_description ?? $brand->description) @section('content') @php $s = $page->sections ?? []; $hero = $s['hero'] ?? []; $stats = $s['stats'] ?? []; $solutions = $s['solutions'] ?? []; $why = $s['why'] ?? []; $industries = $s['industries'] ?? []; $cta = $s['cta'] ?? []; @endphp {{-- ── HERO ── --}}
@if (!empty($hero['badge']))
{{ $hero['badge'] }}
@endif

{!! $hero['headline'] ?? $brand->name !!}

{{ $hero['subheadline'] ?? $brand->description }}

@if (!empty($hero['cta_primary'])) {{ $hero['cta_primary'] }} → @endif @if (!empty($hero['cta_secondary'])) {{ $hero['cta_secondary'] }} @endif
@if (!empty($stats))
@foreach ($stats as $stat)
{{ $stat['value'] }}
{{ $stat['label'] }}
@endforeach
@endif
{{-- ── SOLUTIONS ── --}} @if (!empty($solutions))

{{ $s['solutions_title'] ?? 'Layanan Digital Terintegrasi' }}

{{ $s['solutions_sub'] ?? 'End-to-end, dari konsultasi hingga maintenance.' }}

@foreach ($solutions as $item)
{{ $item['icon'] ?? '⚡' }}

{{ $item['title'] }}

{{ $item['description'] }}

@if (!empty($item['tags']))
@foreach ($item['tags'] as $tag) {{ $tag }} @endforeach
@endif
@endforeach
@endif {{-- ── WHY US ── --}} @if (!empty($why))

{{ $s['why_title'] ?? 'One Partner, All Solutions.' }}

@foreach ($why as $item)
{{ $item['icon'] }}

{{ $item['title'] }}

{{ $item['description'] }}

@endforeach
@endif {{-- ── INDUSTRIES ── --}} @if (!empty($industries))

{{ $s['industries_title'] ?? 'Siapa Klien Kami' }}

@foreach ($industries as $item)
{{ $item['icon'] }} {{ $item['name'] }}
@endforeach
@endif {{-- ── CTA / CONTACT ── --}}

{{ $cta['headline'] ?? 'Siap Memulai Transformasi Digital?' }}

{{ $cta['subheadline'] ?? 'Konsultasi gratis. Kami rancang solusi yang tepat untuk bisnis Anda.' }}

@php $contactEmail = \App\Models\SiteSetting::get('contact_email', 'info@vestaglobal.co.id', $brand->id); @endphp @php $contactPhone = \App\Models\SiteSetting::get('contact_phone', '+62-21-555-7890', $brand->id); @endphp ✉ {{ $contactEmail }} 📞 {{ $contactPhone }}
{{ $cta['btn_label'] ?? 'Hubungi Kami Sekarang' }} →
@endsection