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