Skip to content

Commit

Permalink
feat(donation): revise usdt guide link
Browse files Browse the repository at this point in the history
  • Loading branch information
robertu7 committed Mar 6, 2024
1 parent 797395a commit 8b4a326
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/common/enums/externalLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ export const GUIDE_LINKS = {
zh_hans: `https://matters.town/@hi176/387119?locale=zh-Hans`,
en: `https://matters.town/@hi176/387119?locale=en`,
},
usdt: {
zh_hant: `https://matters.town/@hi176/537407`,
zh_hans: `https://matters.town/@hi176/537407?locale=zh-Hans`,
en: `https://matters.town/@hi176/537407?locale=en`,
},
PWA: {
zh_hant: `https://matters.town/@hi176/387115`,
zh_hans: `https://matters.town/@hi176/387115?locale=zh-Hans`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const Tips = () => {
/>
<a
className="u-link-green"
href={GUIDE_LINKS.payment[lang]}
href={GUIDE_LINKS.usdt[lang]}
target="_blank"
rel="noreferrer"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const SetAmountBalance: React.FC<SetAmountBalanceProps> = ({
</BindEmailHintDialog>
)}
{isUSDT && balanceUSDT <= 0 && (
<a href={GUIDE_LINKS.payment[lang]} target="_blank" rel="noreferrer">
<a href={GUIDE_LINKS.usdt[lang]} target="_blank" rel="noreferrer">
<TextIcon size="xs" textDecoration="underline" color="greyDark">
<Translate
zh_hant="如何移轉資金到 Optimism?"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const WhyOptimismDialog = ({ children }: WhyOptimismDialogProps) => {
link: (
<a
className="u-link-green"
href={GUIDE_LINKS.payment[lang]}
href={GUIDE_LINKS.usdt[lang]}
target="_blank"
rel="noreferrer"
>
Expand Down

0 comments on commit 8b4a326

Please sign in to comment.