@php $content = getContent('top_freelancer.content', true)->data_values; $counterElement = getContent('counter.element', false, 3, true); $topHundredFreelancers = App\Models\User::active() ->orderBy('earning', 'DESC') ->orderByDesc('users.avg_rating') ->with([ 'projects' => function ($query) { $query->where('status', Status::PROJECT_COMPLETED); }, 'skills','badge' ]) ->take(100) ->get(); @endphp
{{ __(@$content->subheading) }}