{{-- HEADER --}}
{{-- AVATAR --}}
@if ($user->img_path) @else

{{ Str::ucfirst($user->name[0]) }}

@endif

{{ $user->name }}

@if ($user->id !== Auth::id())
@csrf @method('POST') contacter
@if ($is_followed)
@csrf @method('DELETE') ne plus suivre
@else
@csrf suivre
@endif
@endif

{{ $user->bio }}

@forelse ($posts as $post) @empty
Aucun post n'a été trouvé pour ta recherche
@endforelse