summaryrefslogtreecommitdiff
path: root/app/views/explore/projects/_nav.html.haml
blob: 558cd26f1e0b1a407e286a408368cb169c6644d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.top-area
  %ul.nav-links.nav.nav-tabs
    = nav_link(page: [trending_explore_projects_path, explore_root_path]) do
      = link_to trending_explore_projects_path do
        Trending
    = nav_link(page: starred_explore_projects_path) do
      = link_to starred_explore_projects_path do
        Most stars
    = nav_link(page: explore_projects_path) do
      = link_to explore_projects_path do
        All

  .nav-controls
    - unless current_user
      = render 'shared/projects/search_form'
      = render 'shared/projects/dropdown'
    = render 'filter'