From a82fca130f6974f0576be36069f20ce0048967f5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 18 Aug 2024 07:58:41 +0000 Subject: [PATCH 1/2] Update dependency react-icons to ^5.3.0 --- commafeed-client/package-lock.json | 8 ++++---- commafeed-client/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/commafeed-client/package-lock.json b/commafeed-client/package-lock.json index 6316bd41..5d0d71f1 100644 --- a/commafeed-client/package-lock.json +++ b/commafeed-client/package-lock.json @@ -35,7 +35,7 @@ "react-draggable": "^4.4.6", "react-ga4": "^2.1.0", "react-helmet": "^6.1.0", - "react-icons": "^5.2.1", + "react-icons": "^5.3.0", "react-infinite-scroller": "^1.2.6", "react-redux": "^9.1.2", "react-router-dom": "^6.26.1", @@ -6653,9 +6653,9 @@ } }, "node_modules/react-icons": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.2.1.tgz", - "integrity": "sha512-zdbW5GstTzXaVKvGSyTaBalt7HSfuK5ovrzlpyiWHAFXndXTdd/1hdDHI4xBM1Mn7YriT6aqESucFl9kEXzrdw==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.3.0.tgz", + "integrity": "sha512-DnUk8aFbTyQPSkCfF8dbX6kQjXA9DktMeJqfjrg6cK9vwQVMxmcA3BfP4QoiztVmEHtwlTgLFsPuH2NskKT6eg==", "license": "MIT", "peerDependencies": { "react": "*" diff --git a/commafeed-client/package.json b/commafeed-client/package.json index 7ec5299c..9594d160 100644 --- a/commafeed-client/package.json +++ b/commafeed-client/package.json @@ -42,7 +42,7 @@ "react-draggable": "^4.4.6", "react-ga4": "^2.1.0", "react-helmet": "^6.1.0", - "react-icons": "^5.2.1", + "react-icons": "^5.3.0", "react-infinite-scroller": "^1.2.6", "react-redux": "^9.1.2", "react-router-dom": "^6.26.1", From f04ca2139499c0eeca1a8ef62bc9765c87c89a62 Mon Sep 17 00:00:00 2001 From: Athou Date: Sun, 18 Aug 2024 10:15:17 +0200 Subject: [PATCH 2/2] Twitter has been renamed X --- commafeed-client/src/app/constants.ts | 10 +++++----- commafeed-client/src/pages/WelcomePage.tsx | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) 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() { - - + +