Skip to content

Commit

Permalink
Update email waitlist form and add referral tracking script
Browse files Browse the repository at this point in the history
  • Loading branch information
nfa1 committed Jun 23, 2024
1 parent 2b380c0 commit 7419aed
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
vite.svg,1713755213475,59ec4b6085a0cb1bf712a5e48dd5f35b08e34830d49c2026c18241be04e05d5a
index.html,1718967946549,743e240d7107baa7f2abbda263910d57868f1fa69538a08fcc583fb8648b911a
assets/index-BU2AORN_.css,1718967946550,d3d6ae5a2ba756d804d67901f02f41682ea9daefcfd12213afd5e980dd035735
gendonotevil1.png,1716715413819,87612e12215c5df3dd01be8177bbdd74734b0f76f7eb0c5ef72dcfa81a7766d9
assets/index-CP4OvNU9.js,1718967946592,996943566e0f4f6ee2f29e01d157541b59556ec0683da751677c319e5148d6e8
vite.svg,1713755213475,59ec4b6085a0cb1bf712a5e48dd5f35b08e34830d49c2026c18241be04e05d5a
index.html,1719121105537,56e949570dcefc21d55d594468cb51b1292db23d60f9b314bd272e7ef593b36a
assets/index-Bfp3qhXZ.css,1719121105579,ddfae8447786f0887c94c743d5c4313ce5772d99231c7d5b8532edb06b1739de
assets/index-DOT5lZia.js,1719121105580,495b32a808afbac02a6dcf36d168b9eec32228388fcba47bc1f3faf6ebae58cd
6 changes: 6 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ body {
display: block;
}

.error-text {
color: red;
font-size: 0.8em;
margin-top: 5px;
}

.submit-button {
background-color: #4d4d4d; /* Bitcoin dark grey */
border: none;
Expand Down
35 changes: 19 additions & 16 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@ function App() {
setEmail(e.target.value);
};

const handleSubmit = (e) => {
e.preventDefault();
// Add form submission logic here
};

const handleFileChange = (e) => {
setFile(e.target.files[0]);
};
Expand All @@ -104,20 +99,28 @@ function App() {
<div className="form-container">
<h2 className="form-title">What's your email?*</h2>
<p className="form-description">Join the LeetMigo waitlist! *By signing up, you accept our <a href="#" className="link">Terms</a> and <a href="#" className="link">Privacy Policy</a></p>
<input
type="email"
id="email"
value={email}
onChange={handleInputChange}
placeholder="[email protected]"
required
className="input-field"
/>
<button type="submit" className="submit-button" onClick={handleSubmit}>OK</button>
<form className="launchlist-form" action="https://getlaunchlist.com/s/pI1JRr" method="POST">
<input
type="text"
name="name"
placeholder="Your name"
className="input-field"
/>
<input
type="email"
name="email"
value={email}
onChange={handleInputChange}
placeholder="[email protected]"
required
className="input-field"
/>
<button type="submit" className="submit-button">Sign Up</button>
</form>
</div>

<p className="coming-soon">Features coming soon:</p>
<button className="survey-button" onClick={() => window.location.href = "https://docs.google.com/forms/d/e/1FAIpQLSeArNtgtrssOytNTt39Hs78UFUq1FgLwQlKNNZ5gzvIbjPnXg/viewform"}>User Feedback Survey</button>
<p className="coming-soon">Features coming soon:</p>
<button className="link-button">Learn</button>
<button className="upload-button" onClick={encryptAndUploadFile}>Upload and Encrypt</button>
<button className="link-button">Connect Wallet</button>
Expand Down

0 comments on commit 7419aed

Please sign in to comment.