@foreach (['plan.trainings' => 'trainings.nav.mine', 'plan.catalog' => 'trainings.nav.catalog'] as $route => $key)
  • routeIs($route)) aria-current="page" @endif class="touch inline-flex items-center rounded-full border px-3 py-1.5 text-sm font-semibold no-underline {{ request()->routeIs($route) ? 'border-transparent bg-navy text-white' : 'border-line text-ink' }}">{{ __($key) }}
  • @endforeach