diff --git a/src/assets/footer_X.svg b/src/assets/footer_X.svg new file mode 100644 index 000000000..7b3745431 --- /dev/null +++ b/src/assets/footer_X.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/footer_twitter.svg b/src/assets/footer_twitter.svg deleted file mode 100644 index 8be4f3260..000000000 --- a/src/assets/footer_twitter.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx index eada621ed..986be0778 100644 --- a/src/components/Footer/index.tsx +++ b/src/components/Footer/index.tsx @@ -1,6 +1,6 @@ import { memo, useMemo } from 'react' import { useTranslation } from 'react-i18next' -import { ReactComponent as TwitterIcon } from '../../assets/footer_twitter.svg' +import { ReactComponent as XIcon } from '../../assets/footer_X.svg' import { ReactComponent as MediumIcon } from '../../assets/footer_medium.svg' import { ReactComponent as TelegramIcon } from '../../assets/footer_telegram.svg' import { ReactComponent as RedditIcon } from '../../assets/footer_reddit.svg' @@ -90,9 +90,9 @@ export default memo(() => { url: 'https://discord.com/invite/FKh8Zzvwqa', }, { - label: t('footer.twitter'), - icon: TwitterIcon, - url: 'https://twitter.com/nervosnetwork', + label: t('footer.X'), + icon: XIcon, + url: 'https://x.com/nervosnetwork', }, { label: t('footer.blog'), diff --git a/src/locales/en.json b/src/locales/en.json index 439872180..1eb30e271 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -242,7 +242,7 @@ "whitepaper": "Whitepaper", "faucet": "Faucet", "community": "Community", - "twitter": "Twitter", + "X": "X", "discord": "Discord", "blog": "Blog", "telegram": "Telegram", diff --git a/src/locales/zh.json b/src/locales/zh.json index e567bf131..137aaf67b 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -241,7 +241,7 @@ "whitepaper": "白皮书", "faucet": "水龙头", "community": "社区", - "twitter": "Twitter", + "X": "X", "discord": "Discord", "blog": "Blog", "telegram": "Telegram",