{{ $user->name }} @if (request()->routeIs('user.settings'))
@endif

{{ $user->name }}