import { useState } from 'react' import MangoPill from '../components/MangoPill' import Button from './Button' const doNothing = (e) => { e.stopPropagation() } const FooterSection = () => { const [done, setDone] = useState(false) const [email, setEmail] = useState('') const handleChange = (e) => { setEmail(e.target.value) } const handleSubmit = async (e) => { e.preventDefault() await fetch('/api/signup', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ email }), }) setDone(true) } return (
We promise to never spam and only send alpha.