PHP Classes

File: chatapp/resources/views/livewire/chat/message.blade.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Chat App Laravel   chatapp/resources/views/livewire/chat/message.blade.php   Download  
File: chatapp/resources/views/livewire/chat/message.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Chat App Laravel
Chat systen that support multiple rooms
Author: By
Last change:
Date: 9 months ago
Size: 492 bytes
 

Contents

Class file image Download
<div class="flex space-x-3">
    <div>
        <img src="{{ $message->user->avatar() }}" alt="{{ $message->user->name }}" class="h-10 w-10 rounded-full">
    </div>
    <div>
        <div class="flex items-baseline space-x-2">
            <span class="font-semibold">{{ $message->user->name }}</span>
            <span class="text-gray-500 text-xs">{{ $message->created_at->diffForHumans() }}</span>
        </div>

        <p class="text-gray-900">{{ $message->body }}</p>
    </div>
</div>