{{-- Avatar --}}
{{ $user->name ? $user->name : $user->username }}
@if ($user->name) {{ '@' . $user->username }} @endif @if ($user->type == 3) {{ __('Admin') }} @elseif($user->type == 2) {{ __('Moderator') }} @endif
{{-- Settings and Follow Button --}}
@if (auth()->id() === $user->id) @endif @if (auth()->id() !== $user->id) @endif @can('ban', $user) @if ($user->isBanned()) @else @endif @endcan
@if ($user->profileBio())
{{ $user->profileBio() }}
@endif
@if ($user->location())
{{ $user->location() }}
@endif
{{ __('Joined on') }} {{ \Carbon\Carbon::parse($user->created_at)->locale(str_replace('_', '-', app()->getLocale()))->isoFormat('MMMM, YYYY') }}
{{ $user->stories->count() }} {{ __('stories') }}
{{ $user->followers()->count() }} {{ __('followers') }}
{{ $user->followings()->count() }} {{ __('following') }}
@if ($user->profileWebsite() != '') {!! cleanUrl($user->profileWebsite()) !!} @endif @if ($user->profileFacebook() != '') @endif @if ($user->profileTwitter() != '') @endif @if ($user->profileInstagram() != '') @endif @if ($user->profileTiktok() != '') @endif @if ($user->profileYoutube() != '') @endif
@if ($pinnedStories->count() > 0)
{{ __('Pinned') }}
@foreach ($pinnedStories as $story) @endforeach
@endif @foreach ($userStoriesLatest as $story) @endforeach @if ($userStoriesCount != 0) @if ($userStoriesLatest->hasMorePages())
@endif @else
{{ __('Write the first story to attract readers to your blog') }}
@endif