From 9a9ce2dd36ab793be73b2d2c038620264074cce0 Mon Sep 17 00:00:00 2001 From: AdelKazzaz Date: Sat, 1 Mar 2025 15:21:16 +0200 Subject: [PATCH 1/2] [bug]: Twitter Icon Should Be Replaced with X Icon #2482 Signed-off-by: AdelKazzaz --- components/community.tsx | 4 ++-- components/tweets.tsx | 2 +- next.config.js | 2 +- public/images/{ => social}/x-twitter.svg | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename public/images/{ => social}/x-twitter.svg (100%) diff --git a/components/community.tsx b/components/community.tsx index d8a0e081..9dcd0612 100644 --- a/components/community.tsx +++ b/components/community.tsx @@ -3,7 +3,7 @@ import "./community.css"; import Image from "next/image"; import CommunityBunny from "@/public/images/community-bunny.png"; import GithubSvg from "@/public/images/social/github.svg"; -import TwitterSvg from "@/public/images/social/twitter.svg"; +import TwitterSvg from "@/public/images/social/x-twitter.svg"; import SlackSvg from "@/public/images/social/slack.svg"; import YoutubeSvg from "@/public/images/social/youtube.svg"; import LinkedinSvg from "@/public/images/social/linkedin.svg"; @@ -81,7 +81,7 @@ export default function Community() { { link: "https://twitter.com/Keployio", svgIcon: TwitterSvg, - platformName: "Twitter", + platformName: "X-Twitter", description: "Let's talk about regression testing!", }, { diff --git a/components/tweets.tsx b/components/tweets.tsx index 588d4d04..a9b74f9c 100644 --- a/components/tweets.tsx +++ b/components/tweets.tsx @@ -3,7 +3,7 @@ import React from "react"; import Image from "next/image"; import Link from "next/link"; -import XImage from "@/public/images/x-twitter.svg" +import XImage from "@/public/images/social/x-twitter.svg" const Tweets = ({ avatar, diff --git a/next.config.js b/next.config.js index e3ddbd52..8085cc04 100644 --- a/next.config.js +++ b/next.config.js @@ -34,7 +34,7 @@ module.exports = withBundleAnalyzer({ // `assetPrefix` ensures correct asset loading for old pages when redirected from the new production landing page. // Comment out the line below during local development to load assets locally. - assetPrefix: 'https://keploy-websites.vercel.app', + // assetPrefix: 'https://keploy-websites.vercel.app', images: { remotePatterns: [ { diff --git a/public/images/x-twitter.svg b/public/images/social/x-twitter.svg similarity index 100% rename from public/images/x-twitter.svg rename to public/images/social/x-twitter.svg From b368d15cfd9bf04a37908db09454873b4a54aafe Mon Sep 17 00:00:00 2001 From: Adel Awad Al Kazzaz <119636436+Adelkazzaz@users.noreply.github.com> Date: Sat, 1 Mar 2025 15:39:35 +0200 Subject: [PATCH 2/2] Update next.config.js Signed-off-by: Adel Awad Al Kazzaz <119636436+Adelkazzaz@users.noreply.github.com> --- next.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/next.config.js b/next.config.js index 8085cc04..80f339c2 100644 --- a/next.config.js +++ b/next.config.js @@ -34,7 +34,7 @@ module.exports = withBundleAnalyzer({ // `assetPrefix` ensures correct asset loading for old pages when redirected from the new production landing page. // Comment out the line below during local development to load assets locally. - // assetPrefix: 'https://keploy-websites.vercel.app', + assetPrefix: 'https://keploy-websites.vercel.app', images: { remotePatterns: [ { @@ -53,4 +53,4 @@ module.exports = withBundleAnalyzer({ domains: ["web-stories.keploy.io.s3.amazonaws.com"], unoptimized: true, }, -}); \ No newline at end of file +});