From c49e35c020e725e2ba512880c05c8c02b4e76e2b Mon Sep 17 00:00:00 2001 From: Brendan Weibrecht Date: Sat, 4 Mar 2023 18:47:13 +1100 Subject: [PATCH 1/3] Improve spacing in trusted by section of homepage --- source/layouts/home.erb | 105 ++++++++++----------- source/stylesheets/application-minimal.css | 25 +++++ 2 files changed, 77 insertions(+), 53 deletions(-) diff --git a/source/layouts/home.erb b/source/layouts/home.erb index 9fbb4ab83..091546824 100644 --- a/source/layouts/home.erb +++ b/source/layouts/home.erb @@ -81,66 +81,65 @@
-
-

Trusted by

-
-
-
-
- - DNSimple - -
-
- - Freework - -
-
- - advanon - -
-
-
-
-
- - hippo - -
-
- - ppe-analytics - -
-
- - flooring-stores - +
+

Trusted by

-
-
-
- - Marozed Web Agency - +
+
+
+ + DNSimple + +
+
+ + Freework + +
+
+ + advanon + +
-
- - Ascenda Loyalty - +
+
+ + hippo + +
+
+ + ppe-analytics + +
+
+ + flooring-stores + +
-
- - PlayGuide - +
+
+ + Marozed Web Agency + +
+
+ + Ascenda Loyalty + +
+
+ + PlayGuide + +
-
- diff --git a/source/stylesheets/application-minimal.css b/source/stylesheets/application-minimal.css index 01a3e9e26..ae9ffbfd8 100644 --- a/source/stylesheets/application-minimal.css +++ b/source/stylesheets/application-minimal.css @@ -357,3 +357,28 @@ table.status td { .status-hanami-2-na { background-color: silver; } + +@media (min-width: 768px) { + #trusted-by-logos .row { + margin: 20px 0; + } +} + +#trusted-by-logos a { + display: flex; + align-items: center; + height: 90px; +} + +#trusted-by-logos a img { + max-width: 220px; + margin: 0 auto; +} + +.p-t-sm { + padding-top: 10px; +} + +.p-b-sm { + padding-bottom: 10px; +} From 82ff37f6f4de7b016fe5920e9ba7c773bc500e91 Mon Sep 17 00:00:00 2001 From: Brendan Weibrecht Date: Sat, 4 Mar 2023 19:24:45 +1100 Subject: [PATCH 2/3] Trusted by: Update URL for PPE Analytics logo link The old URL redirects to this --- source/layouts/home.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/layouts/home.erb b/source/layouts/home.erb index 091546824..93a32243d 100644 --- a/source/layouts/home.erb +++ b/source/layouts/home.erb @@ -110,7 +110,7 @@
From 66a33cbadcb7d574e6d5bda93082651400903470 Mon Sep 17 00:00:00 2001 From: Brendan Weibrecht Date: Sat, 4 Mar 2023 19:25:48 +1100 Subject: [PATCH 3/3] Trusted by: Add title text to logos, including nationality I was curious about the nationality of each company listed as using Hanami, so thought it would be useful to record that here. --- source/layouts/home.erb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/source/layouts/home.erb b/source/layouts/home.erb index 93a32243d..99a3ed839 100644 --- a/source/layouts/home.erb +++ b/source/layouts/home.erb @@ -89,51 +89,51 @@