chore: replace all instances of twitter.com with x.com (#5455)

This commit is contained in:
Abhijeet Singh 2025-10-07 11:41:08 +05:30 committed by jamesgeorge007
parent 6bbfb9b8b7
commit 743aaa145e
4 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@
</b> </b>
<p> <p>
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen?logo=github)](CODE_OF_CONDUCT.md) [![Website](https://img.shields.io/website?url=https%3A%2F%2Fhoppscotch.io&logo=hoppscotch)](https://hoppscotch.io) [![Tests](https://github.com/hoppscotch/hoppscotch/actions/workflows/tests.yml/badge.svg)](https://github.com/hoppscotch/hoppscotch/actions) [![Tweet](https://img.shields.io/twitter/url?url=https%3A%2F%2Fhoppscotch.io%2F)](https://twitter.com/share?text=%F0%9F%91%BD%20Hoppscotch%20%E2%80%A2%20Open%20source%20API%20development%20ecosystem%20-%20Helps%20you%20create%20requests%20faster,%20saving%20precious%20time%20on%20development.&url=https://hoppscotch.io&hashtags=hoppscotch&via=hoppscotch_io) [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen?logo=github)](CODE_OF_CONDUCT.md) [![Website](https://img.shields.io/website?url=https%3A%2F%2Fhoppscotch.io&logo=hoppscotch)](https://hoppscotch.io) [![Tests](https://github.com/hoppscotch/hoppscotch/actions/workflows/tests.yml/badge.svg)](https://github.com/hoppscotch/hoppscotch/actions) [![Tweet](https://img.shields.io/twitter/url?url=https%3A%2F%2Fhoppscotch.io%2F)](https://x.com/share?text=%F0%9F%91%BD%20Hoppscotch%20%E2%80%A2%20Open%20source%20API%20development%20ecosystem%20-%20Helps%20you%20create%20requests%20faster,%20saving%20precious%20time%20on%20development.&url=https://hoppscotch.io&hashtags=hoppscotch&via=hoppscotch_io)
</p> </p>
<p> <p>

View file

@ -45,7 +45,7 @@
[[redirects]] [[redirects]]
from = "/twitter" from = "/twitter"
to = "https://twitter.com/hoppscotch_io" to = "https://x.com/hoppscotch_io"
status = 301 status = 301
force = true force = true

View file

@ -84,7 +84,7 @@ const platforms = [
{ {
name: "Twitter", name: "Twitter",
icon: IconTwitter, icon: IconTwitter,
link: `https://twitter.com/intent/tweet?text=${text} ${description}&url=${url}&via=${twitter}`, link: `https://x.com/intent/tweet?text=${text} ${description}&url=${url}&via=${twitter}`,
}, },
{ {
name: "Facebook", name: "Facebook",

View file

@ -73,7 +73,7 @@ export class GeneralSpotlightSearcherService extends StaticSpotlightSearcherServ
text: [this.t("spotlight.general.social"), "Twitter"], text: [this.t("spotlight.general.social"), "Twitter"],
alternates: ["social", "twitter", "link"], alternates: ["social", "twitter", "link"],
icon: markRaw(IconTwitter), icon: markRaw(IconTwitter),
action: () => this.openURL("https://twitter.com/hoppscotch_io"), action: () => this.openURL("https://x.com/hoppscotch_io"),
}, },
link_discord: { link_discord: {
text: [this.t("spotlight.general.social"), "Discord"], text: [this.t("spotlight.general.social"), "Discord"],