-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
146 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import React from "react"; | ||
import styles from "./styles.module.scss"; | ||
|
||
type Accepted = { | ||
children: React.ReactNode; | ||
reimburse: number; | ||
handleConfirm: () => void; | ||
handleDecline: () => void; | ||
}; | ||
|
||
export default function Accepted({ children, reimburse }: Accepted) { | ||
return ( | ||
<div className={styles.container}> | ||
<div className={styles.textBlock}> | ||
{children} | ||
<p> | ||
If you would like to attend HackIllinois 2024, click Confirm | ||
to finish the RSVP process. If you won't be attending | ||
please click Decline. This cannot be reversed. | ||
</p> | ||
{reimburse > 0 && ( | ||
<p> | ||
Additionally, you have been approved for a travel | ||
reimbursement of ${reimburse.toFixed(2)}. Receiving this | ||
reimbursement is contingent on you coming to | ||
HackIllinois in-person and submitting a project. | ||
</p> | ||
)} | ||
</div> | ||
<div className={styles.buttonGroup}> | ||
{/* <ConfirmButton onClick={handleConfirm} /> | ||
<DeclineButton onClick={handleDecline} /> */} | ||
</div> | ||
{/* <div className={styles.mobileButtonGroup}> | ||
<button onClick={handleConfirm}> | ||
<Image | ||
alt="confirm button" | ||
src={MobileConfirmButton} | ||
width={309} | ||
height={54} | ||
/> | ||
</button> | ||
<button onClick={handleDecline}> | ||
<Image | ||
alt="decline button" | ||
src={MobileDeclineButton} | ||
width={309} | ||
height={54} | ||
/> | ||
</button> | ||
</div> */} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import styles from "./styles.module.scss"; | ||
|
||
type ConfirmRejectProps = { | ||
handleGoBack: () => void; | ||
handleAPIDecline: () => void; | ||
}; | ||
|
||
export default function ConfirmReject({ handleGoBack }: ConfirmRejectProps) { | ||
return ( | ||
<div className={styles.container}> | ||
<b>Are you sure you want to decline?</b> | ||
<div className={styles.buttonGroup}> | ||
<button | ||
onClick={handleGoBack} | ||
className={styles.unhoveredButton} | ||
> | ||
GO BACK | ||
</button> | ||
{/* <DeclineButton onClick={handleDecline} /> */} | ||
</div> | ||
<div className={styles.mobileButtonGroup}> | ||
<button | ||
onClick={handleGoBack} | ||
className={styles.unhoveredButton} | ||
> | ||
GO BACK | ||
</button> | ||
{/* <DeclineButton onClick={handleDecline} /> */} | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import styles from "./styles.module.scss"; | ||
|
||
type RejectedProps = { | ||
handleCancel: () => void; | ||
}; | ||
|
||
export default function Rejected({}: RejectedProps) { | ||
return ( | ||
<div className={styles.container}> | ||
<b> | ||
Unfortunately, we were unable to offer you a spot at | ||
HackIllinois | ||
</b> | ||
<b> | ||
Email us at{" "} | ||
<a href="mailto:[email protected]"> | ||
[email protected] | ||
</a>{" "} | ||
if you have any questions! | ||
</b> | ||
{/* <OkButton onClick={handleCancel} /> */} | ||
</div> | ||
); | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters