@extends('layout.dashboard-app') @section('content')
{{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--

--}} {{-- Ronald--}} {{-- Bregman--}} {{--

--}} {{--
4 minutes ago
--}} {{--
--}} {{--
--}} {{--
--}} {{--

A

--}} {{--
--}} {{--
--}} {{--
    --}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- @dd($data);--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--

Alex Martin

--}} {{--
1 hrs ago
--}} {{--
--}} {{--
--}} {{--
--}} {{--

Global Man Cave will create a worldwide community of men connecting with each--}} {{-- other to build a world of better men.

--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- 45 Comment--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- @dd($data['posts'])--}} @if(isset($data) && count($data['posts']) != 0) @foreach($data['posts'] as $post)

{{ $post->user->name ?? '' }}

{{ $post->created_at->diffForHumans() }}

{{$post->post_content ?? ''}}

@php $jsonDecodeTags = json_decode($post->post_tags); @endphp @if ($jsonDecodeTags !== null && is_array($jsonDecodeTags)) @foreach ($jsonDecodeTags as $tag) {{ $tag }} @endforeach @endif @if($post->post_video)
@endif @if($post->post_image)
@endif
@if(isset($post->like)) @if($post->like->user_id != $data['user']->id) @else {{--UNDOLIKE BTN--}} @endif @else @endif
@foreach ($post->latest_comments as $comment)
{{ $comment->user->name ?? '' }} {{ $comment->comment ?? '' }}
{{ $comment->created_at->diffForHumans() }}
@endforeach
@if ($post->comment->count() >= 3) @endif
{{--
--}} {{-- @csrf--}}
{{--
--}}
@endforeach @else

Sorry No Posts Yet!!!

@endif

Sponsored

Activity

VIEW ALL
@if(count($data['activities']) != 0) @foreach($data['activities'] as $activity)
{{$activity->content_body ?? ''}} {{-- like your--}} {{-- post...--}}
@endforeach @else
No activities yet!!
@endif

GMC COMMUNICATOR

@if(count($data['messenger']) != 0) @foreach($data['messenger'] as $message) @php $imagePath = $message->receiver_id == \Illuminate\Support\Facades\Auth::id() ? $message->sender->profile_image : $message->receiver->profile_image; @endphp @endforeach @else
No messages yet!!
@endif
@endsection