@extends('layouts.admin') @section('title', 'Detail Page Hero') @section('content')

Detail Page Hero

Hero section untuk halaman {{ ucfirst($pageHero->page_identifier) }}

Informasi Hero

Detail lengkap hero section

{{ ucfirst($pageHero->page_identifier) }}
@if($pageHero->is_active) Aktif @else Nonaktif @endif

{{ $pageHero->title }}

@if($pageHero->subtitle)

{{ $pageHero->subtitle }}

@endif
{{ ucfirst($pageHero->height) }} @switch($pageHero->height) @case('small') (40% viewport) @break @case('medium') (60% viewport) @break @case('large') (80% viewport) @break @case('fullscreen') (100% viewport) @break @endswitch
{{ ucfirst($pageHero->text_alignment) }}
{{ $pageHero->text_color === 'white' ? 'Putih' : 'Gelap' }}
{{ $pageHero->background_overlay_color }} ({{ $pageHero->background_overlay_opacity }}%)
@if($pageHero->cta_primary_text || $pageHero->cta_secondary_text)
@if($pageHero->cta_primary_text)

CTA Utama

{{ $pageHero->cta_primary_text }}

@if($pageHero->cta_primary_url) Buka @endif
@if($pageHero->cta_primary_url)

{{ $pageHero->cta_primary_url }}

@endif
@endif @if($pageHero->cta_secondary_text)

CTA Sekunder

{{ $pageHero->cta_secondary_text }}

@if($pageHero->cta_secondary_url) Buka @endif
@if($pageHero->cta_secondary_url)

{{ $pageHero->cta_secondary_url }}

@endif
@endif
@endif

{{ $pageHero->created_at->format('d M Y H:i') }}

{{ $pageHero->updated_at->format('d M Y H:i') }}

Background Image

@if($pageHero->background_image) Background Image @else

Tidak ada background image

Menggunakan warna overlay saja

@endif

Preview

{{ $pageHero->title }}

@if($pageHero->subtitle)

{{ Str::limit($pageHero->subtitle, 80) }}

@endif @if($pageHero->cta_primary_text || $pageHero->cta_secondary_text)
@if($pageHero->cta_primary_text) {{ $pageHero->cta_primary_text }} @endif @if($pageHero->cta_secondary_text) {{ $pageHero->cta_secondary_text }} @endif
@endif

Preview dengan tinggi {{ $pageHero->height }}

@endsection