Add a new SDG component to make easier to create subnavigation menus. Co-Authored-By: Javi Martín <35156+javierm@users.noreply.github.com>
14 lines
246 B
Plaintext
14 lines
246 B
Plaintext
<ul class="tabs">
|
|
<% sections.each do |section| %>
|
|
<li class="tabs-title">
|
|
<%= link_to_section section %>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
|
|
<div class="tabs-content">
|
|
<div class="tabs-panel is-active">
|
|
<%= content %>
|
|
</div>
|
|
</div>
|