@extends ("partials.layout") @section ("title", "Notifications") @section ("content")

Notifications

You have {{ count ($user->unreadNotifications) }} unread notifications


@foreach ($processed_notifications as $notification) @endforeach
Actor Content Time Read

{{ $notification ['actor']->name }}

@if ($notification ['type'] == 'Follow')

Followed you

@elseif ($notification ['type'] == 'Unfollow')

Unfollowed you

@elseif ($notification ['type'] == 'Boost')

Boosted this post

@elseif ($notification ['type'] == 'Like')

Liked this post

@elseif ($notification ['type'] == 'Reply')

Replied to this post

@elseif ($notification ['type'] == 'Mention')

Mentioned you in this post

@endif

{{ $notification ['created_at']->diffForHumans () }}

{{ $notifications->links ("pagination::default") }}
@endsection