From f57eaf99eb536ac4df85a1d6d065444feee482a1 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Tue, 7 Sep 2021 09:58:40 +0530 Subject: [PATCH 01/16] Update Newsletter component --- src/components/home/Newsletter.js | 97 ++++++++----------------------- 1 file changed, 25 insertions(+), 72 deletions(-) diff --git a/src/components/home/Newsletter.js b/src/components/home/Newsletter.js index d3ebd021..0cbc02c8 100644 --- a/src/components/home/Newsletter.js +++ b/src/components/home/Newsletter.js @@ -1,86 +1,39 @@ -import React from 'react' -import { useForm, ValidationError } from '@formspree/react' -import { BigText, IconContainer, Paragraph, Widont } from '@/components/home/common' +import { IconContainer } from '@/components/home/common' import { ReactComponent as Icon } from '@/img/icons/home/newsletter.svg' import { gradients } from '@/utils/gradients' +import React from 'react' export function Newsletter() { - const [state, handleSubmit] = useForm('moqyyjvo', { - data: { - _subject: 'Someone joined the newsletter', - pageTitle: function () { - // This function will be evaluated at submission time - return document.title - }, - }, - }) - if (state.succeeded) { - return ( -
- - - - - - Congratulations! -

You have successfully subscribed to our newsletter.

-
- ) - } return (
-
+
- - Want product news and updates? - - Sign Up for our weekly newsletter. +

Want product news and updates?

+

Subscribe to our newsletter.

-
-
- - - -

- We care about the protection of your data. Read our{' '} - - Privacy Policy - -

-
-
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
By subscribing, you agree with Revue’s Terms of Service and Privacy Policy.
+
+
) From 9b1ae24eb0a7005990c270d2c40bf54c959040e0 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Tue, 7 Sep 2021 09:59:29 +0530 Subject: [PATCH 02/16] Update Homepage --- src/pages/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/index.js b/src/pages/index.js index 80d2d6df..0a539067 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -140,7 +140,6 @@ export default function Home() {
-