{{-- Neulis Neue Font Faces --}} @if(config('app.env') == 'production') @endif @if(config('app.env') == 'production') @endif @livewireStyles @stack('styles') @php $userCountry = optional(auth()->user())->country; if ($userCountry) { $customerCountryCode = strtoupper((string) $userCountry); } else { $customerCountryCode = request()->headers->has('cloudfront-viewer-country') ? strtoupper((string) request()->header('cloudfront-viewer-country')) : 'AR'; } $paymentMethod = config("payments.country_payment_method.{$customerCountryCode}"); if (is_null($paymentMethod)) { $paymentMethod = config("payments.default_payment_method"); } @endphp @if($paymentMethod == 'mercadopago') @endif @if($paymentMethod == 'stripe') @endif @stack('scripts')
{{-- Onboarding Modal - Shows for new users who haven't completed onboarding --}} @auth @if(auth()->user()->needsOnboarding()) @livewire('customer.onboarding-modal') @endif @endauth {{-- Business Sidebar: hamburger + overlay + sidebar panel, todos position:fixed, fuera de container-fluid para evitar overflow:hidden --}} @auth @if(auth()->user()->role_id == \App\Models\User::BUSINESS_ROL_ID && (!isset($hideSidebar) || !$hideSidebar)) @endif @endauth {{-- Customer (non-business) Sidebar: hamburger + overlay + panel, todos position:fixed, fuera de container-fluid --}} @auth @if(auth()->user()->role_id != \App\Models\User::BUSINESS_ROL_ID && (!isset($hideSidebar) || !$hideSidebar)) @endif @endauth