@php $storeName = \App\Models\Setting::where('key', 'store_name')->value('value') ?? 'DigiShop'; $storeDesc = \App\Models\Setting::where('key', 'store_description')->value('value') ?? 'Marketplace digital terbaik.'; @endphp @section('title', $storeName . ' - ' . $storeDesc) {{-- ============================================================ --}} {{-- HERO SECTION --}} {{-- ============================================================ --}} @php $heroS = \App\Models\Setting::whereIn('key', [ 'hero_bg_color1', 'hero_bg_color2', 'hero_bg_angle', 'hero_eyebrow', 'hero_headline_1', 'hero_headline_2', 'hero_tagline', 'hero_cta1_label', 'hero_cta1_url', 'hero_cta2_label', 'hero_cta2_url', 'hero_badge1', 'hero_badge2', 'hero_badge3', ])->pluck('value', 'key'); $heroBgColor1 = $heroS['hero_bg_color1'] ?? '#ffffff'; $heroBgColor2 = $heroS['hero_bg_color2'] ?? '#f3f4f6'; $heroBgAngle = $heroS['hero_bg_angle'] ?? '135'; $heroEyebrow = $heroS['hero_eyebrow'] ?? ''; $heroH1 = $heroS['hero_headline_1'] ?? 'Temukan Produk Digital'; $heroH2 = $heroS['hero_headline_2'] ?? 'Berkualitas Tinggi'; $heroTagline = $heroS['hero_tagline'] ?? (\App\Models\Setting::where('key', 'store_description')->value('value') ?? 'Akses instan ke produk digital premium — dari template, e-book, hingga source code siap pakai.'); $heroCta1Label = $heroS['hero_cta1_label'] ?? 'Lihat Katalog'; $heroCta1Url = $heroS['hero_cta1_url'] ?? '#catalog'; $heroCta2Label = $heroS['hero_cta2_label'] ?? ''; $heroCta2Url = $heroS['hero_cta2_url'] ?? ''; $heroBadge1 = $heroS['hero_badge1'] ?? 'Transaksi Aman & Terenkripsi'; $heroBadge2 = $heroS['hero_badge2'] ?? 'Akses Instan Setelah Disetujui'; $heroBadge3 = $heroS['hero_badge3'] ?? 'Unduh Tanpa Batas'; $heroStoreName = \App\Models\Setting::where('key', 'store_name')->value('value') ?? 'DigiShop'; $heroGradient = "linear-gradient({$heroBgAngle}deg, {$heroBgColor1}, {$heroBgColor2})"; @endphp
{{-- Dot Grid Pattern --}}
{{-- Eyebrow label --}} {{ $heroEyebrow ?: ($heroStoreName . ' — Marketplace Digital') }}

{{ $heroH1 }}
{{ $heroH2 }}

{{ $heroTagline }}

@if($heroCta1Label) {{ $heroCta1Label }} @endif @if($heroCta2Label) {{ $heroCta2Label }} @endif
{{-- Trust Badges --}} @if($heroBadge1 || $heroBadge2 || $heroBadge3)
@if($heroBadge1)
{{ $heroBadge1 }}
@endif @if($heroBadge2)
{{ $heroBadge2 }}
@endif @if($heroBadge3)
{{ $heroBadge3 }}
@endif
@endif
{{-- ============================================================ --}} {{-- CATALOG SECTION --}} {{-- ============================================================ --}} {{-- ============================================================ --}} {{-- VIDEO SHOWCASE SECTION --}} {{-- ============================================================ --}} @php $videoActive = \App\Models\Setting::where('key', 'video_section_active')->value('value') ?? '0'; $videoTitle = \App\Models\Setting::where('key', 'video_title')->value('value') ?? 'Tampilan Sekilas Aplikasi'; $videoDesc = \App\Models\Setting::where('key', 'video_description')->value('value') ?? 'Intip fitur-fitur keren di dalamnya.'; $videoSource = \App\Models\Setting::where('key', 'video_source_type')->value('value') ?? 'youtube'; $videoYtId = \App\Models\Setting::where('key', 'video_youtube_id')->value('value') ?? ''; $videoFile = \App\Models\Setting::where('key', 'video_file')->value('value') ?? ''; @endphp @if($videoActive === '1' && $videos->count() > 0)

Walkthrough Produk

Gambaran visual interaktif aplikasi dan template digital kami.

{{-- Duplicate items for smooth infinite loop illusion --}} @php $displayVideos = $videos->count() < 4 ? $videos->concat($videos)->concat($videos)->concat($videos) : $videos->concat($videos); @endphp @foreach($displayVideos as $video)
Klik untuk Play
@if($video->source_type === 'youtube' && $video->youtube_id) Video Thumbnail @elseif($video->source_type === 'upload' && $video->file_path) @else
@endif
Walkthrough

{{ $video->title }}

@if($video->description)

{{ $video->description }}

@endif
@endforeach
@endif