@php $googleLoginActive = getArrayValue($setting?->social_login, 'google.status') == \App\Enums\Status::ACTIVE->value; $facebookLoginActive = getArrayValue($setting?->social_login, 'facebook.status') == \App\Enums\Status::ACTIVE->value; @endphp @if($googleLoginActive || $facebookLoginActive)
{{ __('OR') }}
{{ __('Sign Up with') }}
@foreach($setting?->social_login as $key => $social) @if($key == "google") @if($googleLoginActive) {{ __(ucfirst($key)) }} @endif @else @if($facebookLoginActive) {{ __(ucfirst($key)) }} @endif @endif @endforeach
@endif