Use <main> in SDG index
Just like we do in the other sections. We're also moving the banner inside the <main> element because we do it the same way in other sections.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<% provide(:title) { title } %>
|
||||
|
||||
<main class="sdg-goals-index">
|
||||
<%= render Shared::BannerComponent.new("sdg") %>
|
||||
|
||||
<div class="sdg-goals-index">
|
||||
<%= link_list(*goal_links, class: "sdg-goal-list") %>
|
||||
|
||||
<% phases.each do |phase| %>
|
||||
@@ -14,4 +14,4 @@
|
||||
<%= render "shared/cards", cards: phase.cards %>
|
||||
</section>
|
||||
<% end %>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user