@extends('layouts.app') @section('content')
@if ($followings->count() > 0)
@foreach ($followings as $following)
{{ $following->name }}
{{ '@' . $following->username }}
@if ($following->roles->isNotEmpty()) {{ $following->roles->first()->name }} @endif
{{ $following->latest_activity ?? 'No recent activity' }}
@if ($following->pivot && $following->pivot->created_at) {{ $following->pivot->created_at->diffForHumans() }} @else Tidak ada info waktu @endif
@endforeach
{{ $followings->links('pagination::bootstrap-5') }}
@else

Not following anyone yet

You aren't following anyone yet. Discover new artists and creators to follow!

@endif

Recommended for You

@php $recommendedUsers = [ [ 'id' => 7, 'name' => 'Billie Eilish', 'username' => 'billieeilish', 'role' => 'Artist', 'mutual_followers' => 4, ], [ 'id' => 8, 'name' => 'Ludwig Göransson', 'username' => 'ludwig', 'role' => 'Composer', 'mutual_followers' => 2, ], [ 'id' => 9, 'name' => 'Kendrick Lamar', 'username' => 'kendrick', 'role' => 'Artist', 'mutual_followers' => 6, ], ]; @endphp @foreach ($recommendedUsers as $recommended)
{{ $recommended['name'] }}
{{ $recommended['role'] }} {{ $recommended['mutual_followers'] }} mutual followers
@endforeach
@endsection @section('scripts') @endsection