@php if (!isset($homepage)) $homepage = (object) []; if (!isset($themeSettings)) $themeSettings = (object) []; $settings = $section->settings ?? []; // Builder-synced keys with fallbacks // PRIORITIZE generic 'title' and 'badge' if they are set (from the top of the inspector) $badgeText = $settings['badge'] ?? $settings['hero_badge_text'] ?? $themeSettings->hero_badge ?? null; $title1 = $settings['hero_title_line1'] ?? ''; $title2 = $settings['hero_title_line2'] ?? ''; $title3 = $settings['hero_title_line3'] ?? ''; if (isset($settings['title']) && trim($settings['title']) !== '') { $title = $settings['title']; } elseif ($title1 || $title2 || $title3) { $title = trim("$title1 $title2 $title3"); } else { $title = $section->name ?? 'The Ultimate Creator Marketplace'; } $subtitle = $settings['subtitle'] ?? $settings['hero_subtitle'] ?? 'Discover high-performance digital assets validated by experts.'; $ctaText1 = $settings['hero_btn1_text'] ?? $settings['cta_text_1'] ?? ($settings['cta_text'] ?? 'Explore Hub'); $ctaLink1 = $settings['hero_btn1_url'] ?? $settings['cta_link_1'] ?? ($settings['cta_link'] ?? '/products'); $ctaText2 = $settings['hero_btn2_text'] ?? $themeSettings->hero_secondary_button_text ?? null; $ctaLink2 = $settings['hero_btn2_url'] ?? $themeSettings->hero_secondary_button_link ?? '#'; // Layout & Styling $paddingTop = $settings['padding_top'] ?? '10px'; $paddingBottom = $settings['padding_bottom'] ?? '0px'; $bg = $settings['bg_color'] ?? 'transparent'; $tx = $settings['text_color'] ?? 'inherit'; $ptStyle = "padding-top: $paddingTop;"; $pbStyle = "padding-bottom: $paddingBottom;"; $bgStyle = $bg !== 'transparent' ? "background-color: $bg;" : ''; $txStyle = $tx !== 'inherit' ? "color: $tx;" : ''; // Animation Settings $animType = $settings['anim_type'] ?? 'fade-in-up'; $animDuration = $settings['anim_duration'] ?? '0.6s'; $animDelay = $settings['anim_delay'] ?? '0s'; @endphp
{{-- Refined Background Gradient --}}
{{-- Left Content: Heavy-Duty Typography --}}
@if($badgeText)
{{ $badgeText }}
@endif

{!! nl2br(e($title)) !!}

{{ $subtitle }}

{{-- Action Area: Original Elite Search Block --}}
@if(($settings['show_search'] ?? false) || ($homepage->hero_search_enabled ?? false))
@else
{{ $ctaText1 }} @if($themeSettings->hero_secondary_button_text) {{ $themeSettings->hero_secondary_button_text }} @endif
@endif
{{-- Right Column: Single Professional 3D Graphic --}}
{{-- Premium Asset Card (Professional "Google-Style" Banner Graphics) --}}
Verified Platform

Access the Elite Digital Hub.

Secure. Transparent. Scalable.

@for($i=0;$i<3;$i++)
AI
@endfor
Top Authors
$9,480.00
{{-- Secondary Floating Info --}}
Real-time Sales
+ $1,248
{{-- Centered Global Stats Row --}} @if(($settings['show_stats'] ?? false) && isset($settings['metrics']))
@foreach ($settings['metrics'] ?? [] as $metric)
{{ $metric['value'] ?? $metric['val'] ?? '' }} {{ $metric['label'] ?? '' }}
@endforeach
@endif