Skip to content

Commit

Permalink
Use section elements instead of div.section on about page
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Apr 11, 2024
1 parent 8bb1269 commit 3c504a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/site/_about_section.html.erb
@@ -1,4 +1,4 @@
<%= tag.div :class => "section", :id => local_assigns[:id] do %>
<%= tag.section :id => local_assigns[:id] do %>
<div class='d-flex align-items-center gap-2 mb-2'>
<div class='flex-shrink-0 icon <%= icon %>'></div>
<h2 class='flex-grow-1 mb-0'><%= t "site.about.#{title}_title" %></h2>
Expand Down

0 comments on commit 3c504a1

Please sign in to comment.