Skip to content

Commit

Permalink
feat: use X instead of twitter (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY authored Sep 28, 2023
1 parent 74bcdf4 commit e825bd9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 4 additions & 0 deletions src/assets/footer_X.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions src/assets/footer_twitter.svg

This file was deleted.

8 changes: 4 additions & 4 deletions src/components/Footer/index.tsx
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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'),
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"whitepaper": "Whitepaper",
"faucet": "Faucet",
"community": "Community",
"twitter": "Twitter",
"X": "X",
"discord": "Discord",
"blog": "Blog",
"telegram": "Telegram",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
"whitepaper": "白皮书",
"faucet": "水龙头",
"community": "社区",
"twitter": "Twitter",
"X": "X",
"discord": "Discord",
"blog": "Blog",
"telegram": "Telegram",
Expand Down

0 comments on commit e825bd9

Please sign in to comment.