{{ __('site.auth.profile') }}

@if (session('status'))

{{ session('status') }}

@endif @if ($errors->any()) @endif
{{ __('site.auth.name') }}
{{ auth('web')->user()->name }}
{{ __('site.auth.email') }}
{{ auth('web')->user()->email }}
{{ __('site.auth.edit_profile') }}

{{ __('site.auth.connected_accounts') }}

@php $connected = auth('web')->user()->socialAccounts->pluck('provider')->all(); @endphp @foreach (['google' => 'Google', 'facebook' => 'Facebook'] as $provider => $label)
{{ $label }} @if (in_array($provider, $connected, true)) {{ __('site.auth.connected') }} @else {{ __('site.auth.connect') }} @endif
@endforeach
@csrf