diff --git a/commafeed-client/src/app/constants.ts b/commafeed-client/src/app/constants.ts index d1ce70f0..e43bbc59 100644 --- a/commafeed-client/src/app/constants.ts +++ b/commafeed-client/src/app/constants.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro" import type { IconType } from "react-icons" import { FaAt } from "react-icons/fa" -import { SiBuffer, SiFacebook, SiGmail, SiInstapaper, SiPocket, SiTumblr, SiTwitter } from "react-icons/si" +import { SiBuffer, SiFacebook, SiGmail, SiInstapaper, SiPocket, SiTumblr, SiX } from "react-icons/si" import type { Category, Entry, SharingSettings } from "./types" const categories: Record = { @@ -50,10 +50,10 @@ const sharing: { url: url => `https://www.facebook.com/sharer/sharer.php?u=${url}`, }, twitter: { - label: "Twitter", - icon: SiTwitter, - color: "#1D9BF0", - url: (url, desc) => `https://twitter.com/share?text=${desc}&url=${url}`, + label: "X", + icon: SiX, + color: "#000000", + url: (url, desc) => `https://x.com/share?text=${desc}&url=${url}`, }, tumblr: { label: "Tumblr", diff --git a/commafeed-client/src/pages/WelcomePage.tsx b/commafeed-client/src/pages/WelcomePage.tsx index 2650056f..99f7c58d 100644 --- a/commafeed-client/src/pages/WelcomePage.tsx +++ b/commafeed-client/src/pages/WelcomePage.tsx @@ -9,7 +9,7 @@ import { ActionButton } from "components/ActionButton" import { useBrowserExtension } from "hooks/useBrowserExtension" import { useMobile } from "hooks/useMobile" import { useAsyncCallback } from "react-async-hook" -import { SiGithub, SiTwitter } from "react-icons/si" +import { SiGithub, SiX } from "react-icons/si" import { TbClock, TbKey, TbMoon, TbSettings, TbSun, TbUserPlus } from "react-icons/tb" import { PageTitle } from "./PageTitle" @@ -140,8 +140,8 @@ function Footer() { - - + +