@extends('site.layouts.app') @section('my-profile') active @endsection @section('content')
@if(Sentinel::getUser()->profile_image != null) @else @endif

{{ Sentinel::getUser() ? Sentinel::getUser()->first_name.' '.Sentinel::getUser()->last_name : '' }}

{{ __('last_login') }}: {{ date('l, d F Y, h:i a' , strtotime(Sentinel::getUser()->last_login)) }}

{{ Sentinel::getUser()->about_us }}

    @if(@Sentinel::getUser()->social_media['facebook_url'] != null)
  • @endif @if(@Sentinel::getUser()->social_media['twitter_url'] != null)
  • @endif @if(@Sentinel::getUser()->social_media['instagram_url'] != null)
  • @endif @if(@Sentinel::getUser()->social_media['google_url'] != null)
  • @endif @if(@Sentinel::getUser()->social_media['pinterest_url'] != null)
  • @endif @if(@Sentinel::getUser()->social_media['youtube_url'] != null)
  • @endif @if(@Sentinel::getUser()->social_media['linkedin_url'] != null)
  • @endif
@foreach($articles as $post)
@if(isFileExist($post->image, $result = @$post->image->medium_image)) {!! $post->title !!} @else {!! $post->title !!} @endif
@if($post->post_type=="video")
video-icon
@elseif($post->post_type=="audio")
audio-icon
@endif

{!! \Illuminate\Support\Str::limit($post->title, 50) !!}

{!! strip_tags(\Illuminate\Support\Str::limit($post->content, 130)) !!}

@endforeach
@if($articles->count() != 0)
Image
@endif
@endsection