@extends('frontend.auth.layouts.auth') @section('meta') @php $data = metaData('login'); @endphp @endsection @section('description') {{ $data->description }} @endsection @section('title') {{ __('login') }} @endsection @section('og:image') {{ asset($data->image) }} @endsection @section('content')
@csrf

{{ __('log_in') }}

{{ __('dont_have_account') }} {{ __('create_account') }}
@error('email') {{ __($message) }} @enderror
@error('password') {{ __($message) }} @enderror
@if (config('captcha.active'))
{!! NoCaptcha::display() !!}
@if ($errors->has('g-recaptcha-response')) {{ $errors->first('g-recaptcha-response') }} @endif
@endif
@php $google = config('services.google.active') && config('services.google.client_id') && config('services.google.client_secret'); $facebook = config('services.facebook.active') && config('services.facebook.client_id') && config('services.facebook.client_secret'); $twitter = config('services.twitter.active') && config('services.twitter.client_id') && config('services.twitter.client_secret'); $linkedin = config('services.linkedin-openid.active') && config('services.linkedin-openid.client_id') && config('services.linkedin-openid.client_secret'); $github = config('services.github.active') && config('services.github.client_id') && config('services.github.client_secret'); @endphp
@if ($google || $facebook || $twitter || $linkedin || $github)

{{ __('or') }}

@endif
@if ($google) @endif @if ($facebook) @endif @if ($twitter) @endif @if ($linkedin) @endif @if ($github) @endif
@endsection @section('script') @endsection