mirror of
https://github.com/urbit/developers.urbit.org.git
synced 2024-09-11 21:57:16 +03:00
39 lines
1.3 KiB
JavaScript
39 lines
1.3 KiB
JavaScript
export default function NewsletterSignup(props) {
|
|
return (
|
|
<form
|
|
action="https://urbit.us11.list-manage.com/subscribe/post?u=972a03db9e0c6c25bb58de8c8&id=e4c17b2e98&f_id=00cf11e1f0"
|
|
method="post"
|
|
id="mc-embedded-subscribe-form"
|
|
name="mc-embedded-subscribe-form"
|
|
className="validate form max-w-screen-sm"
|
|
target="_blank"
|
|
noValidate
|
|
>
|
|
<div className="input-group" id="mc_embed_signup_scroll">
|
|
<div className="mc-field-group w-full relative">
|
|
<input
|
|
className={`appearance-none outline-none text-wall-500 type-ui bg-white black ${
|
|
props.color || "border-wall-600"
|
|
} border-4 px-3 w-full mb-2 h-16 rounded-xl`}
|
|
type="email"
|
|
name="EMAIL"
|
|
id="mce-EMAIL"
|
|
placeholder="your@email.com"
|
|
/>
|
|
<div className="flex h-16 items-center justify-center absolute top-0 right-6">
|
|
<button
|
|
id="mc-embedded-subscribe"
|
|
className="type-ui text-wall-600 hover:text-green-400 bg-transparent"
|
|
type="submit"
|
|
name="subscribe"
|
|
>
|
|
{/* onClick={() => _paq.push(['trackEvent', 'Mailing List', 'Subscribe'])}> */}
|
|
Sign Up
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
);
|
|
}
|