Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WCAG on public pages #974

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/views/account/shared/_navigation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +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 data-action="click->burger#toggle" class="admin-menu-burger-button" aria-label="Toggle menu">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

скрізь юзай I18n))

<%= 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>
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>
6 changes: 3 additions & 3 deletions app/views/layouts/_account_navbar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
</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 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>
Expand Down
Loading