Commit 080c1045 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch '230752-migrate-haml-nav-to-gltabs' into 'master'

Convert project explore tabs to Pajamas

See merge request gitlab-org/gitlab!73956
parents 621a8157 e043fff6
.top-area .top-area
%ul.nav-links.nav.nav-tabs = gl_tabs_nav({ class: 'gl-display-flex gl-flex-grow-1 gl-border-none'}) do
= nav_link(page: [explore_projects_path, explore_root_path]) do = gl_tab_link_to _('All'), explore_projects_path, { item_active: current_page?(explore_projects_path) || current_page?(explore_root_path) }
= link_to explore_projects_path do = gl_tab_link_to _('Most stars'), starred_explore_projects_path
= _('All') = gl_tab_link_to _('Trending'), trending_explore_projects_path
= nav_link(page: starred_explore_projects_path) do
= link_to starred_explore_projects_path do
= _('Most stars')
= nav_link(page: trending_explore_projects_path) do
= link_to trending_explore_projects_path do
= _('Trending')
.nav-controls .nav-controls
- unless current_user - unless current_user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment