<div class="d-flex user my-2">
    @isset($user)
        <img class="img-fluid d-block" style="background-color: {{ $user->bg_color }};" src="{{ asset('images/avatars/' . $user->avatar) }}" alt="ava">
        <div>
            <div><span class="d-md-none fw-bold">{{ $role ?? 'Пользователь' }}: </span>{{ $user->sname }}</div>
            <div class="role text-secondary">{{ $user->subscribe ?? $user?->roles()?->first()?->title }}</div>
        </div>
    @endisset
</div>
