archivo de configuracion de nginx agregado para el puerto 9000

This commit is contained in:
2026-05-02 16:57:29 -06:00
parent 2af36ea272
commit 881e67fb12
33 changed files with 2035 additions and 245 deletions
+23 -10
View File
@@ -9,23 +9,36 @@
<h5 class="mb-0"><i class="fas fa-comments"></i> Chats</h5>
</div>
<div class="card-body p-0" style="overflow-y: auto;">
@forelse($friends as $friend)
<a href="{{ route('chat.show', $friend) }}" class="text-decoration-none">
@forelse($users as $user)
<a href="{{ route('chat.show', $user) }}" class="text-decoration-none">
<div class="d-flex align-items-center p-3 border-bottom chat-user-item">
<img src="{{ $friend->profile_photo_url }}"
class="rounded-circle mr-3"
width="45" height="45"
style="object-fit:cover">
<div>
<div class="font-weight-bold text-dark">{{ $friend->name }}</div>
<small class="text-muted">{{ $friend->getRoleNames()->first() }}</small>
<div class="position-relative mr-3 flex-shrink-0">
<img src="{{ $user->profile_photo_url }}"
class="rounded-circle"
width="45" height="45"
style="object-fit:cover;
{{ $user->is_friend ? '' : 'filter:grayscale(60%); opacity:.8' }}">
@unless($user->is_friend)
<span class="position-absolute"
style="bottom:0;right:0;background:#dc3545;border-radius:50%;
width:16px;height:16px;display:flex;align-items:center;
justify-content:center;border:2px solid #fff">
<i class="fas fa-lock" style="font-size:.45rem;color:#fff"></i>
</span>
@endunless
</div>
<div class="flex-grow-1 overflow-hidden">
<div class="font-weight-bold text-dark text-truncate">{{ $user->name }}</div>
<small class="{{ $user->is_friend ? 'text-muted' : 'text-danger' }}">
{{ $user->is_friend ? $user->getRoleNames()->first() : 'Ya no son amigos' }}
</small>
</div>
</div>
</a>
@empty
<div class="text-center text-muted py-5">
<i class="fas fa-user-friends fa-3x mb-3 d-block"></i>
<p class="mb-2">Aún no tienes amigos para chatear.</p>
<p class="mb-2">Aún no tienes conversaciones.</p>
<a href="{{ route('feed') }}" class="btn btn-primary btn-sm">
<i class="fas fa-search mr-1"></i> Buscar personas
</a>