From 52e519f94198782d7176aae765138434eb630513 Mon Sep 17 00:00:00 2001 From: Matthew Scott Date: Mon, 5 Aug 2024 13:25:35 -0500 Subject: [PATCH 1/6] fix: adjust companies bg hero images --- src/pages/about.astro | 1 - src/pages/companies.astro | 14 +++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/pages/about.astro b/src/pages/about.astro index 95acf79..2bce78d 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -1,7 +1,6 @@ --- import Layout from '../layouts/Layout.astro'; import Section from '../components/Section.astro'; -import Button from '../components/Button.astro'; import GeoLeft from '/images/background-images/geo-left.svg?raw'; import GeoRight from '/images/background-images/geo-right.svg?raw'; diff --git a/src/pages/companies.astro b/src/pages/companies.astro index 3cc4f9c..e15b543 100644 --- a/src/pages/companies.astro +++ b/src/pages/companies.astro @@ -4,6 +4,8 @@ import Section from '../components/Section.astro'; import companies from '../data/companies.json'; import Button from '../components/Button.astro'; import CarouselCard from '../components/CarouselCard'; +import GeoLeft from '/images/background-images/geo-left.svg?raw'; +import GeoRight from '/images/background-images/geo-right.svg?raw'; const seoMetaData = { description: 'Read the announcements from companies that have adopted Fair Source.', @@ -23,9 +25,15 @@ const seoMetaData = { -
-
-
+
From c2683279747d886f40ea325453da945a2cb01a24 Mon Sep 17 00:00:00 2001 From: Matthew Scott Date: Mon, 5 Aug 2024 13:40:39 -0500 Subject: [PATCH 2/6] fix: adjust branded link size and pos --- src/layouts/Layout.astro | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 9dbb9f4..754621b 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -277,7 +277,6 @@ const canonicalURL = `https://fair.io/${seoSlug}`; a.emphasized.branded { color: white; - font-size: 22px; font-weight: 500; padding: 0.25rem 1.1875rem 0.4375rem 0.75rem; line-height: 1.7875rem; @@ -296,14 +295,30 @@ const canonicalURL = `https://fair.io/${seoSlug}`; } a.emphasized.github::before { content: url('/images/icons/gitHub-logo.svg'); - transform: translateY(4px); + transform: translateY(7px); } a.emphasized.twitter { background-color: #1E1E1E; } a.emphasized.twitter:before { content: url('/images/icons/twitter-logo.svg'); - transform: translateY(3px); + transform: translateY(5px); + } + + @media (min-width: 768px) { + a.emphasized.github::before { + transform: translateY(6px); + } + } + + @media (min-width: 1024px) { + a.emphasized.twitter::before { + transform: translateY(3px); + } + + a.emphasized.github::before { + transform: translateY(4px); + } } a.emphasized.external::after { content: url('/images/icons/external-link-icon.svg'); From 76966a09ebcdbb89e8061af05b5bd35739b77c61 Mon Sep 17 00:00:00 2001 From: Matthew Scott Date: Mon, 5 Aug 2024 14:06:44 -0500 Subject: [PATCH 3/6] fix: lg bg image fix for companies page --- src/pages/companies.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/companies.astro b/src/pages/companies.astro index e15b543..10ea2bb 100644 --- a/src/pages/companies.astro +++ b/src/pages/companies.astro @@ -25,7 +25,7 @@ const seoMetaData = {
-