@extends('layouts.user-no-nav') @section('page_title', __("user_profile_title_label",['user' => $user->name])) @section('share_url', route('profile',['username'=> $user->username])) @section('share_title', __("user_profile_title_label",['user' => $user->name]) . ' - ' . getSetting('site.name')) @section('share_description', $seo_description ?? getSetting('site.description')) @section('share_type', 'article') @section('share_img', $user->cover) @if(getSetting('security.captcha_driver') !== 'none' && !Auth::check()) @section('meta') @stop @endif @section('scripts') {!! Minify::javascript(array_merge([ '/js/PostsPaginator.js', '/js/CommentsPaginator.js', '/js/StreamsPaginator.js', '/js/Post.js', '/js/pages/profile.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', '/js/plugins/media/mediaswipe.js', '/js/plugins/media/mediaswipe-loader.js', '/libs/autolinker/dist/autolinker.min.js', '/js/TextareaHighlighter.js', '/js/LoginModal.js', '/libs/@selectize/selectize/dist/js/selectize.min.js' ],$additionalAssets['js']))->withFullUrl() !!} @stop @section('styles') {!! Minify::stylesheet(array_merge([ '/css/pages/checkout.css', '/css/pages/lists.css', '/libs/photoswipe/dist/photoswipe.css', '/libs/photoswipe/dist/default-skin/default-skin.css', '/css/pages/profile.css', '/css/pages/lists.css', '/css/posts/post.css', '/libs/@selectize/selectize/dist/css/selectize.bootstrap4.css', ],$additionalAssets['css']))->withFullUrl() !!} {{-- This one breakes when minified by our tools --}} @if(getSetting('feed.post_box_max_height')) @include('elements.feed.fixed-height-feed-posts', ['height' => getSetting('feed.post_box_max_height')]) @endif @stop @section('meta') @if(getSetting('security.recaptcha_enabled') && !Auth::check()) {!! NoCaptcha::renderJs() !!} @endif @if($activeFilter) @endif @stop @section('content')
{{-- Profile (pre) header --}} @include('elements.profile.profile-header')
{{-- Profile details/sub-header --}} @include('elements.profile.profile-details')
{{-- Profile subscription/follow buttons --}} @include('elements.profile.profile-subscription') {{-- Profile feed container --}} @include('elements.profile.profile-feed')
@include('elements.profile.widgets')
{{-- Preloading some JS icons to avoid flashes --}}
@if(Auth::check()) @include('elements.lists.list-add-user-dialog',['user_id' => $user->id, 'lists' => ListsHelper::getUserLists()]) @include('elements.checkout.checkout-box') @include('elements.messenger.send-user-message',['receiver'=>$user]) @else @include('elements.modal-login') @endif @include('elements.profile.qr-code-dialog')
@include('elements.icon',['icon'=>'verified','centered'=>true,'classes'=>'ml-1 text-primary', 'variant' => 'small'])
@stop