Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mainnet deploy 1.0.2 #314

Merged
merged 3 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions frontend/gostarkme-web/components/modules/Fund/Fund.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const Fund = () => {

useEffect(() => {
getDetails();
}, []);
});

return (
<>
Expand Down Expand Up @@ -110,13 +110,13 @@ const Fund = () => {
)}
{Number(fund.state) === 2 && (
<>
<FundDonate
currentBalance={fund.currentBalance}
goal={fund.goal}
addr={fund.addr}
name={fund.name}
icon={starknetlogo}
/>
<FundDonate
currentBalance={fund.currentBalance}
goal={fund.goal}
addr={fund.addr}
name={fund.name}
icon={starknetlogo}
/>
</>
)}
{Number(fund.state) === 3 && isOwner && (
Expand All @@ -129,7 +129,9 @@ const Fund = () => {
/>
)}
{Number(fund.state) === 3 && !isOwner && (
<p>Funds are ready for withdrawal by the owner.</p>
<p className="mt-10 self-center text-xl text-gray-500">
The goal has been reached and funds are ready to be withdrawn by the owner.
</p>
)}
{Number(fund.state) === 4 && <p>Fund was already withdrawn.</p>}
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const FundDonate = ({ currentBalance, goal, addr, name, icon }: FundDonateProps)
</svg>
</button>
<h1 className="text-xl">Success</h1>
<p className="text-l font-light m-5">Your donation was received, take a look at the transaction <a className="text-blue-600" target="_blank" href={"https://sepolia.voyager.online/tx/" + latestTx}>here.</a></p>
<p className="text-l font-light m-5">Your donation was received, take a look at the transaction <a className="text-blue-600" target="_blank" href={"https://voyager.online/tx/" + latestTx}>here.</a></p>
<p className="text-l font-light m-5">Share your contribution via X to tell everyone how cool you are</p>
<ShareXButton message={donationMessage} />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const FundVote = ({ name, upVotes, upVotesNeeded, addr, voted, setLoading
</svg>
</button>
<h1 className="text-xl">Success</h1>
<p className="text-l font-light m-5">Your vote was submitted, take a look at the transaction <a className="text-blue-600" target="_blank" href={"https://sepolia.voyager.online/tx/" + latestTx}>here.</a></p>
<p className="text-l font-light m-5">Your vote was submitted, take a look at the transaction <a className="text-blue-600" target="_blank" href={"https://voyager.online/tx/" + latestTx}>here.</a></p>
<p className="text-l font-light m-5">Share your contribution via X to tell everyone how cool you are</p>
<ShareXButton message={voteMessage} />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const CreationConfirmation: React.FC<CreationConfirmationProps> = ({
}) => (
<>
<div className="flex flex-col items-center justify-center gap-4 text-center">
<p className="text-2xl font-light m-5">Your funding was created, take a look at the transaction <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">Your funding was created, take a look at the transaction <a className="text-blue-600" target="_blank" href={"https://voyager.online/tx/" + txHash}>here.</a></p>
<p className="text-2xl font-light m-5">Share your contribution via X to tell everyone how cool you are</p>
<ShareXButton message={message} />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const WithdrawConfirmation: React.FC<WithdrawConfirmationProps> = ({
}) => (
<>
<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">🎉 Success! Your funds have been withdrawn. Check out the transaction details and celebrate! 💸✨ <a className="text-blue-600" target="_blank" href={"https://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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ const DescriptionStep: React.FC<DescriptionStepProps> = ({
href=""
className="absolute right-[-270px] top-[-205px]"
>
<img
src="/icons/arrow-right.png"
alt="Back Arrow"
className="h-8 w-8"
/>
</a>
</div>
);
Expand Down
Loading