Sha256: 877904f75ce63c9240f4427cca74c8b08e0b8b3f988fb90588387cb89a84e598

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title><%= t('mountain_view.layout.styleguide_title') %></title>
  <%= stylesheet_link_tag 'mountain_view/styleguide', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'mountain_view/styleguide', 'data-turbolinks-track' => true %>

  <%= csrf_meta_tags %>
</head>
<body>
  <div class="mv-header">
    <div class="mv-header__logo"><%= t('mountain_view.layout.styleguide_title') %></div>
  </div>
  <div class="mv-flex-wrapper">
    <div class="mv-sidebar">
      <% if extra_pages.any? %>
        <h3><%= t('mountain_view.layout.extra_pages') %></h3>
        <ul>
          <%- extra_pages.each do |extra_page| %>
            <li>
              <%= link_to_unless_current prettify_word(extra_page), extra_pages_path(extra_page) %>
            </li>
          <% end %>
        </ul>
      <% end %>
      <h3><%= t('mountain_view.layout.components') %></h3>
      <ul>
        <%- mv_components.each do |component| %>
          <li>
            <%= link_to_unless_current component.title, styleguide_path(id: component.name) %>
          </li>
        <% end %>
      </ul>
    </div>
    <div class="mv-main">
      <%= yield %>
    </div>
  </div>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mountain_view-0.14.0 app/views/layouts/mountain_view.html.erb