@php // Page content use Illuminate\Support\Facades\DB; use App\Page; $config = DB::table('config')->get(); $supportPage = DB::table('pages')->where('page_name', 'footer')->orWhere('page_name', 'contact')->get(); $pages = Page::get(); // Default $navbar = true; $footer = true; if ($config[38]->config_value == "no") { // $navbar = false; $footer = false; } @endphp {{-- Custom CSS --}} @section('css') @endsection @extends('layouts.index', ['nav' => $navbar, 'banner' => false, 'footer' => $footer, 'cookie' => false, 'setting' => true, 'title' => true, 'title' => __('Sign Up')]) @section('content') {{-- Register page --}}

{{ __('Sign Up') }}

{{ __('Join the digital business card revolution and simplify your networking.') }}

{{-- Register form --}}
@csrf
{{-- Full Name --}}

{{ __('Full Name') }} *

@error('name') {{ $message }} @enderror
{{-- Email --}}

{{ __('Email address') }} *

@error('email') {{ $message }} @enderror
{{-- Mobile Number --}}

{{ __('Mobile Number with country code') }}

@error('mobile_number') {{ $message }} @enderror
{{-- Password --}}

{{ __('Password') }} *

{{-- Show/Hide Password Button --}}
@error('password') {{ $message }} @enderror
{{-- Confirm Password --}}

{{ __('Confirm Password') }} *

{{-- Referral Code --}} @if ($config[80]->config_value == '1')

{{ __('Referral Code') }}

@error('referral_code') {{ $message }} @enderror
@endif {{-- Recaptcha --}} @if ($settings->recaptcha_configuration['RECAPTCHA_ENABLE'] == 'on')
{!! htmlFormSnippet() !!}
@endif {{-- Terms --}}

{{ __('I agree to the') }} @if ($pages[108]->page_name == 'terms' && $pages[108]->status == 'active') {{ __('Terms & Conditions') }} @else {{ __('Terms & Conditions') }} @endif {{ __('of') }} {{ config('app.name') }}.

@error('terms') {{ $message }} @enderror
{{-- Submit Button with effects --}}
{{-- Signin with Google --}} @if ($settings->google_configuration['GOOGLE_ENABLE'] == 'on')

{{ __('Or sign up instantly with Google') }}

@endif

{{ __('Already have an account?') }} {{ __('Login now') }}

{{-- Custom JS --}} @section('custom-js') @endsection @endsection