Skip to content

Commit f4ec403

Browse files
authored
chore: Mark FastBTC as deprecated (#1111)
1 parent e729dfd commit f4ec403

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

apps/frontend/src/app/3_organisms/Header/components/BridgeMenuItem/BridgeMenuItem.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import classNames from 'classnames';
44
import { t } from 'i18next';
55

66
import { ChainIds } from '@sovryn/ethers-provider';
7-
import { Menu, MenuItem, Tooltip } from '@sovryn/ui';
7+
import { Badge, Menu, MenuItem, Tooltip } from '@sovryn/ui';
88

99
import { POWPEG, RSK_FAUCET } from '../../../../../constants/general';
1010
import { BOB } from '../../../../../constants/infrastructure/bob';
@@ -137,7 +137,12 @@ export const BridgeMenuItem: FC<BridgeMenuItemProps> = ({ dataAttribute }) => {
137137
/>
138138
<MenuItem
139139
key={t('header.nav.bridges.subMenu.btcBridge')}
140-
text={t('header.nav.bridges.subMenu.btcBridge')}
140+
text={
141+
<span className="flex items-center gap-1.5">
142+
{t('header.nav.bridges.subMenu.btcBridge')}
143+
<Badge content={t('common.deprecated')} className="px-1.5" />
144+
</span>
145+
}
141146
label={
142147
!isMobile &&
143148
t('header.nav.bridges.subMenu.btcBridgeDescription')

apps/frontend/src/locales/en/translations.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@
7171
"withdrawal": "Withdrawal"
7272
},
7373
"learnMore": "Learn more",
74-
"invalidAmountError": "Exceeds maximum amount"
74+
"invalidAmountError": "Exceeds maximum amount",
75+
"deprecated": "deprecated"
7576
},
7677
"connectWalletButton": {
7778
"connect": "Get started",

0 commit comments

Comments
 (0)