From 00655da2263b0957092afebe8d7ba077fd86b831 Mon Sep 17 00:00:00 2001 From: Phuoc Nguyen Date: Tue, 10 Dec 2019 18:53:48 +0700 Subject: [PATCH] Small layout tweaks --- client/layouts/DetailsLayout.tsx | 2 +- client/layouts/Footer.tsx | 299 ++++++++++++++++--------------- client/pages/ExplorePage.tsx | 2 +- client/pages/HomePage.tsx | 2 +- 4 files changed, 157 insertions(+), 148 deletions(-) diff --git a/client/layouts/DetailsLayout.tsx b/client/layouts/DetailsLayout.tsx index c7820eb..6ff5809 100644 --- a/client/layouts/DetailsLayout.tsx +++ b/client/layouts/DetailsLayout.tsx @@ -21,7 +21,7 @@ const DetailsLayout: React.FC = ({ title, children }) => { style={{ alignItems: 'center', backgroundColor: '#00449E', - borderRadius: '9999px', + borderRadius: '4px', color: '#FFF', display: 'inline-flex', margin: '32px 0', diff --git a/client/layouts/Footer.tsx b/client/layouts/Footer.tsx index f1fc5de..2af6525 100644 --- a/client/layouts/Footer.tsx +++ b/client/layouts/Footer.tsx @@ -4,171 +4,180 @@ import SubscribeForm from './SubscribeForm'; const Footer: React.FC<{}> = () => { return ( -
+ <>
- +
+ Subscribe to the newsletter for the latest layouts or patterns. No spam. Ever! +
+
-
+
+ -
  • }
  • - -
    -
    - Subscribe to the newsletter for the latest layouts or patterns. No spam. Ever! -
    -
    -
    + ); }; diff --git a/client/pages/ExplorePage.tsx b/client/pages/ExplorePage.tsx index 6f71849..c8267a3 100644 --- a/client/pages/ExplorePage.tsx +++ b/client/pages/ExplorePage.tsx @@ -18,7 +18,7 @@ const ExplorePage = () => { to="/" style={{ backgroundColor: '#00449E', - borderRadius: '9999px', + borderRadius: '4px', color: '#FFF', padding: '8px 16px', textDecoration: 'none', diff --git a/client/pages/HomePage.tsx b/client/pages/HomePage.tsx index 0481f92..66cf8e0 100644 --- a/client/pages/HomePage.tsx +++ b/client/pages/HomePage.tsx @@ -26,7 +26,7 @@ const HomePage = () => {