@php $isMobile = $isMobile ?? false; $layout = $isMobile ? 'layouts.mobile' : 'layouts.desktop'; $redirectUrl = $redirectUrl ?? request('redirect', session('url.intended')); $isServicesFlow = $isServicesFlow ?? (is_string($redirectUrl) && str_contains($redirectUrl, '/services')); $loginUrl = $redirectUrl ? url('login?redirect=' . urlencode($redirectUrl)) : url('login'); // $googleUrl = route('google.login') . ($redirectUrl ? '?redirect=' . urlencode($redirectUrl) : ''); @endphp @extends($layout) @section('title', $isServicesFlow ? 'Join Gletra Services' : 'Create Account - Gletra') @push('styles') {{-- Google Fonts (disabled) --}} @endpush @section('content') @php $registrationRole = old('role', request('role', 'customer')); $isVendorRegistration = $registrationRole === 'vendor'; $isWorkerRegistration = $registrationRole === 'worker'; @endphp @if($isMobile)
Register
Login
@endif

{{ $isVendorRegistration ? 'Register Your Business' : ($isServicesFlow ? 'Create Account to Continue' : 'Create Account') }}

{{ $isVendorRegistration ? 'Complete steps open Seller account on Gletra.' : ($isServicesFlow ? 'Sign up once, then return to services booking instantly.' : 'Join our community and start shopping') }}

@if($errors->any())
{{ $errors->first() }}
@endif
@csrf @if($redirectUrl) @endif {{-- Step 1: Email & Password --}}

Enter your email and create a secure password.

{{-- Step 2: Name & Referral --}}

Tell us your name. Referral code is optional.

@unless($isVendorRegistration)
@endunless
{{-- Step 3: Shop & Mobile --}}

{{ $isVendorRegistration ? 'Add your shop details and verify mobile number.' : 'Verify your mobile number to complete registration.' }}

+91
{{-- Step 4: Review & Submit --}}

Check your details, then create your account.

{{ $isVendorRegistration ? 'Business Vendor' : 'Shopping Customer' }}
Email—
Full Name—
Referral—
Shop Name—
Mobile—
Mobile Verified—
Data Protection
Encrypted
Privacy First
@endsection @push('scripts') @endpush