From 743aaa145ecd7a3dc96eafd2a07977636ca670f5 Mon Sep 17 00:00:00 2001 From: Abhijeet Singh Date: Tue, 7 Oct 2025 11:41:08 +0530 Subject: [PATCH] chore: replace all instances of `twitter.com` with `x.com` (#5455) --- README.md | 2 +- netlify.toml | 2 +- packages/hoppscotch-common/src/components/app/Share.vue | 2 +- .../src/services/spotlight/searchers/general.searcher.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 42a99c19..ffe946ee 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@

-[![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)

diff --git a/netlify.toml b/netlify.toml index 80f0ee91..4a3899f4 100644 --- a/netlify.toml +++ b/netlify.toml @@ -45,7 +45,7 @@ [[redirects]] from = "/twitter" - to = "https://twitter.com/hoppscotch_io" + to = "https://x.com/hoppscotch_io" status = 301 force = true diff --git a/packages/hoppscotch-common/src/components/app/Share.vue b/packages/hoppscotch-common/src/components/app/Share.vue index a0143783..838ae236 100644 --- a/packages/hoppscotch-common/src/components/app/Share.vue +++ b/packages/hoppscotch-common/src/components/app/Share.vue @@ -84,7 +84,7 @@ const platforms = [ { name: "Twitter", 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", diff --git a/packages/hoppscotch-common/src/services/spotlight/searchers/general.searcher.ts b/packages/hoppscotch-common/src/services/spotlight/searchers/general.searcher.ts index 38ccac13..697f3e50 100644 --- a/packages/hoppscotch-common/src/services/spotlight/searchers/general.searcher.ts +++ b/packages/hoppscotch-common/src/services/spotlight/searchers/general.searcher.ts @@ -73,7 +73,7 @@ export class GeneralSpotlightSearcherService extends StaticSpotlightSearcherServ text: [this.t("spotlight.general.social"), "Twitter"], alternates: ["social", "twitter", "link"], icon: markRaw(IconTwitter), - action: () => this.openURL("https://twitter.com/hoppscotch_io"), + action: () => this.openURL("https://x.com/hoppscotch_io"), }, link_discord: { text: [this.t("spotlight.general.social"), "Discord"],