Sha256: c609153e6684da34911cff7af53ef77c2047fef40ce5f80384a7d85652005eb5

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title>Styleguide</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">STYLEGUIDE</div>
  </div>
  <div class="mv-flex-wrapper">
    <div class="mv-sidebar">
      <% if extra_pages.any? %>
        <h3>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>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

2 entries across 2 versions & 1 rubygems

Version Path
mountain_view-0.13.0 app/views/layouts/mountain_view.html.erb
mountain_view-0.12.3 app/views/layouts/mountain_view.html.erb