{{-- Top Header Row: Title with Icon Avatar & Subtitle on Left, Top Quick Actions on Right --}}
{{ __('labels.hb_live_preview') }}
Changes you make will reflect in the live preview based on
the selected date, zone and device.
{{-- Filter Rows Container (Side by Side in Same Row) --}}
{{-- Filter 1: DateTime Simulation --}}
{{-- Filter 2: Delivery Zone Simulation --}}
Select Zone
{{-- Bottom Controls Row: Device Selectors on Left & Zoom/Status/Preview Mode on Right --}}
@if (($platform ?? 'app') === 'app')
@else
@endif
@if (($platform ?? 'app') === 'app')
@endif
{{-- Status Indicator (Live / Preview animated pulse dot) --}}
Live
{{-- Light / Dark Theme Toggle --}}
{{-- Preview / Back to Edit Mode Toggle --}}
@php
$homeGeneralSettings =
app(\App\Services\SettingService::class)
->getSettingByVariable(\App\Enums\SettingTypeEnum::HOME_GENERAL_SETTINGS())
?->toArray(request())['value'] ?? [];
$allTitle = !empty($homeGeneralSettings['title']) ? $homeGeneralSettings['title'] : 'All';
$allIcon = $homeGeneralSettings['icon'] ?? '';
$allActiveIcon = $homeGeneralSettings['activeIcon'] ?? ($homeGeneralSettings['icon'] ?? '');
$bgType = $homeGeneralSettings['backgroundType'] ?? '';
$fontColor = $homeGeneralSettings['fontColor'] ?? '';
$appBgColor =
$homeGeneralSettings['backgroundColorApp'] ?? ($homeGeneralSettings['backgroundColor'] ?? '#0066cc');
$appBgImage = $homeGeneralSettings['backgroundImageApp'] ?? ($homeGeneralSettings['backgroundImage'] ?? '');
$appBgAnim =
$homeGeneralSettings['backgroundAnimationApp'] ?? ($homeGeneralSettings['backgroundAnimation'] ?? '');
$webBgColor =
$homeGeneralSettings['backgroundColorWeb'] ?? ($homeGeneralSettings['backgroundColor'] ?? '#ffffff');
$webBgImage = $homeGeneralSettings['backgroundImageWeb'] ?? ($homeGeneralSettings['backgroundImage'] ?? '');
$webBgAnim =
$homeGeneralSettings['backgroundAnimationWeb'] ?? ($homeGeneralSettings['backgroundAnimation'] ?? '');
@endphp
@if (($platform ?? 'app') === 'app')
{{-- Phone Mockup (App Layout using Devices.css v0.2.0) --}}
{{ __('labels.loading') }}
Home
Categories
Cart
Account
@else
@php
$webSettingRecord = \App\Models\Setting::find('web');
$webValues = is_array($webSettingRecord?->value) ? $webSettingRecord->value : [];
$customerWebUrl = !empty($webValues['customerWebUrl'])
? $webValues['customerWebUrl']
: 'https://yourstore.com';
@endphp
{{-- Browser Mockup (Web Layout) --}}
{{ __('labels.loading') }}
@endif