From 334fb3bb078f3174391cd95ea0756408c25feb4f Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Tue, 28 May 2024 06:31:46 +0000 Subject: [PATCH] Fix focus and hover states in footer --- .../_tailwind/application/_footer.html.erb | 31 ++++++++++--------- config/tailwind.config.js | 2 ++ 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/app/views/_tailwind/application/_footer.html.erb b/app/views/_tailwind/application/_footer.html.erb index c625f591c..be9c1e873 100644 --- a/app/views/_tailwind/application/_footer.html.erb +++ b/app/views/_tailwind/application/_footer.html.erb @@ -12,18 +12,19 @@
@@ -47,7 +48,7 @@

Built and maintained by -

@@ -57,8 +58,8 @@

- OpenAustralia Foundation is a registered charity in Australia - company limited by guarantee. - ABN 24 138 089 942. + OpenAustralia Foundation is a registered charity in Australia - company limited by guarantee. + ABN 24 138 089 942.

We acknowledge the traditional owners of the land now known as Australia. @@ -67,9 +68,9 @@

-
- <%= link_to "https://www.acnc.gov.au/charity/charities/6bf25724-39af-e811-a960-000d3ad24282/profile" do %> - <%= image_tag "tailwind/charity-tick.svg", size: "100x100", class: "md:ml-auto", alt: "ACNC Registered Charity Tick" %> +
+ <%= link_to "https://www.acnc.gov.au/charity/charities/6bf25724-39af-e811-a960-000d3ad24282/profile", class: "inline-block focus:outline-none focus:ring-4 focus:ring-sun-yellow" do %> + <%= image_tag "tailwind/charity-tick.svg", size: "100x100", alt: "ACNC Registered Charity Tick" %> <% end %>
diff --git a/config/tailwind.config.js b/config/tailwind.config.js index 4f693cef4..aca38dde1 100644 --- a/config/tailwind.config.js +++ b/config/tailwind.config.js @@ -49,6 +49,8 @@ module.exports = { 'transparent': 'transparent', 'current': 'currentColor', 'white': '#ffffff', + // TODO: Come up with a better name than white-hover which is tied to its current use + 'white-hover': '#B5B6C6', 'off-white': "#eeeeee", 'light-grey': '#F3F2F2', 'fuchsia': '#CA3F94',