2014-07-23 08:13:33 +00:00
|
|
|
- page_title = 'Explore'
|
2013-01-10 18:17:57 +00:00
|
|
|
!!! 5
|
|
|
|
%html{ lang: "en"}
|
2014-07-23 08:13:33 +00:00
|
|
|
= render "layouts/head", title: page_title
|
2013-11-29 11:31:57 +00:00
|
|
|
%body{class: "#{app_theme} application", :'data-page' => body_data_page}
|
2014-02-17 20:35:23 +00:00
|
|
|
= render "layouts/broadcast"
|
2013-06-07 14:33:43 +00:00
|
|
|
- if current_user
|
2014-07-23 08:13:33 +00:00
|
|
|
= render "layouts/head_panel", title: page_title
|
2013-06-07 14:33:43 +00:00
|
|
|
- else
|
2014-07-23 08:13:33 +00:00
|
|
|
= render "layouts/public_head_panel", title: page_title
|
2013-09-24 19:14:03 +00:00
|
|
|
.container.navless-container
|
2014-07-23 08:13:33 +00: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 09:03:49 +00:00
|
|
|
= nav_link(path: 'projects#trending') do
|
|
|
|
= link_to 'Trending Projects', explore_root_path
|
2014-07-25 19:05:23 +00:00
|
|
|
= nav_link(path: 'projects#starred') do
|
|
|
|
= link_to 'Most Starred Projects', starred_explore_projects_path
|
2014-07-23 09:03:49 +00:00
|
|
|
= nav_link(path: 'projects#index') do
|
|
|
|
= link_to 'All Projects', explore_projects_path
|
2014-07-23 08:13:33 +00:00
|
|
|
= nav_link(controller: :groups) do
|
2014-07-23 09:03:49 +00:00
|
|
|
= link_to 'All Groups', explore_groups_path
|
2014-07-23 08:13:33 +00:00
|
|
|
|
|
|
|
= yield
|