layout settled
This commit is contained in:
26
source/shared/_header.haml
Normal file
26
source/shared/_header.haml
Normal file
@ -0,0 +1,26 @@
|
||||
%header
|
||||
.container
|
||||
.row
|
||||
.col-sm-12
|
||||
%nav
|
||||
%ul
|
||||
%li
|
||||
%a{href: '/'}
|
||||
home
|
||||
%li
|
||||
%a{href: "video"} video
|
||||
%li
|
||||
%a{href: "contact"} contact
|
||||
|
||||
%ul.social
|
||||
:ruby
|
||||
social_links = {
|
||||
'fa-linkedin-square' => 'http://linkedin.com/in/markamoser/',
|
||||
'fa-twitter' => 'https://twitter.com/obley',
|
||||
'fa-github' => 'https://github.com/markmoser',
|
||||
'fa-bitbucket' => 'https://bitbucket.org/markamoser',
|
||||
}
|
||||
- social_links.each do |k,v|
|
||||
%li
|
||||
= link_to "#{v}" do
|
||||
%i.fa.fa-lg{class: "#{k}"}
|
Reference in New Issue
Block a user