From 1cdbbc91e810702721288537d83136351adc521e Mon Sep 17 00:00:00 2001 From: Riccardo Graziosi <31478034+riggraz@users.noreply.github.com> Date: Thu, 14 Mar 2024 23:04:34 +0100 Subject: [PATCH] Various improvements and fixes (#309) * Remove roadmap header * Add hostname to poweredby url * Fix oauth button click style * Fix mailer astuto logo * Fix asset urls in public html files --- app/assets/stylesheets/common/_index.scss | 6 ++-- .../components/common/PoweredByLink.tsx | 2 +- app/views/layouts/mailer.html.erb | 2 +- app/views/static_pages/roadmap.html.erb | 2 -- public/404.html | 4 +-- public/422.html | 4 +-- public/500.html | 4 +-- public/error-404.png | Bin 4665 -> 0 bytes public/error-422.png | Bin 3186 -> 0 bytes public/error-500.png | Bin 3157 -> 0 bytes public/style.css | 28 ------------------ spec/system/roadmap_spec.rb | 8 +---- 12 files changed, 12 insertions(+), 48 deletions(-) delete mode 100644 public/error-404.png delete mode 100644 public/error-422.png delete mode 100644 public/error-500.png delete mode 100644 public/style.css diff --git a/app/assets/stylesheets/common/_index.scss b/app/assets/stylesheets/common/_index.scss index bc8b4bee..cc73dd5d 100644 --- a/app/assets/stylesheets/common/_index.scss +++ b/app/assets/stylesheets/common/_index.scss @@ -274,9 +274,9 @@ body { height: 38px; - &:hover { - background-color: white; - color: var(--astuto-black); + &:hover, &:active, &:focus { + background-color: white !important; + color: var(--astuto-black) !important; } .oauthProviderText { diff --git a/app/javascript/components/common/PoweredByLink.tsx b/app/javascript/components/common/PoweredByLink.tsx index a501aa5a..223b03a9 100644 --- a/app/javascript/components/common/PoweredByLink.tsx +++ b/app/javascript/components/common/PoweredByLink.tsx @@ -3,7 +3,7 @@ import I18n from 'i18n-js'; const PoweredByLink = () => (
diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb index daab879c..4e427e0b 100644 --- a/app/views/layouts/mailer.html.erb +++ b/app/views/layouts/mailer.html.erb @@ -6,7 +6,7 @@
+
The page you're looking for doesn't exist.
diff --git a/public/422.html b/public/422.html index 75547bde..c61d90e9 100644 --- a/public/422.html +++ b/public/422.html @@ -3,14 +3,14 @@
+
The change you wanted was rejected. If you're trying to do something bad, our team of astute foxes is already looking out for you. Watch out!
diff --git a/public/500.html b/public/500.html index 193f83a6..9241fe20 100644 --- a/public/500.html +++ b/public/500.html @@ -3,14 +3,14 @@
+
We're sorry. Wait a moment and try again.
diff --git a/public/error-404.png b/public/error-404.png deleted file mode 100644 index 9fc752adbc01a5752bcf6542d9f5d1f184b5b782..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4665 zcmdUz_dgVlv3`rv+V0Tch!sJYLi7kO=P9M$u(