@extends('layouts.user-no-nav') @section('page_title', $user->name.'s profile') @section('scripts') {!! Minify::javascript([ '/js/PostsPaginator.js', '/js/CommentsPaginator.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', '/libs/@joeattardi/emoji-button/dist/index.js', '/js/plugins/media/mediaswipe.js', '/js/plugins/media/mediaswipe-loader.js', '/js/LoginModal.js', '/js/pages/messenger.js', ])->withFullUrl() !!} @stop @section('styles') {!! Minify::stylesheet([ '/css/pages/profile.css', '/css/pages/checkout.css', '/css/pages/lists.css', '/libs/swiper/swiper-bundle.min.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' ])->withFullUrl() !!} @stop @section('content')
{{-- @if(session()->has('success'))
{{ session()->get('success') }}
@endif --}}
@if(!Auth::check() || Auth::user()->id !== $user->id)
@if(Auth::check())
@include('elements.icon',['icon'=>'cash-outline'])
@if($hasSub) @include('elements.icon',['icon'=>'chatbubbles-outline']) @else @include('elements.icon',['icon'=>'chatbubbles-outline']) @endif
@include('elements.icon',['icon'=>'list-outline']) @endif @include('elements.icon',['icon'=>'share-social-outline'])
@else @endif
{{$user->name}}
@{{$user->username}} {{--- Last seen X time ago--}}
{{$user->bio ? $user->bio : __('No description available.')}}
@if($user->bio && strlen($user->bio) >= 85) {{__('More info')}} {{__('Show less')}} @endif
@if($user->location)
@include('elements.icon',['icon'=>'location-outline','centered'=>false,'classes'=>'mr-1'])
{{$user->location}}
@endif @if($user->website)
@include('elements.icon',['icon'=>'globe-outline','centered'=>false,'classes'=>'mr-1'])
@endif
@include('elements.icon',['icon'=>'calendar-outline','centered'=>false,'classes'=>'mr-1'])
Joined {{$user->created_at->format('F d')}}
@include('elements/message-alert') @if( (!Auth::check() || Auth::user()->id !== $user->id) && !$hasSub)
{{__('Subscription')}}
@if(count($offer))
{{__('Limited offer main label',['discount'=> $offer['discountAmount'], 'days_remaining'=> $offer['daysRemaining'] ])}}
{{__('Offer ends label',['date'=>$offer['expiresAt']->format('d M')])}} @endif @if($hasSub) @else
@if($user->profile_access_price_6_months || $user->profile_access_price_12_months)
{{__('Subscriptions bundles')}}
{{__('Hide bundles')}}
@include('elements.icon',['icon'=>'chevron-down-outline','centered'=>false])
@endif @if(count($offer)) {{__('Regular price label',['currency'=>'USD','amount'=>$user->offer->old_profile_access_price])}} @endif
@if($user->profile_access_price_6_months || $user->profile_access_price_12_months)
@if($user->profile_access_price_6_months) @endif @if($user->profile_access_price_12_months) @endif
@endif @endif
@endif
@include('elements.message-alert') @include('elements.feed.posts-load-more')
@forelse ($gallries as $item)
@if(Auth::check() && Auth::user()->id == $item->user_id)
@csrf
@endif
gallery Image

@empty

Image not found!

@endforelse
@include('elements.profile.widgets')
@if(Auth::check()) @include('elements.lists.list-add-user-dialog',['user_id' => $user->id, 'lists' => ListsHelper::getUserLists()]) @include('template.checkout') @include('elements.messenger.send-user-message',['receiver'=>$user]) @else @include('elements.modal-login') @endif @stop