@extends('store.layout.main') @php $sfThemes = [ 'forest' => ['label' => 'Sunny', 'desc' => 'Golden cream & amber', 'bg' => '#fffbe8', 'surface' => '#fff8d6', 'accent' => '#d97706'], 'emerald' => ['label' => 'Emerald', 'desc' => 'Mint green & dark forest', 'bg' => '#edf6f2', 'surface' => '#f4fbf8', 'accent' => '#0d5c56'], 'berry' => ['label' => 'Berry', 'desc' => 'Lavender & violet', 'bg' => '#f5f0fe', 'surface' => '#faf8ff', 'accent' => '#7c3aed'], 'arctic' => ['label' => 'Arctic', 'desc' => 'Cool blue & navy', 'bg' => '#eef4fc', 'surface' => '#f6fafe', 'accent' => '#0e5fa8'], 'mono' => ['label' => 'Mono', 'desc' => 'Pure black & white', 'bg' => '#f5f5f7', 'surface' => '#ffffff', 'accent' => '#1d1d1f'], ]; $currentTheme = old('theme', $sf['theme'] ?? 'forest'); $previewSrc = $branch->logo ? Storage::url($branch->logo) : ($business && $business->logo ? Storage::url($business->logo) : null); $isDefaultLogo = !$branch->logo && $business && $business->logo; $heroPreviewSrc = !empty($sf['hero_image']) ? Storage::url($sf['hero_image']) : null; $serializedSections = old('sections_json', json_encode($sections ?? [], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)); @endphp @section('page-header')