@extends('layouts.app') @section('title') {{ $data['user']->name }}'s Friends - {{ env('APP_NAME') }} @endsection @section('content')

{{ $data['user']->name }}'s Friends ({{ $data['user']->getFriendsCount() }})


@foreach ($data['friends'] as $friend)
Profile Image
{{ $friend->name }}

"I'm new to ARCHBLOX!"

@if (Cache::has('is_online_' . $friend->id)) Website @else Offline - Last Online {{ Carbon\Carbon::parse($friend->last_seen)->diffForHumans() }} @endif
@if (Auth::id() == $data['user']->id)
@csrf
@endif
@endforeach @if (!$data['user']->getFriendsCount())

You haven't made friends with anyone yet.

@endif {{ $data['friends']->links() }}

@endsection