@php /** @var App\Models\User $user */ use App\Enums\SocialLinksPosition; @endphp {{ $user->name }} @include('page.styles', ['theme' => $user->theme])
@if($user->avatarUrl()) {{ $user->name }} @else
{{ mb_substr($user->name, 0, 1) }}
@endif @if($user->social_links_position->value == SocialLinksPosition::TOP) @include('page.social-links') @endif

{{ $user->name }}

@if($user->bio)

{{ $user->bio }}

@endif @include('page.links', [ 'links' => $user->links()->whereIn('type', config('links.types_when_creating'))->where('is_active', 1)->orderBy('sort')->get(), 'theme' => $user->theme ]) @if($user->social_links_position->value == SocialLinksPosition::BOTTOM) @include('page.social-links') @endif