@extends('layouts.app')
@section('title')
{{__('Chat')}}
@endsection
@section('css')
@endsection
@section('content')
@foreach($users as $user)
@if(!empty($user['avatar']))
@else
@endif
{{$user['name']}}
@if($user->last_activity>now()->subMinutes(5))
{{__('Online')}}
@else
{{__('Offline')}}
@endif
@endforeach
{{__('Click User To Chat')}}
@endsection
@section('scripts')
@endsection