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:
Javi Martín
2021-01-28 19:49:31 +01:00
parent 3018de2847
commit e0b6b83b11

View File

@@ -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>