@if(count(User::all()) > 0)

Top contributors

@foreach(User::orderBy('points', 'desc')->take(3)->get() as $user) @endforeach
Name Points
{{{ $user->name }}} {{{ $user->points }}}
@if(Auth::check())

You have {{ Auth::user()->points }} points.

@endif
@endif