active navbar laravel code example Example: laravel bootstrap nav active {{ Route::currentRouteNamed('about') ? 'active' : '' }}