Revert "Accessibility: Nav bar’s icon links"

This commit is contained in:
Daniel O'Connor authored and GitHub committed 2021-10-05 21:32:33 +10:30
1 parent c8b547050d
commit e23a274ce7
6 files changed
+3 -401

No files matched your search

-1
View File
@@ -92,7 +92,6 @@ submit the change with your pull request.
- André Aubin / [lambda2](https://github.com/lambda2)
- Martina Simicic / [simicic](https://github.com/simicic)
- Rowan Crawford / [wombleton](https://github.com/wombleton)
- Le-jun - [lejun](https://github.com/le-jun)
## Bots
Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 156 KiB

File diff suppressed because one or more lines are too long.

Before

Width:  |  Height:  |  Size: 1014 KiB

+3 -3
View File
@@ -3,13 +3,13 @@
- if signed_in?
%li.nav-item
= link_to timeline_index_path, method: :get, class: 'nav-link text-white' do
= image_tag 'icons/notification.svg', alt: 'Timeline', class: 'img img-icon'
= image_tag 'icons/notification.svg', class: 'img img-icon'
%li.nav-item
= link_to member_gardens_path(current_member), class: 'nav-link text-white' do
= image_icon 'gardens', alt: 'My gardens'
= image_icon 'gardens'
%li.nav-item.dropdown
%a.nav-link.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown", href: "#", role: "button"}
= image_tag "icons/gardener.svg", alt: 'New record', class: 'img img-icon'
= image_tag "icons/gardener.svg", class: 'img img-icon'
= t('.record')
.dropdown-menu
= link_to new_planting_path, class: 'dropdown-item' do