diff --git a/README.md b/README.md
index 38f5762ffc1..60ca271db47 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ An open source repository for all Uniswap front end interfaces maintained by Uni
## Socials / Contact
-- Twitter: [@Uniswap](https://twitter.com/Uniswap)
+- Twitter: [@Uniswap](https://x.com/Uniswap)
- Reddit: [/r/Uniswap](https://www.reddit.com/r/Uniswap/)
- Email: [contact@uniswap.org](mailto:contact@uniswap.org)
- Discord: [Uniswap](https://discord.gg/FCfyBSbCU5)
diff --git a/apps/mobile/src/features/externalProfile/ProfileHeader.tsx b/apps/mobile/src/features/externalProfile/ProfileHeader.tsx
index a808c3717d8..c85bf9aa15c 100644
--- a/apps/mobile/src/features/externalProfile/ProfileHeader.tsx
+++ b/apps/mobile/src/features/externalProfile/ProfileHeader.tsx
@@ -116,7 +116,7 @@ export const ProfileHeader = memo(function ProfileHeader({ address }: ProfileHea
const onPressTwitter = useCallback(async () => {
if (twitter) {
- await openUri(`https://twitter.com/${twitter}`)
+ await openUri(`https://x.com/${twitter}`)
}
}, [twitter])
diff --git a/apps/web/functions/explore/tokens/token.test.ts b/apps/web/functions/explore/tokens/token.test.ts
index 61f8313f6c1..fed57530aa2 100644
--- a/apps/web/functions/explore/tokens/token.test.ts
+++ b/apps/web/functions/explore/tokens/token.test.ts
@@ -48,7 +48,7 @@ test.each(tokens)('should inject metadata for valid tokens', async (token) => {
)
expect(body).toContain(``)
expect(body).toContain(
- ``,
+ ``,
)
})
diff --git a/apps/web/src/components/Tokens/TokenDetails/ShareButton.tsx b/apps/web/src/components/Tokens/TokenDetails/ShareButton.tsx
index f210daa0d00..c2d5803dfba 100644
--- a/apps/web/src/components/Tokens/TokenDetails/ShareButton.tsx
+++ b/apps/web/src/components/Tokens/TokenDetails/ShareButton.tsx
@@ -38,7 +38,7 @@ export function openShareTweetWindow(name: string) {
const positionX = (window.screen.width - TWITTER_WIDTH) / 2
const positionY = (window.screen.height - TWITTER_HEIGHT) / 2
window.open(
- `https://twitter.com/intent/tweet?text=Check%20out%20${name}%20${currentLocation}%20via%20@Uniswap`,
+ `https://x.com/intent/tweet?text=Check%20out%20${name}%20${currentLocation}%20via%20@Uniswap`,
'newwindow',
`left=${positionX}, top=${positionY}, width=${TWITTER_WIDTH}, height=${TWITTER_HEIGHT}`,
)
diff --git a/apps/web/src/nft/components/collection/CollectionStats.tsx b/apps/web/src/nft/components/collection/CollectionStats.tsx
index c28c149ae4e..7cf6482914e 100644
--- a/apps/web/src/nft/components/collection/CollectionStats.tsx
+++ b/apps/web/src/nft/components/collection/CollectionStats.tsx
@@ -110,7 +110,7 @@ const MobileSocialsPopover = ({
) : null}
{collectionStats.twitterUrl ? (
-
+
) : null}
{collectionStats.twitterUrl ? (
-
+
{
{collection.externalUrl && }
- {collection.twitterUrl && }
+ {collection.twitterUrl && }
{collection.discordUrl && }
>
diff --git a/apps/web/src/nft/utils/asset.tsx b/apps/web/src/nft/utils/asset.tsx
index 9069b54fe8e..b1348f23260 100644
--- a/apps/web/src/nft/utils/asset.tsx
+++ b/apps/web/src/nft/utils/asset.tsx
@@ -76,7 +76,7 @@ export const getMarketplaceIcon = (marketplace: string, size: string | number =
}
export const generateTweetForAsset = (asset: GenieAsset): string => {
- return `https://twitter.com/intent/tweet?text=Check%20out%20${
+ return `https://x.com/intent/tweet?text=Check%20out%20${
asset.name ? encodeURIComponent(asset.name) : `${asset.collectionName}%20%23${asset.tokenId}`
}%20(${asset.collectionName})%20https://app.uniswap.org/nfts/asset/${asset.address}/${asset.tokenId}%20via%20@uniswap`
}
@@ -87,7 +87,7 @@ export const generateTweetForPurchase = (assets: UpdatedGenieAsset[], txHashUrl:
const tweetText = `I just purchased ${
multipleCollections ? `${assets.length} NFTs` : `${assets.length} ${assets[0].collectionName ?? 'NFT'}`
} with @Uniswap 🦄\n\nhttps://app.uniswap.org/nfts/${collectionUrl}\n${txHashUrl}`
- return `https://twitter.com/intent/tweet?text=${encodeURIComponent(tweetText)}`
+ return `https://x.com/intent/tweet?text=${encodeURIComponent(tweetText)}`
}
function getMinListingPrice(listings: Listing[]): number {
@@ -122,5 +122,5 @@ export const generateTweetForList = (assets: WalletAsset[]): string => {
} items on @Uniswap at https://app.uniswap.org/nfts/profile\n\nCollections: ${mapAssetsToCollections(assets)
.map(({ collection, items }) => `${collection} ${items.map((item) => item).join(', ')}`)
.join(', ')} \n\nMarketplaces: ${assets[0].marketplaces?.map((market) => market.name).join(', ')}`
- return `https://twitter.com/intent/tweet?text=${encodeURIComponent(tweetText)}`
+ return `https://x.com/intent/tweet?text=${encodeURIComponent(tweetText)}`
}
diff --git a/apps/web/src/pages/Landing/sections/NewsletterEtc.tsx b/apps/web/src/pages/Landing/sections/NewsletterEtc.tsx
index 704871c9bff..dd318063193 100644
--- a/apps/web/src/pages/Landing/sections/NewsletterEtc.tsx
+++ b/apps/web/src/pages/Landing/sections/NewsletterEtc.tsx
@@ -143,7 +143,7 @@ export function NewsletterEtc() {