From 0d1c54bb5d3a5937cc85dab7bd44e33ba1a9b810 Mon Sep 17 00:00:00 2001 From: Agrim Jain Date: Tue, 30 Apr 2024 16:20:23 +0400 Subject: [PATCH 1/4] fix: removing trustpilot temporarily --- crowdin/messages.json | 11 ++++- .../features/pages/home/trustpilot/index.tsx | 48 ------------------- 2 files changed, 10 insertions(+), 49 deletions(-) delete mode 100644 themes/gatsby-theme-deriv/src/features/pages/home/trustpilot/index.tsx diff --git a/crowdin/messages.json b/crowdin/messages.json index a1a6f1ccfcd..94480321c4f 100644 --- a/crowdin/messages.json +++ b/crowdin/messages.json @@ -1889,6 +1889,7 @@ "1786747559": "Our regulators require us to verify your account in accordance with anti-money laundering (AML) and Know Your Customer (KYC) laws. If we have prompted you to upload your documents to verify your account, it means that you'll only be able to continue using our services after your account is verified.", "1787584197": "Gave incorrect email ID", "1787682106": "A chart illustrating a vanilla put option trade payout", + "1790938720": "Start trading today from just $5", "1791730321": "Purchase the contract if you are satisfied with the position you have defined.", "1791797947": "<0>Sign up for free if you don’t have a Deriv account yet.", "1792712933": "Phishing is a cyberattack where scammers try to trick clients into revealing personal information like their passwords or bank details. Scammers pose as real companies and create fake emails, social media profiles, and numbers to get you to take actions that compromise your data and security. Clicking on malicious links or files in phishing emails may download viruses to your device and expose your data.", @@ -2059,6 +2060,7 @@ "1925182739": "Bid", "1925717346": "The point value is derivied from the current digits of the asset. In this example, the digit is 5, so the point value is 0.00001.", "1926519171": "Limit the amount of money you may trade within a specified period.", + "1928619481": "Access free trading tools, video tutorials and eBooks", "1928776934": "Active traders", "1928930389": "GBP/NOK", "1930078733": "Disclaimer: Affiliates residing in the EU may sign up for the Revenue share plan. However, only clients residing outside of the EU can be referred under this plan.", @@ -3256,7 +3258,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.", @@ -3396,6 +3397,13 @@ "-1356010780": "Implement policies to prevent vulnerable persons from trading", "-1186213423": "We will refuse underage persons’ access and implement processes to identify customers who are trading beyond their financial capacity.", "-220003669": "We will implement know-your-customer (KYC) controls and prevent money laundering and other unlawful activities on our platforms.", + "-3815578": "Sign Up", + "-77582889": "By creating an account, you confirm you are 18+ and understand we may send you updates and marketing materials (see <0>Security and privacy policy). Unsubscribe in your account settings anytime.", + "-1815732860": "Start my trading journey", + "-1609642272": "Master your skills with a free $10.000 practice account", + "-873624188": "Trade from a trusted secure and friendly platform 24/7", + "-515378595": "Join over 2.5 million traders around the globe and discover the Deriv difference with fast deposit and withdrawals", + "-1656789751": "YES, start my trading journey", "-1354825404": "New to trading?", "-1571360471": "Tailored learning resources", "-1307122236": "Multilingual support anytime", @@ -3403,6 +3411,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/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 From dfc011754721872bd39ef86941aedd6c64e363c0 Mon Sep 17 00:00:00 2001 From: Agrim Jain Date: Tue, 30 Apr 2024 16:47:47 +0400 Subject: [PATCH 2/4] fix: index --- themes/gatsby-theme-deriv/src/features/pages/home/index.tsx | 3 --- 1 file changed, 3 deletions(-) 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 && ( From a9122ee6fc4406b82b77235c7f5aab6f1dac67ac Mon Sep 17 00:00:00 2001 From: Agrim Jain Date: Fri, 3 May 2024 10:28:16 +0400 Subject: [PATCH 3/4] fix: trustpilot --- themes/gatsby-theme-deriv/static/appConfig.js | 1 - 1 file changed, 1 deletion(-) 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, From faa28edd304ecd644ad318d5ca9c920643046ad7 Mon Sep 17 00:00:00 2001 From: Agrim Jain Date: Fri, 3 May 2024 12:06:02 +0400 Subject: [PATCH 4/4] fix: empty commit