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 } %>
|
<% provide(:title) { title } %>
|
||||||
|
|
||||||
<%= render Shared::BannerComponent.new("sdg") %>
|
<main class="sdg-goals-index">
|
||||||
|
<%= render Shared::BannerComponent.new("sdg") %>
|
||||||
|
|
||||||
<div class="sdg-goals-index">
|
|
||||||
<%= link_list(*goal_links, class: "sdg-goal-list") %>
|
<%= link_list(*goal_links, class: "sdg-goal-list") %>
|
||||||
|
|
||||||
<% phases.each do |phase| %>
|
<% phases.each do |phase| %>
|
||||||
@@ -14,4 +14,4 @@
|
|||||||
<%= render "shared/cards", cards: phase.cards %>
|
<%= render "shared/cards", cards: phase.cards %>
|
||||||
</section>
|
</section>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</main>
|
||||||
|
|||||||
Reference in New Issue
Block a user