@extends('layouts.app') @section('title') Profile of: {{ $user->username }} @endsection @section('content')
profile picture

{{ $user->username }}

@auth @if ($user->id === auth()->user()->id) @endif @endauth

{{ $user->followers->count() }} @choice('follower|followers', $user->followers->count())

{{ $user->following->count() }} Following

{{ $user->posts->count() }} Posts

@auth @if ($user->id !== auth()->user()->id) @if (!$user->is_following(auth()->user()))
@csrf
@else
@csrf @method('DELETE')
@endif @endif @endauth

Posts

@endsection