diff --git a/crowdin/messages.json b/crowdin/messages.json index ec9a3e2d332..1d5b4bdfc8f 100644 --- a/crowdin/messages.json +++ b/crowdin/messages.json @@ -3256,7 +3256,6 @@ "-1330380888": "Established since", "-1692319801": "Trade with leverage, unbeatable spreads, and fast execution on the widest range of markets.", "-711756091": "Trade CFDs and multipliers", - "-766186087": "{{trustScore}} out of 5 based on {{numberOfReviews}} reviews", "-779264061": "Bots", "-954684507": "The most popular and comprehensive <0>CFDs platform.", "-895675910": "Flagship trading platform for <0>multipliers.", @@ -3410,6 +3409,7 @@ "-1863275344": "250+ tradeable financial and derived assests", "-2125275828": "Unique trade types. Hundreds of instruments. Financial and derived markets.", "-154889447": "Ready to join over 2.5 million traders who have chosen Deriv as their trusted broker? Enter your email address to create a free demo account.", + "-766186087": "{{trustScore}} out of 5 based on {{numberOfReviews}} reviews", "-1957784093": "Easy And Free Sign Up | Online Trading | Deriv.com", "-323355149": "deriv careers", "-507845880": "Cyberjaya bridge and lake view", diff --git a/themes/gatsby-theme-deriv/src/features/pages/home/index.tsx b/themes/gatsby-theme-deriv/src/features/pages/home/index.tsx index e8f0ea3f910..25a9e3e8b63 100644 --- a/themes/gatsby-theme-deriv/src/features/pages/home/index.tsx +++ b/themes/gatsby-theme-deriv/src/features/pages/home/index.tsx @@ -8,7 +8,6 @@ import StatSection from './stats' import HomeHero from './hero' import CTA from './cta' import StartTradingSteps from './start-trading-steps' -import TrustpilotSection from './trustpilot' import { BuildVariantContextType } from 'features/contexts/build-variant/build-variant.context' import { useOpenLiveChat } from 'components/hooks/use-open-live-chat-redirection' import MainFooter from 'features/components/templates/footer' @@ -25,7 +24,6 @@ type PageProps = { const HomePage = ({ region }: PageProps) => { useOpenLiveChat(true) - const isTrustpilot = useThirdPartyFlags('trustpilot') const isLivePricing = useThirdPartyFlags('live_pricing') return ( @@ -33,7 +31,6 @@ const HomePage = ({ region }: PageProps) => { - {isTrustpilot && } {isLivePricing && ( diff --git a/themes/gatsby-theme-deriv/src/features/pages/home/trustpilot/index.tsx b/themes/gatsby-theme-deriv/src/features/pages/home/trustpilot/index.tsx deleted file mode 100644 index a6934816f67..00000000000 --- a/themes/gatsby-theme-deriv/src/features/pages/home/trustpilot/index.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import React from 'react' -import { SocialProof } from '@deriv-com/blocks' -import { StaticImage } from 'gatsby-plugin-image' -import { TPilotDataProps } from '@deriv-com/components' -import truspilotData from '../../../../data/trustpilot.json' -import { Localize } from 'components/localization' -import widgetEvent from 'common/tracking-functions/widget' - -const TrustpilotSection = () => { - const { numberOfReviews, trustScore, stars }: TPilotDataProps = truspilotData - - return ( - [ - , - , - , - ]} - theme={{ - color: '!text-[#ffffff]', - background: 'bg-solid-slate-700', - }} - data={{ - trustScore, - numberOfReviews, - stars, - }} - logo={ - - } - onClick={() => { - widgetEvent('trustpilot') - }} - /> - ) -} - -export default TrustpilotSection diff --git a/themes/gatsby-theme-deriv/static/appConfig.js b/themes/gatsby-theme-deriv/static/appConfig.js index c71eda32e65..ee639fb1d94 100644 --- a/themes/gatsby-theme-deriv/static/appConfig.js +++ b/themes/gatsby-theme-deriv/static/appConfig.js @@ -30,7 +30,6 @@ module.exports = { youtube: true, linkedin: true, }, - trustpilot: true, live_pricing: true, google_signup: true, apple_signup: true,