Skip to content

Commit

Permalink
Merge branch 'main' into ethanfreire/main
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltott committed Sep 30, 2024
2 parents e9c5b84 + 1817bf2 commit 30288ef
Showing 1 changed file with 8 additions and 42 deletions.
50 changes: 8 additions & 42 deletions src/components/NewslettterSubscribe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,49 +4,15 @@ export default function NewsletterSubscribe({
return (
<>
<h2>{header}</h2>
<form
action="https://virtualcoffeeio.beehiiv.com/subscribe"
method="post"
name="mc-embedded-subscribe-form"
style={{ maxWidth: '500px' }}
>
<div className="form-group">
<label htmlFor="mce-EMAIL">Email Address:</label>
<input
type="email"
className="form-control"
id="mce-EMAIL"
name="EMAIL"
aria-describedby="nameHelp"
required
/>
<small id="nameHelp" className="form-text text-muted">
Required
</small>
</div>

<div
style={{ position: 'absolute', left: '-5000px' }}
aria-hidden="true"
<p className="lead">
<a
href="https://virtualcoffeeio.beehiiv.com/subscribe"
target="_blank"
rel="noopener noreferrer"
>
<label htmlFor="honeypot">Please leave this field empty</label>
<input
type="text"
name="b_e52b6b09f8fe23f8277bfbe66_d0267c9b8e"
tabIndex={-1}
id="honeypot"
/>
</div>
<div className="text-right">
<input
type="submit"
value="Subscribe"
name="subscribe"
id="mc-embedded-subscribe"
className="btn btn-primary btn-lg"
/>
</div>
</form>
Subscribe to the Virtual Coffee Newsletter on beehiiv!
</a>
</p>
</>
);
}

0 comments on commit 30288ef

Please sign in to comment.