Site para o estudio Velvet Design em São Paulo. http://velvetdesign.com.br

velvet_layout.html.erb 3.4KB

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Velvet Design</title> <%= csrf_meta_tags %> <!-- Le HTML5 shim, for IE6-8 support of HTML elements --> <!--[if lt IE 9]> <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" type="text/javascript"></script> <![endif]--> <%= stylesheet_link_tag "application", :media => "all" %> <!-- For third-generation iPad with high-resolution Retina display: --> <!-- Size should be 144 x 144 pixels --> <%= favicon_link_tag 'apple-touch-icon-144x144-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '144x144' %> <!-- For iPhone with high-resolution Retina display: --> <!-- Size should be 114 x 114 pixels --> <%= favicon_link_tag 'apple-touch-icon-114x114-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '114x114' %> <!-- For first- and second-generation iPad: --> <!-- Size should be 72 x 72 pixels --> <%= favicon_link_tag 'apple-touch-icon-72x72-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '72x72' %> <!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: --> <!-- Size should be 57 x 57 pixels --> <%= favicon_link_tag 'apple-touch-icon-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png' %> <!-- For all other devices --> <!-- Size should be 32 x 32 pixels --> <%= favicon_link_tag 'favicon.ico', :rel => 'shortcut icon' %> <%= javascript_include_tag "application" %> <script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.4/mapbox.js'></script> <link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.4/mapbox.css' rel='stylesheet' /> </head> <body> <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-target=".nav-collapse" data-toggle="collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a id="btn-logo" href="#myCarousel"><%= image_tag "logotipo_velvet.png", class: 'brand', style: 'width: 250px;' %></a> <div class="container nav-collapse "> <ul class="nav pull-right"> <li><a id="btn-sobre" href="#sobre">Sobre</a></li> <li><a id="btn-post" href="#post">Notícias</a></li> <% if user_signed_in? %> <% if current_user.admin %> <li><%= link_to ('<i class="fa fa-cogs"></i>').html_safe, admin_dashboard_path %></li> <% end %> <% end %> <% if user_signed_in? %> <li><%= link_to ('<i class="fa fa-user"></i>').html_safe, edit_user_registration_path %></li> <li><%= link_to ('<i class="fa fa-sign-out"></i>').html_safe, destroy_user_session_path, method: :delete %></li> <% else %> <li><% link_to ('<i class="fa fa-sign-in"></i>').html_safe, new_user_session_path %></li> <li><% link_to (t "nav.signup"), new_user_registration_path %></li> <% end %> </ul> </div><!--/.nav-collapse --> </div> </div> </div> <div> <%= bootstrap_flash %> <%= yield %> </body> </html>