Skip to content

Commit

Permalink
Merge pull request #7 from utmgdsc/william_3_donate_page
Browse files Browse the repository at this point in the history
[SC-3] Add donate page
  • Loading branch information
Fungucide authored Feb 2, 2025
2 parents be9ef79 + f1f3828 commit 98f5bad
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions webapp/src/pages/donate.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { JSX } from "react";

const Donate = (): JSX.Element => (
<>
<h1>Donate</h1>
<form className="flex flex-col gap-2">
{/* Placeholder form until we try to integrate with stripe */}
<label htmlFor="email">Email</label>
<input id="email" type="email" placeholder="Email" />
<label htmlFor="card-number">Card Number</label>
<input id="card-number" type="number" placeholder="Card Number" />
<div className="flex flex-row gap-x-2">
<input className="grow" type="date" />
<input className="grow" type="number" placeholder="CVC" />
</div>
<label htmlFor="name">Cardholder Name</label>
<input id="name" type="text" placeholder="Name" />
<label htmlFor="country">Country</label>
<input id="country" type="text" placeholder="Country" />
<div className="flex gap-x-2 m-auto">
<input id="terms" type="checkbox" />
<label htmlFor="terms">I agree to the terms and conditions</label>
</div>
<input type="submit" value="Pay"/>
</form>
</>
);

export default Donate;

0 comments on commit 98f5bad

Please sign in to comment.