-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from EmmanuelAR/feat/207
Feat/207
- Loading branch information
Showing
6 changed files
with
38 additions
and
6 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
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
22 changes: 22 additions & 0 deletions
22
frontend/gostarkme-web/components/modules/confirmation/WithdrawConfirmation.tsx
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,22 @@ | ||
import ShareXButton from "@/components/ui/ShareOnX"; | ||
import React from "react"; | ||
|
||
interface WithdrawConfirmationProps { | ||
txHash: String; | ||
message: String; | ||
} | ||
|
||
const WithdrawConfirmation: React.FC<WithdrawConfirmationProps> = ({ | ||
txHash, | ||
message, | ||
}) => ( | ||
<> | ||
<div className="flex flex-col items-center justify-center gap-4 text-center"> | ||
<p className="text-2xl font-light m-5">🎉 Success! Your funds have been withdrawn. Check out the transaction details and celebrate! 💸✨ <a className="text-blue-600" target="_blank" href={"https://sepolia.voyager.online/tx/" + txHash}>here.</a></p> | ||
<p className="text-2xl font-light m-5">Goal Achieved! Your funds have been withdrawn, and the campaign is a success! Share your contribution on X and let everyone know how awesome you are!</p> | ||
<ShareXButton message={message} /> | ||
</div> | ||
</> | ||
); | ||
|
||
export default WithdrawConfirmation; |
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