Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Twitter branding to X #434

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions generated/arweave.ts

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions generated/tweets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const tweets = {
end: 196,
url: 'https://t.co/uIzPfQWReB',
expanded_url:
'https://twitter.com/icebreaker_xyz/status/1697025056478556553/video/1',
'https://x.com/icebreaker_xyz/status/1697025056478556553/video/1',
display_url: 'pic.twitter.com/uIzPfQWReB',
media_key: '7_1697024943009996800',
},
Expand Down Expand Up @@ -53,15 +53,15 @@ export const tweets = {
},
{
possibly_sensitive: false,
text: '"The Face Of Base" is about to have a whole new meaning with #NFTOSHIS. \n\nThe mint goes live August 31st at 17:00 EST / 21:00 UTC. \n\nThe link to the mint site will shared on the official twitter account @Toshi_base shortly before the launch goes live. https://t.co/hYW9JlbEra',
text: '"The Face Of Base" is about to have a whole new meaning with #NFTOSHIS. \n\nThe mint goes live August 31st at 17:00 EST / 21:00 UTC. \n\nThe link to the mint site will shared on the official X account @Toshi_base shortly before the launch goes live. https://t.co/hYW9JlbEra',
entities: {
urls: [
{
start: 254,
end: 277,
url: 'https://t.co/hYW9JlbEra',
expanded_url:
'https://twitter.com/Toshi_base/status/1696959638158139633/video/1',
'https://x.com/Toshi_base/status/1696959638158139633/video/1',
display_url: 'pic.twitter.com/hYW9JlbEra',
media_key: '7_1696959508596084736',
},
Expand Down Expand Up @@ -122,15 +122,15 @@ export const tweets = {
{
domain: {
id: '131',
name: 'Unified Twitter Taxonomy',
name: 'Unified X Taxonomy',
description: 'A taxonomy of user interests. ',
},
entity: { id: '10029202045', name: 'Facebook' },
},
{
domain: {
id: '131',
name: 'Unified Twitter Taxonomy',
name: 'Unified X Taxonomy',
description: 'A taxonomy of user interests. ',
},
entity: { id: '1196446161223028736', name: 'Social media' },
Expand Down Expand Up @@ -183,7 +183,7 @@ export const tweets = {
end: 198,
url: 'https://t.co/junABXkOXK',
expanded_url:
'https://twitter.com/base_avatar/status/1697213737416208725/video/1',
'https://x.com/base_avatar/status/1697213737416208725/video/1',
display_url: 'pic.twitter.com/junABXkOXK',
media_key: '7_1697213282464268288',
},
Expand Down Expand Up @@ -233,15 +233,15 @@ export const tweets = {
{
domain: {
id: '131',
name: 'Unified Twitter Taxonomy',
name: 'Unified X Taxonomy',
description: 'A taxonomy of user interests. ',
},
entity: { id: '1265660441822281728', name: 'Art' },
},
{
domain: {
id: '131',
name: 'Unified Twitter Taxonomy',
name: 'Unified X Taxonomy',
description: 'A taxonomy of user interests. ',
},
entity: { id: '1537182142450372608', name: 'AI image generation' },
Expand Down Expand Up @@ -277,7 +277,7 @@ export const tweets = {
end: 58,
url: 'https://t.co/5ai35wcfm4',
expanded_url:
'https://twitter.com/tokepadxyz/status/1697319426213716021/photo/1',
'https://x.com/tokepadxyz/status/1697319426213716021/photo/1',
display_url: 'pic.twitter.com/5ai35wcfm4',
media_key: '3_1697319357762695168',
},
Expand Down Expand Up @@ -326,7 +326,7 @@ export const tweets = {
end: 297,
url: 'https://t.co/VoDSTpfqhJ',
expanded_url:
'https://twitter.com/Landtorn/status/1696902398717853999/photo/1',
'https://x.com/Landtorn/status/1696902398717853999/photo/1',
display_url: 'pic.twitter.com/VoDSTpfqhJ',
media_key: '3_1696901852619522048',
},
Expand Down Expand Up @@ -396,7 +396,7 @@ export const tweets = {
end: 308,
url: 'https://t.co/w64ys2BYQD',
expanded_url:
'https://twitter.com/Layerrxyz/status/1696216157601284148/photo/1',
'https://x.com/Layerrxyz/status/1696216157601284148/photo/1',
display_url: 'pic.twitter.com/w64ys2BYQD',
media_key: '16_1696216146595516416',
},
Expand Down Expand Up @@ -464,7 +464,7 @@ export const tweets = {
{
domain: {
id: '131',
name: 'Unified Twitter Taxonomy',
name: 'Unified X Taxonomy',
description: 'A taxonomy of user interests. ',
},
entity: {
Expand Down Expand Up @@ -988,7 +988,7 @@ export const tweets = {
end: 196,
url: 'https://t.co/uIzPfQWReB',
expanded_url:
'https://twitter.com/icebreaker_xyz/status/1697025056478556553/video/1',
'https://x.com/icebreaker_xyz/status/1697025056478556553/video/1',
display_url: 'pic.twitter.com/uIzPfQWReB',
media_key: '7_1697024943009996800',
},
Expand Down Expand Up @@ -1031,15 +1031,15 @@ export const tweets = {
},
{
possibly_sensitive: false,
text: '"The Face Of Base" is about to have a whole new meaning with #NFTOSHIS. \n\nThe mint goes live August 31st at 17:00 EST / 21:00 UTC. \n\nThe link to the mint site will shared on the official twitter account @Toshi_base shortly before the launch goes live. https://t.co/hYW9JlbEra',
text: '"The Face Of Base" is about to have a whole new meaning with #NFTOSHIS. \n\nThe mint goes live August 31st at 17:00 EST / 21:00 UTC. \n\nThe link to the mint site will shared on the official X account @Toshi_base shortly before the launch goes live. https://t.co/hYW9JlbEra',
entities: {
urls: [
{
start: 254,
end: 277,
url: 'https://t.co/hYW9JlbEra',
expanded_url:
'https://twitter.com/Toshi_base/status/1696959638158139633/video/1',
'https://x.com/Toshi_base/status/1696959638158139633/video/1',
display_url: 'pic.twitter.com/hYW9JlbEra',
media_key: '7_1696959508596084736',
},
Expand Down Expand Up @@ -1100,15 +1100,15 @@ export const tweets = {
{
domain: {
id: '131',
name: 'Unified Twitter Taxonomy',
name: 'Unified X Taxonomy',
description: 'A taxonomy of user interests. ',
},
entity: { id: '10029202045', name: 'Facebook' },
},
{
domain: {
id: '131',
name: 'Unified Twitter Taxonomy',
name: 'Unified X Taxonomy',
description: 'A taxonomy of user interests. ',
},
entity: { id: '1196446161223028736', name: 'Social media' },
Expand Down Expand Up @@ -1161,7 +1161,7 @@ export const tweets = {
end: 198,
url: 'https://t.co/junABXkOXK',
expanded_url:
'https://twitter.com/base_avatar/status/1697213737416208725/video/1',
'https://x.com/base_avatar/status/1697213737416208725/video/1',
display_url: 'pic.twitter.com/junABXkOXK',
media_key: '7_1697213282464268288',
},
Expand Down Expand Up @@ -1211,15 +1211,15 @@ export const tweets = {
{
domain: {
id: '131',
name: 'Unified Twitter Taxonomy',
name: 'Unified X Taxonomy',
description: 'A taxonomy of user interests. ',
},
entity: { id: '1265660441822281728', name: 'Art' },
},
{
domain: {
id: '131',
name: 'Unified Twitter Taxonomy',
name: 'Unified X Taxonomy',
description: 'A taxonomy of user interests. ',
},
entity: { id: '1537182142450372608', name: 'AI image generation' },
Expand Down Expand Up @@ -1255,7 +1255,7 @@ export const tweets = {
end: 58,
url: 'https://t.co/5ai35wcfm4',
expanded_url:
'https://twitter.com/tokepadxyz/status/1697319426213716021/photo/1',
'https://x.com/tokepadxyz/status/1697319426213716021/photo/1',
display_url: 'pic.twitter.com/5ai35wcfm4',
media_key: '3_1697319357762695168',
},
Expand Down Expand Up @@ -1304,7 +1304,7 @@ export const tweets = {
end: 297,
url: 'https://t.co/VoDSTpfqhJ',
expanded_url:
'https://twitter.com/Landtorn/status/1696902398717853999/photo/1',
'https://x.com/Landtorn/status/1696902398717853999/photo/1',
display_url: 'pic.twitter.com/VoDSTpfqhJ',
media_key: '3_1696901852619522048',
},
Expand Down Expand Up @@ -1374,7 +1374,7 @@ export const tweets = {
end: 308,
url: 'https://t.co/w64ys2BYQD',
expanded_url:
'https://twitter.com/Layerrxyz/status/1696216157601284148/photo/1',
'https://x.com/Layerrxyz/status/1696216157601284148/photo/1',
display_url: 'pic.twitter.com/w64ys2BYQD',
media_key: '16_1696216146595516416',
},
Expand Down Expand Up @@ -1442,7 +1442,7 @@ export const tweets = {
{
domain: {
id: '131',
name: 'Unified Twitter Taxonomy',
name: 'Unified X Taxonomy',
description: 'A taxonomy of user interests. ',
},
entity: {
Expand Down
2 changes: 1 addition & 1 deletion scripts/generateHighlightedTweets.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const generateHighlightedTweets = async () => {
'created_at,description,entities,id,location,name,pinned_tweet_id,profile_image_url,protected,public_metrics,url,username,verified,verified_type,withheld'
)
const response = await fetch(
`https://api.twitter.com/2/tweets?${params.toString()}`,
`https://api.x.com/2/tweets?${params.toString()}`,
{
headers: {
'Content-Type': 'application/json',
Expand Down
8 changes: 4 additions & 4 deletions src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ export const Footer = () => {
</a>
</li>
<li className="text-ocs-dark-gray">
<a target="_blank" href="https://twitter.com/coinbase">
Coinbase Twitter
<a target="_blank" href="https://x.com/coinbase">
Coinbase X
</a>
</li>
<li className="text-ocs-dark-gray">
<a target="_blank" href="https://twitter.com/buildonbase">
Base Twitter
<a target="_blank" href="https://x.com/buildonbase">
Base X
</a>
</li>
<li className="text-ocs-dark-gray">
Expand Down
2 changes: 1 addition & 1 deletion src/components/Share/Share.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useMintDialogContext } from '@/components/MintDialog/Context/useMintDia
import { WarpCast } from '@/components/icons/Warpcast'
import { Lens } from '@/components/icons/Lens'

const twitterURL: string = 'https://twitter.com/intent/tweet'
const twitterURL: string = 'https://x.com/intent/tweet'
const warpCastURL: string = 'https://warpcast.com'
const lensURL: string = 'https://hey.xyz'

Expand Down
2 changes: 1 addition & 1 deletion src/components/TweetCard/TweetCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const TweetCard: FunctionComponent<ITweetCardProps> = ({
media,
}) => {
const linkToTwitter = useMemo(() => {
return `https://twitter.com/${author.username}/status/${tweet.id}`
return `https://x.com/${author.username}/status/${tweet.id}`
}, [author.username, tweet.id])

const message = tweet.text.trim()
Expand Down
2 changes: 1 addition & 1 deletion src/config/partners/stand-with-crypto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Priced at 0.00435 ETH, this represents the 435 congressional districts in the U.
endDate: Date.UTC(2023, 12, 1, CAMPAIGN_HOUR, CAMPAIGN_MINUTE, 0, 0),
price: '0',
externalLink:
'https://twitter.com/intent/tweet?&text=I%20%23standwithcrypto.%20So%20can%20you.%20Join%20standwithcrypto.org',
'https://x.com/intent/tweet?&text=I%20%23standwithcrypto.%20So%20can%20you.%20Join%20standwithcrypto.org',
mintType: MintType.External,
address: '0x',
crossMintClientId: '',
Expand Down