@php $profile = $user->location() || $user->profileWebsite() || $user->profileBio() || $user->company() || $user->education() || $user->profileFacebook() || $user->profileTwitter() || $user->profileInstagram() || $user->profileTiktok() || $user->profileYoutube() !== null; @endphp
{{-- Avatar --}}
{{-- Settings and Follow Button --}} @can('follow', $user) @endcan @auth
@if (auth()->id() !== $user->id) {{ __('Report') }} @endif @can('owner', $user) @endcan @can('ban', $user) @if ($user->isBanned()) @else @endif @endcan
@endauth

{{ $user->name ? $user->name : $user->username }}

@if ($profile) @endif
{{ __('Joined on') .' ' .\Carbon\Carbon::parse($user->created_at)->locale(str_replace('_', '-', app()->getLocale()))->isoFormat('MMMM, YYYY') }}
@if ($user->stories_count > 0)
{{ $user->stories_count }} {{ __('stories') }}
@endif @if ($user->followables_count > 0)
{{ $user->followables_count }} {{ __('followers') }}
@endif @if ($user->followings_count > 0)
{{ $user->followings_count }} {{ __('following') }}
@endif
@include('livewire.front.user.partials.menu')
@if ($user->location())
{{ $user->location() }}
@endif @if ($user->profileWebsite() != '') @endif @if ($user->profileBio() || $user->company() || $user->education())
@if ($user->profileBio())
{{ $user->profileBio() }}
@endif @if ($user->company())
{{ __('Work:') }} {{ $user->company() }}
@endif @if ($user->education())
{{ __('Education:') }} {{ $user->education() }}
@endif
@endif @if ( $user->profileFacebook() || $user->profileTwitter() || $user->profileInstagram() || $user->profileTiktok() || $user->profileYoutube())
@if ($user->profileFacebook() != '') @endif @if ($user->profileTwitter() != '') @endif @if ($user->profileInstagram() != '') @endif @if ($user->profileTiktok() != '') @endif @if ($user->profileYoutube() != '') @endif
@endif
@foreach ($pinnedStories as $story) @endforeach @if ($pinnedStoriesCount != 0) @if ($pinnedStories->hasMorePages())
@endif @else
{{ __('There are no pinned stories here yet') }}
@endif