@extends('site.layouts.app') @section('content')
@if(@$author->profile_image != null) @else @endif

{{ $author->first_name.' '.$author->last_name }}

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

{{ $author->about_us }}

    @if(@$author->social_media['facebook_url'] != null)
  • @endif @if(@$author->social_media['twitter_url'] != null)
  • @endif @if(@$author->social_media['instagram_url'] != null)
  • @endif @if(@$author->social_media['google_url'] != null)
  • @endif @if(@$author->social_media['pinterest_url'] != null)
  • @endif @if(@$author->social_media['youtube_url'] != null)
  • @endif @if(@$author->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