@php $domain = $_SERVER['SERVER_NAME']; @endphp
@if(!config('app_custom.backstrech') && config('app_custom.background_path') != "") @php $bg_path = explode(',',config('app_custom.background_path')); @endphp @else @if($domain == "yagk.esaku.id") @endif @if($domain == "sida.esaku.id") @endif @endif
@if(config('app_custom.freepik'))

Image by Freepik

@endif

Sign In

@csrf @if(Session::has('alert')) @endif @if ($errors->has('nik'))
{{ $errors->first('nik') }}
@endif
@if ($errors->has('password'))
{{ $errors->first('password') }}
@endif
{{-- @if($domain == "127.0.0.1") Log in with Google @elseif($domain == "jurnal.esaku.id" || $domain == "edujurnal.com") Log in with Google @else   @endif --}} @if(config('app_custom.login_google')) Log in with Google @endif
@if(config('app_custom.backstrech')) @if(config('app_custom.background_path') != "") @php $bg_path = explode(',', config('app_custom.background_path')); $bg_path_mobile = explode(',', config('app_custom.background_path_mobile')); // convert PHP array to JS array of objects $bg_js = []; foreach($bg_path as $bg) { $bg_js[] = "{ url: '".asset($bg)."' }"; } $bg_mobile_js = []; foreach($bg_path_mobile as $bg) { $bg_mobile_js[] = "{ url: '".asset($bg)."' }"; } @endphp @else @if($domain == "tiket.esaku.id") @elseif($domain == "tm.esaku.id" || $domain == "dilan.telkomedika.co.id") @elseif($domain == "sida.esaku.id") @elseif($domain == "esaku.id" || $domain == "dev.esaku.id") @elseif($domain == "jurnal.esaku.id" || $domain == "dijurnal.com" || $domain == "edujurnal.com") @elseif($domain == "yagk.esaku.id") @else @endif @endif @endif @if (Session::has('status')) @endif