interplane.Get Omega
Read in your language

sovereign-intelligence

Front door to Drake Stapleton's sovereign stack.

Brought by drakestapleton

branch main Branches Tags History

sovereign-intelligence / docs / archive / drakestapleton.com-old / src / components / InterestForm.tsx

78 lines · 2817 bytes Raw Blame History
1const INTAKE_ACTION = "https://formsubmit.co/dhgmonkey94@gmail.com";
2const THANKS_URL = "https://www.drakestapleton.com/interest?received=1";
3
4export function InterestForm({ compact = false }: { compact?: boolean }) {
5 return (
6 <form
7 className={compact ? "interest-form is-compact" : "interest-form"}
8 action={INTAKE_ACTION}
9 method="POST"
10 >
11 <input type="hidden" name="_subject" value="Conversation from drakestapleton.com" />
12 <input type="hidden" name="_captcha" value="true" />
13 <input type="hidden" name="_template" value="table" />
14 <input type="hidden" name="_next" value={THANKS_URL} />
15 <div className="interest-honeypot" aria-hidden="true">
16 <label htmlFor="interest-website">Website</label>
17 <input id="interest-website" type="text" name="_gotcha" tabIndex={-1} autoComplete="off" />
18 </div>
19
20 <div className="interest-card-grid">
21 <p className="interest-card-label">Your note</p>
22 <div className="interest-fields">
23 <label htmlFor="interest-name">
24 Name
25 <input id="interest-name" name="name" type="text" autoComplete="name" maxLength={120} required />
26 </label>
27 <label htmlFor="interest-email">
28 Email
29 <input
30 id="interest-email"
31 name="email"
32 type="email"
33 inputMode="email"
34 autoComplete="email"
35 maxLength={254}
36 required
37 />
38 </label>
39 <label htmlFor="interest-org">
40 Your project or story
41 <input
42 id="interest-org"
43 name="project_or_story"
44 type="text"
45 maxLength={160}
46 />
47 </label>
48 </div>
49 </div>
50
51 <details className="interest-more">
52 <summary>A few questions</summary>
53 <div className="interest-fields">
54 <label htmlFor="interest-brought">
55 What brought you here?
56 <textarea id="interest-brought" name="what_brought_you_here" rows={3} maxLength={800} />
57 </label>
58 <label htmlFor="interest-work">
59 What are you working on?
60 <textarea id="interest-work" name="what_are_you_working_on" rows={3} maxLength={800} />
61 </label>
62 </div>
63 </details>
64
65 <label htmlFor="interest-questions">
66 Questions for me
67 <textarea id="interest-questions" name="questions_for_me" rows={4} maxLength={1200} />
68 </label>
69
70 <label className="interest-consent">
71 <input name="reply_ok" type="checkbox" value="yes" required />
72 <span>Use this email only to continue this conversation.</span>
73 </label>
74
75 <button type="submit">Send the note</button>
76 </form>
77 );
78}