diff options
author | Aaron <[email protected]> | 2024-07-01 04:53:49 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-01 13:53:49 +0200 |
commit | 0877723fdf6ae027d3a0a44e6b785f3c2066ef00 (patch) | |
tree | baa046904e2bee0a15d818151788c0140bdd3545 | |
parent | 0b16dcefca48a4b7a95b332224050093382b0f38 (diff) | |
download | monkeytype-0877723fdf6ae027d3a0a44e6b785f3c2066ef00.tar.gz monkeytype-0877723fdf6ae027d3a0a44e6b785f3c2066ef00.zip |
chore: replace twitter urls with x (unrealapex) (#5541)
* chore: replace twitter urls with x
* chore: fix twitter account url
-rw-r--r-- | backend/email-templates/reset-password.html | 2 | ||||
-rw-r--r-- | backend/email-templates/verification.html | 2 | ||||
-rw-r--r-- | frontend/src/html/footer.html | 2 | ||||
-rw-r--r-- | frontend/src/html/pages/about.html | 2 | ||||
-rw-r--r-- | frontend/src/html/popups.html | 2 | ||||
-rw-r--r-- | frontend/src/ts/elements/profile.ts | 2 | ||||
-rw-r--r-- | frontend/src/ts/elements/psa.ts | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/backend/email-templates/reset-password.html b/backend/email-templates/reset-password.html index ff6313a8e..bb912bc17 100644 --- a/backend/email-templates/reset-password.html +++ b/backend/email-templates/reset-password.html @@ -107,7 +107,7 @@ inner-padding="0" color="#d1d0c5" background-color="#323437" - href="https://twitter.com/monkeytypegame" + href="https://x.com/monkeytype" > <i class="fab fa-fw fa-twitter"></i> </mj-button> diff --git a/backend/email-templates/verification.html b/backend/email-templates/verification.html index 930629ad5..f0a736551 100644 --- a/backend/email-templates/verification.html +++ b/backend/email-templates/verification.html @@ -107,7 +107,7 @@ inner-padding="0" color="#d1d0c5" background-color="#323437" - href="https://twitter.com/monkeytypegame" + href="https://x.com/monkeytype" > <i class="fab fa-fw fa-twitter"></i> </mj-button> diff --git a/frontend/src/html/footer.html b/frontend/src/html/footer.html index 482a93f3b..84f476f8a 100644 --- a/frontend/src/html/footer.html +++ b/frontend/src/html/footer.html @@ -47,7 +47,7 @@ <div class="text">discord</div> </a> <a - href="https://twitter.com/monkeytype" + href="https://x.com/monkeytype" class="textButton" target="_blank" rel="noreferrer noopener" diff --git a/frontend/src/html/pages/about.html b/frontend/src/html/pages/about.html index 3a4350d91..3044d5fd5 100644 --- a/frontend/src/html/pages/about.html +++ b/frontend/src/html/pages/about.html @@ -228,7 +228,7 @@ </button> <a class="button" - href="https://twitter.com/monkeytypegame" + href="https://x.com/monkeytype" target="_blank" rel="noreferrer noopener" > diff --git a/frontend/src/html/popups.html b/frontend/src/html/popups.html index 21e399bf5..ac5191b0a 100644 --- a/frontend/src/html/popups.html +++ b/frontend/src/html/popups.html @@ -1246,7 +1246,7 @@ <div> <label>twitter</label> <div class="socialURL"> - <p>https://twitter.com/</p> + <p>https://x.com/</p> <input class="twitter" type="text" diff --git a/frontend/src/ts/elements/profile.ts b/frontend/src/ts/elements/profile.ts index fb16bc8e5..be859c374 100644 --- a/frontend/src/ts/elements/profile.ts +++ b/frontend/src/ts/elements/profile.ts @@ -267,7 +267,7 @@ export async function update( const twitter = profile.details?.socialProfiles.twitter ?? ""; if (twitter) { socialsEl.append( - `<a href='https://twitter.com/${Misc.escapeHTML( + `<a href='https://x.com/${Misc.escapeHTML( twitter )}' target="_blank" rel="nofollow me" aria-label="${Misc.escapeHTML( twitter diff --git a/frontend/src/ts/elements/psa.ts b/frontend/src/ts/elements/psa.ts index c5258886f..023514d4d 100644 --- a/frontend/src/ts/elements/psa.ts +++ b/frontend/src/ts/elements/psa.ts @@ -32,7 +32,7 @@ async function getLatest(): Promise<SharedTypes.PSA[] | null> { ); } else { Notifications.addPSA( - "Looks like the server is experiencing maintenance or some unexpected down time.<br>Check the <a target= '_blank' href='https://monkeytype.instatus.com/'>status page</a> or <a target= '_blank' href='https://twitter.com/monkeytypegame'>Twitter</a> for more information.", + "Looks like the server is experiencing maintenance or some unexpected down time.<br>Check the <a target= '_blank' href='https://monkeytype.instatus.com/'>status page</a> or <a target= '_blank' href='https://x.com/monkeytype'>Twitter</a> for more information.", -1, "exclamation-triangle", false, |