2014-07-23 04:13:33 -04:00
|
|
|
- page_title = 'Explore'
|
2013-01-10 13:17:57 -05:00
|
|
|
!!! 5
|
|
|
|
%html{ lang: "en"}
|
2014-07-23 04:13:33 -04:00
|
|
|
= render "layouts/head", title: page_title
|
2013-11-29 06:31:57 -05:00
|
|
|
%body{class: "#{app_theme} application", :'data-page' => body_data_page}
|
2014-02-17 15:35:23 -05:00
|
|
|
= render "layouts/broadcast"
|
2013-06-07 10:33:43 -04:00
|
|
|
- if current_user
|
2014-07-23 04:13:33 -04:00
|
|
|
= render "layouts/head_panel", title: page_title
|
2013-06-07 10:33:43 -04:00
|
|
|
- else
|
2014-07-23 04:13:33 -04:00
|
|
|
= render "layouts/public_head_panel", title: page_title
|
2013-09-24 15:14:03 -04:00
|
|
|
.container.navless-container
|
2014-07-23 04:13:33 -04:00
|
|
|
.content
|
|
|
|
.explore-title
|
|
|
|
%h3
|
|
|
|
Explore GitLab
|
|
|
|
%p.lead
|
|
|
|
Discover projects and groups. Share your projects with others
|
|
|
|
|
|
|
|
|
|
|
|
%ul.nav.nav-tabs
|
2014-07-23 05:03:49 -04:00
|
|
|
= nav_link(path: 'projects#trending') do
|
|
|
|
= link_to 'Trending Projects', explore_root_path
|
2014-07-25 15:05:23 -04:00
|
|
|
= nav_link(path: 'projects#starred') do
|
|
|
|
= link_to 'Most Starred Projects', starred_explore_projects_path
|
2014-07-23 05:03:49 -04:00
|
|
|
= nav_link(path: 'projects#index') do
|
|
|
|
= link_to 'All Projects', explore_projects_path
|
2014-07-23 04:13:33 -04:00
|
|
|
= nav_link(controller: :groups) do
|
2014-07-23 05:03:49 -04:00
|
|
|
= link_to 'All Groups', explore_groups_path
|
2014-07-23 04:13:33 -04:00
|
|
|
|
|
|
|
= yield
|