From e8feeeda0951fc44fb56c7d9853da437af64b58c Mon Sep 17 00:00:00 2001 From: leo <leo@zklink.org> Date: Sun, 17 Mar 2024 14:10:43 +0800 Subject: [PATCH] fix: update bridge --- src/components/Bridge.tsx | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/src/components/Bridge.tsx b/src/components/Bridge.tsx index 5c013a04..efced1b8 100644 --- a/src/components/Bridge.tsx +++ b/src/components/Bridge.tsx @@ -716,7 +716,7 @@ export default function Bridge(props: IBridgeComponentProps) { content={ContentForMNTDeposit} isDisabled={actionBtnTooltipForMantleDisabeld} > - <Button + {/* <Button className="gradient-btn w-full rounded-full " style={{ display: "flex", alignItems: "center" }} disableAnimation @@ -726,7 +726,20 @@ export default function Bridge(props: IBridgeComponentProps) { disabled={actionBtnDisabled} > {btnText} - </Button> + </Button> */} + <a href="https://portal.zklink.io/bridge/" target="_blank"> + <Button + className="gradient-btn w-full rounded-full " + style={{ display: "flex", alignItems: "center" }} + disableAnimation + size="lg" + // onClick={handleAction} + isLoading={loading} + // disabled={actionBtnDisabled} + > + Deposit through zkLink Nova Portal now + </Button> + </a> </Tooltip> ) : ( <Button @@ -892,7 +905,7 @@ export default function Bridge(props: IBridgeComponentProps) { content={ContentForMNTDeposit} isDisabled={actionBtnTooltipForMantleDisabeld} > - <Button + {/* <Button className="gradient-btn w-full rounded-full " style={{ display: "flex", alignItems: "center" }} disableAnimation @@ -902,7 +915,19 @@ export default function Bridge(props: IBridgeComponentProps) { disabled={actionBtnDisabled} > {btnText} - </Button> + </Button> */} + <a href="https://portal.zklink.io/bridge/" target="_blank"> + <Button + className="gradient-btn w-full rounded-full " + style={{ display: "flex", alignItems: "center" }} + disableAnimation + size="lg" + isLoading={loading} + // disabled={actionBtnDisabled} + > + Deposit through zkLink Nova Portal now + </Button> + </a> </Tooltip> ) : ( <Button