From d9cf8ac60bdc829314ad058b4b1f1f9b3f2ee846 Mon Sep 17 00:00:00 2001 From: Paul Copplestone Date: Mon, 28 Oct 2019 15:19:00 +0000 Subject: [PATCH] Adding signup and thanks --- packages/web/components/SignUpForm.js | 43 ++++++++++++++++++++++----- packages/web/pages/thanks.js | 26 ++++++++++++++++ 2 files changed, 61 insertions(+), 8 deletions(-) create mode 100644 packages/web/pages/thanks.js diff --git a/packages/web/components/SignUpForm.js b/packages/web/components/SignUpForm.js index b0541dc4a52..367835aacbd 100644 --- a/packages/web/components/SignUpForm.js +++ b/packages/web/components/SignUpForm.js @@ -1,14 +1,41 @@ -export default function Footer() { +import React, { useState, useEffect } from 'react' + +export default function SignUpForm() { + const [email, setEmail] = useState('') return ( -
+

- -

-

- + setEmail(e.target.value)} + required + />

+ +
+ +
) } diff --git a/packages/web/pages/thanks.js b/packages/web/pages/thanks.js new file mode 100644 index 00000000000..81ca0d73049 --- /dev/null +++ b/packages/web/pages/thanks.js @@ -0,0 +1,26 @@ +import MainLayout from '~/components/layouts/MainLayout' +import Link from 'next/link' +export default class Thanks extends React.Component { + render() { + return ( + +
+
+
+

Thanks!

+

You're super early.

+

We've put you on the early-bird list.

+

+ If you're feeling really brave, why don't you check out our{' '} + + docs + {' '} + and start using our free & opensource products? +

+
+
+
+
+ ) + } +}