@php $appName = \App\Models\AppSetting::getValue('app_name', config('app.name', 'App')); $appLogo = \App\Models\AppSetting::getValue('app_logo', null); $appFavicon = \App\Models\AppSetting::getValue('app_favicon', null); $appIcon = \App\Models\AppSetting::getValue('app_icon', null); $headerBrandingType = \App\Models\AppSetting::getValue('header_branding_type', 'text'); $primaryColor = \App\Models\AppSetting::getValue('primary_color', '#2daa37'); $primaryColorDark = \App\Models\AppSetting::getValue('primary_color_dark', '#1e8a2a'); $headerBrandingType = in_array($headerBrandingType, ['text', 'logo', 'logo_text']) ? $headerBrandingType : 'text'; // Resolve asset URLs $logoUrl = $appLogo ? \App\Services\MediaStorage::url($appLogo) : asset('images/logo.png'); $faviconUrl = $appFavicon ? \App\Services\MediaStorage::url($appFavicon) : asset('favicon.ico'); $iconUrl = $appIcon ? \App\Services\MediaStorage::url($appIcon) : asset('icon/icon-192x192.png'); @endphp Login - {{ $appName }}
{{-- HERO SECTION --}}

Manage orders, customers, and growth in one place

Use password login, OTP login, or quick sign up without losing the smoother {{ $appName }} experience.

Track performance

Watch orders, sales, and engagement in real time.

Handle orders faster

Stay on top of incoming requests and fulfillment.

Keep customers close

Support repeat ordering with a simpler auth flow.

{{-- PANEL SECTION --}}
{{-- MOBILE LOGO --}} {{-- HEADER --}}

Welcome back

Sign in or create your {{ $appName }} account.

{{-- ALERTS --}} @if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
{{ $errors->first() }}
@endif {{-- DEMO CREDENTIALS LINKS --}} @if($demoCredentials->isNotEmpty())
Demo Accounts:
@foreach($demoCredentials as $credential) @endforeach
@endif {{-- TOGGLE --}} @php $activeForm = session('otp_phone') ? 'otp' : (old('active_form') ?? 'login'); @endphp
{{-- LOGIN FORM --}}
@csrf @if(request()->has('redirect')) @endif
@error('email') {{ $message }} @enderror
@error('password') {{ $message }} @enderror
Forgot password?
{{-- OTP FORM --}}
@csrf
@error('phone') {{ $message }} @enderror
@if(session('otp_phone'))
@error('otp') {{ $message }} @enderror
@endif
{{-- REGISTER FORM --}}
@csrf
@error('name') {{ $message }} @enderror
@error('email') {{ $message }} @enderror
@error('phone') {{ $message }} @enderror
@error('password') {{ $message }} @enderror
{{-- FOOTER --}}
@include('partials.web-visit-tracker', ['panel' => 'auth'])