Skip to content

Commit

Permalink
WCAG on public pages
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVajnagi committed Nov 24, 2024
1 parent a6b2208 commit cd96f00
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
7 changes: 3 additions & 4 deletions app/views/account/shared/_navigation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@
</div>
<div class="flex ml-auto">
<div class="mt-6">
<button data-action="click->burger#toggle" class="admin-menu-burger-button">
<%= image_tag "icons/burger-menu-lines.svg", class: "block h-8 w-8", "data-burger-target": "iconLines" %>
<%= image_tag "icons/burger-menu-cross.svg", class: "block h-8 w-8 hidden", "data-burger-target": "iconCross" %>
</button>
<button data-action="click->burger#toggle" class="admin-menu-burger-button" aria-label="Toggle menu">
<%= image_tag "icons/burger-menu-lines.svg", class: "block h-8 w-8", "data-burger-target": "iconLines", alt: "Open menu icon" %>
<%= image_tag "icons/burger-menu-cross.svg", class: "block h-8 w-8 hidden", "data-burger-target": "iconCross", alt: "Close menu icon" %>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_account_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="container mx-auto">
<div class="account-footer_text">
<p>&copy; <%= Date.current.year %> <span class="text-success font-bold">Zero Waste Lviv</span></p>
<p><%= t(".created_with") %> <span class="text-red-500">&hearts;</span> <%= t(".by") %> <%= link_to "SoftServe Academy", "https://career.softserveinc.com/uk-ua/softserve-academy", target: "_blank", class: "text-success underline" %></p>
<p><%= t(".created_with") %> <span class="text-red-500">&hearts;</span> <%= t(".by") %> <%= link_to "SoftServe Academy", "https://career.softserveinc.com/uk-ua/softserve-academy", target: "_blank", class: "text-success underline", title: Visit Softserve Academy") %></p>
</div>
</div>
</footer>
10 changes: 5 additions & 5 deletions app/views/layouts/_account_navbar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@

<div class="flex ml-auto">
<div id="lang-btn" >
<%= link_to url_for(locale: switch_locale_to), class: "locale-button" do %>
<%= link_to url_for(locale: switch_locale_to), class: "locale-button", title: t("switch_language_to", locale: t("#{switch_locale_to}")) do %>
<%= t("#{switch_locale_to}") %>
<% end %>
</div>

<div>
<button data-action="click->burger#toggle" class="admin-menu-burger-button">
<%= image_tag "icons/burger-menu-lines.svg", class: "block h-8 w-8", "data-burger-target": "iconLines" %>
<%= image_tag "icons/burger-menu-cross.svg", class: "block h-8 w-8 hidden", "data-burger-target": "iconCross" %>
</button>
<button data-action="click->burger#toggle" class="admin-menu-burger-button" aria-label="Toggle menu">
<%= image_tag "icons/burger-menu-lines.svg", class: "block h-8 w-8", "data-burger-target": "iconLines", alt: "Open menu icon" %>
<%= image_tag "icons/burger-menu-cross.svg", class: "block h-8 w-8 hidden", "data-burger-target": "iconCross", alt: "Close menu icon" %>
</button>
</div>
</div>
</div>
Expand Down

0 comments on commit cd96f00

Please sign in to comment.