@extends('socialite::layouts.default') @section('content')
@include('socialite::partials/home-leftbar',compact('trending_tags'))
@if (Session::has('message')) @endif @if(isset($active_announcement))
×

{{ $active_announcement->title }}

{{ $active_announcement->description }}

@endif @if($mode != "eventlist") @include('socialite::partials/create-post',compact('timeline', 'user_post'))
@if($posts->count() > 0) @foreach($posts as $post) @include('socialite::partials/post',compact('post', 'timeline', 'next_page_url')) @endforeach @else
{{ trans('socialite::common.no_posts') }}
@endif
@else @include('socialite::partials.eventslist',compact('user_events', 'username')) @endif
@if(Auth::check()) @include('socialite::partials/home-rightbar',compact('suggested_users', 'suggested_groups', 'suggested_pages')) @endif
@endsection