@extends('layouts.user-no-nav') @section('page_title', __('Discover')) @section('share_url', route('home')) @section('share_title', getSetting('site.name') . ' - ' . getSetting('site.slogan')) @section('share_description', getSetting('site.description')) @section('share_type', 'article') @section('share_img', GenericHelper::getOGMetaImage()) @section('meta') @stop @section('scripts') {!! Minify::javascript([ '/js/PostsPaginator.js', '/js/UsersPaginator.js', '/js/StreamsPaginator.js', '/js/CommentsPaginator.js', '/js/Post.js', '/js/SuggestionsSlider.js', '/js/pages/lists.js', '/js/pages/checkout.js', '/libs/swiper/swiper-bundle.min.js', '/js/plugins/media/photoswipe.js', '/libs/photoswipe/dist/photoswipe-ui-default.min.js', '/libs/@joeattardi/emoji-button/dist/index.js', '/js/plugins/media/mediaswipe.js', '/js/plugins/media/mediaswipe-loader.js', '/js/pages/search.js', ])->withFullUrl() !!} @stop @section('styles') {!! Minify::stylesheet([ '/libs/swiper/swiper-bundle.min.css', '/libs/photoswipe/dist/photoswipe.css', '/css/pages/checkout.css', '/libs/photoswipe/dist/default-skin/default-skin.css', '/css/pages/feed.css', '/css/posts/post.css', '/css/pages/search.css', ])->withFullUrl() !!} @stop @section('content')
@include('elements.message-alert',['classes'=>'p-2']) @if(isset($posts)) @include('elements.feed.posts-load-more')
@include('elements.feed.posts-wrapper',['posts'=>$posts])
@include('elements.feed.posts-loading-spinner') @endif @if(isset($users))
@include('elements.search.users-wrapper',['posts'=>$users])
@include('elements.feed.posts-loading-spinner') @endif @if(isset($streams))
@include('elements.search.streams-wrapper',['streams'=>$streams])
@include('elements.feed.posts-loading-spinner') @endif
@include('elements.feed.suggestions-box',['profiles'=>$suggestions,'isMobile' => false]) @if(getSetting('custom-code-ads.sidebar_ad_spot'))
{!! getSetting('custom-code-ads.sidebar_ad_spot') !!}
@endif
@include('elements.checkout.checkout-box')
@stop