{{ $section['label'] }}
@php $existing = $items->first(); $langId = $existing ? ($translations[$existing->idhero]->firstWhere('locale', 'id') ?? null) : null; $langEn = $existing ? ($translations[$existing->idhero]->firstWhere('locale', 'en') ?? null) : null; @endphp @if (!$existing)

Belum ada data Hero Banner. Klik Edit untuk mengisi.

@else
@if ($existing->gambar) @else

Belum ada gambar

@endif
Tagline (ID)
{!! $langId->tagline ?? '-' !!}
Tagline (EN)
{!! $langEn->tagline ?? '-' !!}
Deskripsi (ID)
{!! $langId->deskripsi ?? '-' !!}
Deskripsi (EN)
{!! $langEn->deskripsi ?? '-' !!}
Keyword
@forelse($heroKeywords as $kw) {{ $kw->text_id }} @empty - @endforelse
CTA
@forelse($heroCtas as $cta)
{{ $cta->text_id }} {{ $cta->link }} {{ !empty($cta->is_new_tab) ? 'Tab Baru (_blank)' : 'Tab Sama (_self)' }}
@empty - @endforelse
Status
{{ $existing->isactive == '1' ? 'Aktif' : 'Non Aktif' }}
@endif