@extends('index') @section('content') @include('settings.nav')
@if(config('settings.facebook_login'))

Facebook

@if(auth()->user()->connect->firstWhere('service', 'facebook'))

Connected as {{ auth()->user()->connect->firstWhere('service', 'facebook')->provider_name }}

@else

{{ __('web.FACEBOOK_SERVICE_MSG') }}

@endif
@if(auth()->user()->connect->firstWhere('service', 'facebook')) {{ __('web.SERVICE_AUTHORIZE_DELETE') }} @else {{ __('web.FACEBOOK_SERVICE_LOGIN') }} @endif
@endif @if(config('settings.twitter_login'))

Twitter

@if(auth()->user()->connect->firstWhere('service', 'twitter'))

Connected as {{ auth()->user()->connect->firstWhere('service', 'twitter')->provider_name }}

@else

{{ __('web.TWITTER_SERVICE_MSG') }}

@endif
@if(auth()->user()->connect->firstWhere('service', 'twitter')) {{ __('web.SERVICE_AUTHORIZE_DELETE') }} @else {{ __('web.TWITTER_SERVICE_LOGIN') }} @endif
@endif @if(config('settings.google_login'))
@if(auth()->user()->connect->firstWhere('service', 'google')) @endif

Google

@if(auth()->user()->connect->firstWhere('service', 'google'))

Connected as {{ auth()->user()->connect->firstWhere('service', 'google')->provider_name }}

@else

{{ __('web.GOOGLE_SERVICE_MSG') }}

@endif
@if(auth()->user()->connect->firstWhere('service', 'google')) {{ __('web.SERVICE_AUTHORIZE_DELETE') }} @else {{ __('web.GOOGLE_SERVICE_LOGIN') }} @endif
@endif

{{ __('web.SETTINGS_CONNECT_TIP') }}

@endsection