From 0fdef4fd72106cfcb5e849dab70b123061c8bfe0 Mon Sep 17 00:00:00 2001 From: hasan-deriv Date: Mon, 25 Dec 2023 15:27:55 +0800 Subject: [PATCH] chore: updated class names in pages components Signed-off-by: hasan-deriv --- .../pages/ctrader-manage/ctrader-manage.tsx | 4 ++-- .../pages/deriv-ctrader/how-to-start/index.tsx | 4 ++-- src/features/pages/options/turbo/index.tsx | 2 +- src/features/pages/options/vanilla/index.tsx | 2 +- src/features/pages/p2p/availability/platform.tsx | 14 +++++++------- src/features/pages/p2p/hero/content.tsx | 4 ++-- src/features/pages/p2p/steps/item.tsx | 4 ++-- .../partners/deriv-prime/commercial-plan/data.tsx | 4 ++-- .../connectivity-reliability-item.tsx | 2 +- .../deriv-prime/get-in-touch/contact-form.tsx | 4 ++-- .../pages/partners/deriv-prime/hero/index.tsx | 4 ++-- .../partners/deriv-prime/meet-us-there/index.tsx | 2 +- 12 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/features/pages/ctrader-manage/ctrader-manage.tsx b/src/features/pages/ctrader-manage/ctrader-manage.tsx index dae1288b68f..34ff6da4764 100644 --- a/src/features/pages/ctrader-manage/ctrader-manage.tsx +++ b/src/features/pages/ctrader-manage/ctrader-manage.tsx @@ -31,8 +31,8 @@ const CtraderManage = ({ {steps && ( -
{image_url_mobile}
-
{image_url}
+
{image_url_mobile}
+
{image_url}
{steps.map((step) => ( diff --git a/src/features/pages/deriv-ctrader/how-to-start/index.tsx b/src/features/pages/deriv-ctrader/how-to-start/index.tsx index 7fea8c796c5..dd9210b9be9 100644 --- a/src/features/pages/deriv-ctrader/how-to-start/index.tsx +++ b/src/features/pages/deriv-ctrader/how-to-start/index.tsx @@ -19,7 +19,7 @@ const HowToStartCTrader = () => { /> -
+
{ items={trading_platform_start[`${tab}_mobile`]} />
-
+
{ }} className={why_turbo_section} > -

+

diff --git a/src/features/pages/options/vanilla/index.tsx b/src/features/pages/options/vanilla/index.tsx index 3733e0dedef..fe58f1f2fcf 100644 --- a/src/features/pages/options/vanilla/index.tsx +++ b/src/features/pages/options/vanilla/index.tsx @@ -36,7 +36,7 @@ const VanillaOptions = () => { }} className={why_vanilla_section} > -

+

diff --git a/src/features/pages/p2p/availability/platform.tsx b/src/features/pages/p2p/availability/platform.tsx index e15a33c82bc..681ddc3e689 100644 --- a/src/features/pages/p2p/availability/platform.tsx +++ b/src/features/pages/p2p/availability/platform.tsx @@ -31,14 +31,14 @@ const DP2Platform = ({ item }: { item: PlatformType }) => { alt="icon" width={48} height={48} - className="visible-phone-and-tablet" + className="at-visible-phone-and-tablet" /> icon @@ -51,12 +51,12 @@ const DP2Platform = ({ item }: { item: PlatformType }) => { mb="12x" textcolor="black" md={{ mb: '16x' }} - className={dclsx('text-xlarge')} + className={dclsx('at-text-xlarge')} key={list_item.text} > {list_item?.link_in_mobile ? ( <> - + { as="span" onClick={handleExternalLink} textcolor="brand" - className="visible-phone-only" + className="at-visible-phone-only" > @@ -87,11 +87,11 @@ const DP2Platform = ({ item }: { item: PlatformType }) => { - + diff --git a/src/features/pages/p2p/hero/content.tsx b/src/features/pages/p2p/hero/content.tsx index b7291adb024..846077031a3 100644 --- a/src/features/pages/p2p/hero/content.tsx +++ b/src/features/pages/p2p/hero/content.tsx @@ -16,8 +16,8 @@ const DP2HeroContent = () => { basis="6-12" dir={get_lang_direction()} > -
{banner_content.logo_mobile}
-
{banner_content.logo_desktop}
+
{banner_content.logo_mobile}
+
{banner_content.logo_desktop}
diff --git a/src/features/pages/p2p/steps/item.tsx b/src/features/pages/p2p/steps/item.tsx index 8b2c3e94165..d9e4102f7f9 100644 --- a/src/features/pages/p2p/steps/item.tsx +++ b/src/features/pages/p2p/steps/item.tsx @@ -25,14 +25,14 @@ const DP2StepItem = ({ item }: IStepItemProps) => { className={step_item} > Icon diff --git a/src/features/pages/partners/deriv-prime/commercial-plan/data.tsx b/src/features/pages/partners/deriv-prime/commercial-plan/data.tsx index a652c221451..7861135551f 100644 --- a/src/features/pages/partners/deriv-prime/commercial-plan/data.tsx +++ b/src/features/pages/partners/deriv-prime/commercial-plan/data.tsx @@ -29,7 +29,7 @@ export const data: Data[] = [ monthly_requirement: ( ]} + components={[]} /> ), fee_per_million: , @@ -38,7 +38,7 @@ export const data: Data[] = [ monthly_requirement: ( ]} + components={[]} /> ), fee_per_million: , diff --git a/src/features/pages/partners/deriv-prime/connectivity-reliability/connectivity-reliability-item.tsx b/src/features/pages/partners/deriv-prime/connectivity-reliability/connectivity-reliability-item.tsx index 6d6b63b73ab..d2caa590683 100644 --- a/src/features/pages/partners/deriv-prime/connectivity-reliability/connectivity-reliability-item.tsx +++ b/src/features/pages/partners/deriv-prime/connectivity-reliability/connectivity-reliability-item.tsx @@ -15,7 +15,7 @@ const ConnectivityReliabilityItem = ({ item }: ConnectivityReliabilityItemProps) return ( {localize(item.alt)} - + diff --git a/src/features/pages/partners/deriv-prime/get-in-touch/contact-form.tsx b/src/features/pages/partners/deriv-prime/get-in-touch/contact-form.tsx index ac4ce5c3ad2..54b0b8ca57c 100644 --- a/src/features/pages/partners/deriv-prime/get-in-touch/contact-form.tsx +++ b/src/features/pages/partners/deriv-prime/get-in-touch/contact-form.tsx @@ -140,7 +140,7 @@ const ContactFormGetInTouch = () => { @@ -148,7 +148,7 @@ const ContactFormGetInTouch = () => { diff --git a/src/features/pages/partners/deriv-prime/hero/index.tsx b/src/features/pages/partners/deriv-prime/hero/index.tsx index 389d3131256..5c5674a809d 100644 --- a/src/features/pages/partners/deriv-prime/hero/index.tsx +++ b/src/features/pages/partners/deriv-prime/hero/index.tsx @@ -30,7 +30,7 @@ const Hero = () => { formats={['avif', 'webp', 'auto']} style={{ height: '100%' }} objectPosition="center" - className={dclsx('visible-larger-than-tablet')} + className={dclsx('at-visible-larger-than-tablet')} /> { placeholder="blurred" formats={['avif', 'webp', 'auto']} style={{ height: '100%' }} - className={dclsx('visible-phone-and-tablet')} + className={dclsx('at-visible-phone-and-tablet')} />
{ return ( <> - +