mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Adding signup and thanks
This commit is contained in:
1 parent
dc3d9e1f38
commit
d9cf8ac60b
2 files changed
+61
-8
No files matched your search
@@ -1,14 +1,41 @@
|
||||
export default function Footer() {
|
||||
import React, { useState, useEffect } from 'react'
|
||||
|
||||
export default function SignUpForm() {
|
||||
const [email, setEmail] = useState('')
|
||||
return (
|
||||
<form className="field is-grouped" name="contact" method="POST" data-netlify="true">
|
||||
<form
|
||||
action="https://gmail.us5.list-manage.com/subscribe/post?u=c6785f4e1c9c77f231e367f6e&id=18cccc8b62"
|
||||
method="post"
|
||||
id="mc-embedded-subscribe-form"
|
||||
name="mc-embedded-subscribe-form"
|
||||
className="field is-grouped"
|
||||
target="_blank"
|
||||
novalidate
|
||||
>
|
||||
<p className="control is-expanded">
|
||||
<input className="input" type="email" name="email" placeholder="your@email.com" />
|
||||
</p>
|
||||
<p className="control">
|
||||
<button className="button is-primary" type="submit">
|
||||
Early Sign Up
|
||||
</button>
|
||||
<input
|
||||
type="email"
|
||||
value={email}
|
||||
name="EMAIL"
|
||||
className="input email"
|
||||
id="mce-EMAIL"
|
||||
placeholder="your@email.com"
|
||||
onChange={e => setEmail(e.target.value)}
|
||||
required
|
||||
/>
|
||||
</p>
|
||||
<div style={{ position: 'absolute', left: '-5000px' }} aria-hidden="true">
|
||||
<input type="text" name="b_c6785f4e1c9c77f231e367f6e_18cccc8b62" tabindex="-1" value="" />
|
||||
</div>
|
||||
<div className="control">
|
||||
<input
|
||||
type="submit"
|
||||
value="Early Sign Up"
|
||||
name="subscribe"
|
||||
id="mc-embedded-subscribe"
|
||||
className="button is-primary"
|
||||
/>
|
||||
</div>
|
||||
</form>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
import MainLayout from '~/components/layouts/MainLayout'
|
||||
import Link from 'next/link'
|
||||
export default class Thanks extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<MainLayout>
|
||||
<div className="section container m-xxl ">
|
||||
<div className="columns is-centered">
|
||||
<div className="column" style={{ maxWidth: 450 }}>
|
||||
<h1 className="title is-1">Thanks!</h1>
|
||||
<p className="subtitle">You're super early.</p>
|
||||
<p className="">We've put you on the early-bird list.</p>
|
||||
<p className="">
|
||||
If you're feeling really brave, why don't you check out our{' '}
|
||||
<Link href={`/docs/[category]/[slug]`} as={`/docs/-/about`}>
|
||||
<a className="">docs</a>
|
||||
</Link>{' '}
|
||||
and start using our free & opensource products?
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</MainLayout>
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user