@extends('layouts.app') @section('content')
{{ $user->username }}
@can('update', $user->profile) Add New Post @endcan
@can('update', $user->profile) Edit Profile @endcan
{{ $postCount }} posts
{{ $followersCount }} followers
{{ $followingCount }} following
{{ $user->profile->title }}
{{ $user->profile->description }}
{{ $user->profile->url }}
@foreach($user->posts as $post) @endforeach
@endsection