{{-- User's dashboard / profile page --}} @extends('layouts.app') @php /** @var \App\Models\Table[] $tables */ /** @var \App\Models\User $user */ @endphp @section('content')
{{-- Dash card --}}
@icon(fa-user-circle-o fa-pr fa-large)

@if(authed() && user()->is($user)) @sr(Your dashboard -) @else @sr(User's page -) @endif {{ $user->title }}

@if(authed() && user()->is($user)) Edit @endif
@if($user->bio) @if(mb_strlen($user->bio) > 250) @else

@sr(About me:) {{ $user->bio }}

@endif @endif @if($user->website) @endif
@icon(fa-link, User's Website:) {{ $user->website }}
@icon(fa-vcard-o, User's handle:) {{ $user->handle }}
@icon(fa-calendar, Join date:) Joined {{ $user->created_at->diffForHumans() }}
{{-- Table list card --}}

@if(authed() && user()->is($user)) Your Tables @else User's Tables @endif

@if(authed() && user()->is($user)) New @endif
@include('profile._table-list')
@endsection