{# Plain nav instead of myep's knp-menu builder: a handful of links does not justify the indirection. Active state is a prefix match on the current route name, which mirrors what myep's menu matcher does with its 'routes' extras. #} {% set current_route = app.request.attributes.get('_route') %} {% set items = [ { route: 'app_dashboard', label: 'Übersicht', icon: 'lucide:layout-grid' }, { route: 'app_booking', label: 'Meine Buchungen', icon: 'lucide:calendar-days' }, ] %}