gitlab-org--gitlab-foss/app/views/layouts/public.html.haml

29 lines
916 B
Plaintext
Raw Normal View History

- page_title = 'Explore'
2013-01-10 18:17:57 +00:00
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: page_title
%body{class: "#{app_theme} application", :'data-page' => body_data_page}
= render "layouts/broadcast"
- if current_user
= render "layouts/head_panel", title: page_title
- else
= render "layouts/public_head_panel", title: page_title
.container.navless-container
.content
.explore-title
%h3
Explore GitLab
%p.lead
Discover projects and groups. Share your projects with others
%ul.nav.nav-tabs
= nav_link(controller: :explore) do
= link_to 'Trending Projects', public_explore_path
= nav_link(controller: :projects) do
= link_to 'All Projects', public_projects_path
= nav_link(controller: :groups) do
= link_to 'All Groups', public_groups_path
= yield