1- is_your_projects_path = current_page?(dashboard_projects_path) || current_page?(root_path)
2- is_explore_projects_path = current_page?(explore_root_path) || current_page?(trending_explore_projects_path) || current_page?(starred_explore_projects_path) || current_page?(explore_projects_path)
3
4= gl_tabs_nav({ class: 'scrolling-tabs nav-links gl-display-flex gl-flex-grow-1 gl-flex-nowrap gl-border-0' }) do
5  = gl_tab_link_to dashboard_projects_path, { item_active: is_your_projects_path, class: 'shortcuts-activity', data: { placement: 'right' } } do
6    = _("Your projects")
7    = gl_tab_counter_badge(limited_counter_with_delimiter(@total_user_projects_count))
8  = gl_tab_link_to starred_dashboard_projects_path, { data: { placement: 'right' } } do
9    = _("Starred projects")
10    = gl_tab_counter_badge(limited_counter_with_delimiter(@total_starred_projects_count))
11  = gl_tab_link_to _("Explore projects"), explore_root_path, { item_active: is_explore_projects_path, data: { placement: 'right' } }
12  = gl_tab_link_to _("Explore topics"), topics_explore_projects_path, { data: { placement: 'right' } }
13  = render_if_exists "dashboard/removed_projects_tab", removed_projects_count: @removed_projects_count
14