Skip to content

Commit 0a0fd10

Browse files
committed
fix: claim reward image update
1 parent 17269be commit 0a0fd10

File tree

5 files changed

+62
-2
lines changed

5 files changed

+62
-2
lines changed

pages/[id].tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function claim() {
4646
const uuid = router.asPath;
4747
return (
4848
<WagmiConfig config={config}>
49-
<MetaHead title="Hey, Claim your Safe for Free!!" description="Clink Safe | Share Crypto Rewards Just in Link" imageUrl="" urlEndpoint="" />
49+
<MetaHead title="Hey, Claim your Reward!!" description="Crypto Rewards Just in Link | Clink Safe" imageUrl="https://raw.githubusercontent.com/punithbm/eth-micropay-superhack/develop/public/assets/images/bg_card_topology.svg" urlEndpoint="" />
5050
<ShareLink uuid={uuid} />
5151
</WagmiConfig>
5252
);

public/assets/images/meta.png

24.1 KB
Loading

public/assets/images/tchestopen.svg

+57
Loading

ui_components/ShareLinkPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ const ShareLink: FC<IShareLink> = (props) => {
372372
</div>
373373
)}
374374
<div className="self-end">
375-
<Image className="" src={icons.tchest} alt="Chest" />
375+
{isClaimSuccessful ? <Image className="mt-[-29px]" src={icons.tchestopen} alt="Chest Open" /> : <Image className="" src={icons.tchest} alt="Chest" />}
376376
</div>
377377
</div>
378378
</div>

utils/images/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import safeLogo from "../../public/assets/images/safe_logo.svg";
2020
import shareBtnIcon from "../../public/assets/images/share_btn_icon.svg";
2121
import shareBtnIconWhite from "../../public/assets/images/share_btn_icon_white.svg";
2222
import tchest from "../../public/assets/images/tchest.svg";
23+
import tchestopen from "../../public/assets/images/tchestopen.svg";
2324
import telegramBlue from "../../public/assets/images/telegram_blue.svg";
2425
import tokensLoading from "../../public/assets/images/tokens_loading.png";
2526
import transferIcon from "../../public/assets/images/transfer_icon.svg";
@@ -30,6 +31,7 @@ export type TImages =
3031
| "logo"
3132
| "logo2"
3233
| "tchest"
34+
| "tchestopen"
3335
| "walletIcon"
3436
| "backIcon"
3537
| "shareBtnIcon"
@@ -65,6 +67,7 @@ export const icons: Record<TImages, TNextImage> = {
6567
logo,
6668
logo2,
6769
tchest,
70+
tchestopen,
6871
walletIcon,
6972
backIcon,
7073
shareBtnIcon,

0 commit comments

Comments
 (0)