@php
$authorRates = $post->author->rates(true);
@endphp
@if(!empty($authorRates['rate']))
@include('design_1.web.components.rate', [
'rate' => $authorRates['rate'],
'rateCount' => $authorRates['count'],
'rateClassName' => 'mt-4',
])
@endif
{{ $post->author->getTeacherCoursesCount() }}
{{ trans('update.courses') }}
{{ $post->author->blog_count }}
{{ trans('update.articles') }}
@if(!empty($post->author->about))
{!! $post->author->about !!}
@endif
@if(!empty($post->author->someRandomPosts) and count($post->author->someRandomPosts))
{{ trans('update.more_from_user', ['user' => $post->author->full_name]) }}
@foreach($post->author->someRandomPosts as $authorPost)
@endforeach
@endif