From e79b5a46eaad8da7a08fc93d7f21ff7f9dcef9c5 Mon Sep 17 00:00:00 2001 From: Phuoc Nguyen Date: Sat, 4 Apr 2020 21:27:42 +0700 Subject: [PATCH 1/4] Remove PH badge --- client/layouts/DetailsLayout.tsx | 4 ---- client/pages/ExplorePage.tsx | 5 ----- client/pages/HomePage.tsx | 5 ----- 3 files changed, 14 deletions(-) diff --git a/client/layouts/DetailsLayout.tsx b/client/layouts/DetailsLayout.tsx index 3bb7765..4ccf10a 100644 --- a/client/layouts/DetailsLayout.tsx +++ b/client/layouts/DetailsLayout.tsx @@ -8,7 +8,6 @@ import { Link } from 'react-router-dom'; import useDocumentTitle from '../hooks/useDocumentTitle'; import Layout from './Layout'; -import ProductHuntBadge from './ProductHuntBadge'; interface DetailsLayoutProps { title: string; @@ -40,9 +39,6 @@ const DetailsLayout: React.FC = ({ title, children }) => { /

{title}

-
- -
{children}
diff --git a/client/pages/ExplorePage.tsx b/client/pages/ExplorePage.tsx index ff3f419..86f8146 100644 --- a/client/pages/ExplorePage.tsx +++ b/client/pages/ExplorePage.tsx @@ -12,7 +12,6 @@ import Heading from '../components/Heading'; import Pattern from '../constants/Pattern'; import useDocumentTitle from '../hooks/useDocumentTitle'; import Layout from '../layouts/Layout'; -import ProductHuntBadge from '../layouts/ProductHuntBadge'; const ExplorePage = () => { useDocumentTitle('CSS Layout ∙ Explore'); @@ -52,10 +51,6 @@ const ExplorePage = () => {
All covers you see in this page are made with CSS only. Inspect them! 🎉
- -
- -
diff --git a/client/pages/HomePage.tsx b/client/pages/HomePage.tsx index a7f0940..878dea5 100644 --- a/client/pages/HomePage.tsx +++ b/client/pages/HomePage.tsx @@ -13,7 +13,6 @@ import CoverCard from '../components/CoverCard'; import Pattern from '../constants/Pattern'; import useDocumentTitle from '../hooks/useDocumentTitle'; import Layout from '../layouts/Layout'; -import ProductHuntBadge from '../layouts/ProductHuntBadge'; import MadeOf from './MadeOf'; const HomePage = () => { @@ -86,10 +85,6 @@ const HomePage = () => { -
- -
-
Date: Sat, 4 Apr 2020 21:28:42 +0700 Subject: [PATCH 2/4] Update subscribe form copy --- client/layouts/Footer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/layouts/Footer.tsx b/client/layouts/Footer.tsx index 51f2358..513ae91 100644 --- a/client/layouts/Footer.tsx +++ b/client/layouts/Footer.tsx @@ -18,7 +18,7 @@ const Footer: React.FC<{}> = () => { }} >
- Subscribe to the newsletter for the latest layouts or patterns. No spam. Ever! + Hit the Subscribe button for the latest news on my tools. No spam. Ever!
From 90946d08b2263e46003529159a54d64244c6c76e Mon Sep 17 00:00:00 2001 From: Phuoc Nguyen Date: Sat, 4 Apr 2020 21:55:03 +0700 Subject: [PATCH 3/4] Update layout --- client/index.html | 2 +- client/layouts/DetailsLayout.tsx | 2 +- client/layouts/Footer.tsx | 290 ++++++++++++------------------- client/layouts/Layout.tsx | 4 +- client/layouts/SubscribeForm.tsx | 79 +++++---- client/pages/ExplorePage.tsx | 2 +- 6 files changed, 162 insertions(+), 217 deletions(-) diff --git a/client/index.html b/client/index.html index 91bc345..39bf431 100644 --- a/client/index.html +++ b/client/index.html @@ -7,7 +7,7 @@ -
+