@php use App\Helpers\Helper; $configData = Helper::applClasses(); $showLoginCarousel = $loginCarouselEnabled && $loginCarouselSlides->isNotEmpty(); @endphp @extends('layouts/fullLayoutMaster') @section('title', __('locale.auth.login')) @section('page-style') @if(config('no-captcha.login')) {!! RecaptchaV3::initJs() !!} @endif @endsection @section('content')
@if($showLoginCarousel) @else @endif

{{ __('locale.labels.welcome_to') }} {{ config('app.name') }}

{{ __('locale.auth.welcome_message') }}

@if(config('app.stage') == 'demo')
@endif @if($allowPasskeyLogin ?? false)
{{ __('locale.auth.or') }}
@endif @if(config('account.can_register'))

{{ __('locale.auth.new_on_our_platform') }}?  {{ __('locale.auth.register') }}

@endif @if(config('services.facebook.active') || config('services.twitter.active') || config('services.google.active') || config('services.github.active'))
{{ __('locale.auth.or') }}
@endif @php $termsOfUseHtml = Helper::app_config('terms_of_use'); $privacyPolicyHtml = Helper::app_config('privacy_policy'); $hasTermsOfUse = Helper::hasLegalDocumentContent($termsOfUseHtml); $hasPrivacyPolicy = Helper::hasLegalDocumentContent($privacyPolicyHtml); $customScript = Helper::app_config('custom_script'); $hasCustomScript = $customScript && Helper::cookieConsentAllows('marketing') ? $customScript : null; @endphp @if($hasPrivacyPolicy || $hasTermsOfUse)

@if($hasTermsOfUse) {{ __('locale.labels.terms_of_use') }} @endif @if($hasPrivacyPolicy) {{ __('locale.labels.privacy_policy') }} @endif

@endif @if($hasCustomScript !== null) {!! $hasCustomScript !!} @endif
@endsection @push('scripts') @if($allowPasskeyLogin ?? false) @endif @endpush