From a1a518ec9a9933bd7c2b28d44890576749f1af4a Mon Sep 17 00:00:00 2001 From: Matija Sosic Date: Sun, 4 Dec 2022 00:21:01 +0100 Subject: [PATCH] lp: Dark mode fix + width fix. --- web/src/components/Benefits.js | 4 ++-- web/src/components/Footer.js | 2 +- web/src/components/Hero.js | 1 + web/src/components/HowItWorks.js | 4 +++- web/src/components/Nav/index.js | 14 ++++++++++++-- web/src/css/custom.css | 1 + 6 files changed, 20 insertions(+), 6 deletions(-) diff --git a/web/src/components/Benefits.js b/web/src/components/Benefits.js index c22bc949a..8eb78084a 100644 --- a/web/src/components/Benefits.js +++ b/web/src/components/Benefits.js @@ -26,11 +26,11 @@ const Benefit = ({ Icon, title, description }) => ( > -
+
{ title }
-

+

{ description }

diff --git a/web/src/components/Footer.js b/web/src/components/Footer.js index 047f63120..1b92e3942 100644 --- a/web/src/components/Footer.js +++ b/web/src/components/Footer.js @@ -112,7 +112,7 @@ const Footer = () => { {/* newsletter part */}
-

Stay up to date

+

Stay up to date

Join our mailing list and be the first to know when we ship new features and updates! diff --git a/web/src/components/Hero.js b/web/src/components/Hero.js index 4ff636179..2b4591440 100644 --- a/web/src/components/Hero.js +++ b/web/src/components/Hero.js @@ -44,6 +44,7 @@ const ActionButtons = () => ( px-3 py-2 rounded border border-neutral-500 text-sm leading-4 + text-neutral-700 hover:text-neutral-400 hover:border-neutral-400 transition ease-out duration-200 `} diff --git a/web/src/components/HowItWorks.js b/web/src/components/HowItWorks.js index ce9e48a21..a9351e360 100644 --- a/web/src/components/HowItWorks.js +++ b/web/src/components/HowItWorks.js @@ -9,7 +9,9 @@ const Feature = ({ title, description, url }) => (

- { title } + + { title } +

{ description } diff --git a/web/src/components/Nav/index.js b/web/src/components/Nav/index.js index bed6217b6..62ee3ebce 100644 --- a/web/src/components/Nav/index.js +++ b/web/src/components/Nav/index.js @@ -29,6 +29,7 @@ const Nav = () => { const SocialIcon = ({ Icon, url }) => (

) @@ -145,6 +147,7 @@ const Nav = () => { { { { text-sm font-medium `} > - + 📬 Join the list diff --git a/web/src/css/custom.css b/web/src/css/custom.css index 661bb2927..46da3052d 100644 --- a/web/src/css/custom.css +++ b/web/src/css/custom.css @@ -38,6 +38,7 @@ --ifm-h3-font-size: 1.3rem; /* Infima overrides */ + --ifm-container-width-xl: 1280px; --ifm-font-family-base: 'Inter'; --ifm-color-primary: #BF9900; /* wasp color (ffcc00) darkened by 25% */ --ifm-color-primary-dark: #8a6f04;