@push('header') @at(tt('assets/styles/pages/profile_edit/social.scss')) @endpush @push('profile_edit_content')
@t('profile.s_social.info')
@t('profile.s_social.connected')
@if (sizeof($user->socialNetworks) > 0)
@foreach ($user->socialNetworks as $network)
{{ $network->name }}
@if ((bool) $network->hidden === true) @else @endif @t('profile.s_social.disconnect')
@endforeach
@endif
@t('profile.s_social.not_connected')
@if (sizeof($socials) > 0)
@foreach ($socials as $network) @if (!user()->hasSocialNetwork($network->key))
@t('profile.s_social.connect')
@endif @endforeach
@endif
@endpush @push('footer') @at(tt('assets/js/pages/profile_edit/social.js')) @endpush