{{-- User's dashboard / profile page --}} @extends('layouts.app') @php /** @var \App\Models\Table[] $tables */ /** @var \App\Models\User $user */ @endphp @section('content')
{{-- Dash card --}}
{{ $user->title }} @if(authed() && user()->is($user)) Edit @endif
@if (session('status')) @endif @if($user->bio) @if(mb_strlen($user->bio) > 250) @else

{{ $user->bio }}

@endif @endif @if($user->website)

{{-- --}}{{ $user->website }}

@endif

{{-- --}}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('user._table-list')
@endsection