change menu and start submenu

This commit is contained in:
Torsten Ruger 2016-03-25 16:55:29 +02:00
parent 99c7525fc8
commit ce83d1d7f8
7 changed files with 36 additions and 4 deletions

View File

@ -7,5 +7,6 @@
%nav.nav-main
%ul#topMain.nav.nav-pills.nav-main
-[ "web" , "dev" , "camp", "apply" ].each do |page|
%li= link_to page.capitalize , page
%li= link_to "Web Dev" , page_path(:web)
%li= link_to "Camp" , page_path(:camp)
%li= link_to "Apply" , page_path(:apply)

View File

@ -0,0 +1,25 @@
/
PAGE MENU
AVAILABLE CLASSES:
\.page-menu-light
\.page-menu-dark
\.page-menu-transparent
\.page-menu-color
#page-menu.page-menu-light
.container
%nav.pull-right
%button#page-menu-mobile.fa.fa-bars
/
\.menu-scrollTo - for scrollto page menu / no external links
%ul.list-inline
%li.active
%a{:href => "/web"} Web
%li
%a{:href => "/dev"} Dev
%li
%a{:href => "/course"} Course
%li
%a{:href => "/teachers"} Teachers
%li
%a{:href => "/answers"} Q & A

View File

@ -100,7 +100,7 @@
/ /SEARCH
/ /BUTTONS
/ Logo
%a.logo.pull-left{:href => "index.html"}
%a.logo.pull-left{:href => page_path(:index)}
= image_tag "web_logo.png"
= render 'layouts/navigation'
/ /Top Nav

View File

@ -0,0 +1 @@
= render 'layouts/submenu'

View File

@ -1,3 +1,4 @@
= render 'layouts/submenu'
%section#about.padding-xxs
.container

View File

@ -1,7 +1,9 @@
= render 'layouts/submenu'
%section.padding-xxs
.container
%p.lead
Web Dev Camp is built and run by a team of very experienced professionals
Web Dev Camp is built and run by a team of experienced professionals
%p
Active professionals also participate in the teaching on a part time basis
.row

View File

@ -1,3 +1,5 @@
= render 'layouts/submenu'
%section#about.padding-xxs
.container
%header.text-center.margin-bottom-20