Commit e043fff6 authored by Kushal Pandya's avatar Kushal Pandya

Convert explore tabs to pajamas

Changelog: other
parent c138caca
.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