Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Meenu/Translation 92 page ctrader trade platform #5071

Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
ea88c63
auto-pull-translation
meenu-deriv May 2, 2023
68e3777
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv May 17, 2023
23c8e75
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv May 18, 2023
f53d9e3
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv May 19, 2023
7da0c9e
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv May 19, 2023
764c0fb
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv May 19, 2023
125df01
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv May 24, 2023
5d42d8d
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv May 29, 2023
c8c9e4d
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv May 31, 2023
2fa2119
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 1, 2023
89b022a
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 2, 2023
5ef04c8
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 5, 2023
d10176b
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 7, 2023
525c562
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 8, 2023
5449cb7
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 8, 2023
b9dae03
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 9, 2023
d6c619f
auto-pull-translation
meenu-deriv Jun 9, 2023
1087624
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 12, 2023
9801425
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 12, 2023
3703e7f
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 14, 2023
08c8f03
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 15, 2023
2d0d155
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 20, 2023
270df92
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 21, 2023
af57470
Merge branch 'master' of https://github.com/binary-com/deriv-com
meenu-deriv Jun 21, 2023
b658b55
fix: test
meenu-deriv Jun 21, 2023
6970897
Merge branch 'master' of https://github.com/binary-com/deriv-com into…
meenu-deriv Jun 21, 2023
cd9f0a5
fix: initial commit
meenu-deriv Jun 21, 2023
b19ecad
fix: product page
meenu-deriv Jun 21, 2023
2b16e53
fix: banner fixes
meenu-deriv Jun 22, 2023
17e5f7c
fix: products available on added
mayuran-deriv Jun 22, 2023
7519b84
fix: comments fixes
meenu-deriv Jun 22, 2023
4527462
Merge pull request #7 from mayuran-deriv/mayuran/products_ctrade_add
meenakshi-deriv Jun 22, 2023
1afb703
fix: bug fixes
meenu-deriv Jun 22, 2023
3f4788e
Merge branch 'translation-92-page-ctrader-trade-platform' of https://…
meenu-deriv Jun 22, 2023
7aa41b8
fix: render issue in mobile in tab
mayuran-deriv Jun 22, 2023
aa497a0
fix: removed ternory and added switch case
mayuran-deriv Jun 22, 2023
52cc37c
auto-pull-translation
meenu-deriv Jun 23, 2023
41f1030
Merge branch 'master' of https://github.com/binary-com/deriv-com into…
meenu-deriv Jun 23, 2023
663ace3
fix: added hoc
meenu-deriv Jun 23, 2023
041b7fa
Merge pull request #8 from mayuran-deriv/mayuran/fix_mobile_wrong_ren…
meenakshi-deriv Jun 23, 2023
6a7a1d0
fix: updated dependency
meenu-deriv Jun 23, 2023
c219cb6
auto-pull-translation
meenu-deriv Jun 23, 2023
6c5843a
translation: 📚 sync translations from crowdin feature branch
DerivFE Jun 23, 2023
37d306a
fix: banner issue arab
mayuran-deriv Jun 26, 2023
4159836
fix: scss change
mayuran-deriv Jun 26, 2023
72de9e4
fix: empty line removed
mayuran-deriv Jun 26, 2023
ae39763
feat: created carousel file
hasan-deriv Jun 26, 2023
ccb09ec
feat: added icons
hasan-deriv Jun 26, 2023
397c5e1
feat: added platform component
hasan-deriv Jun 26, 2023
c8495a8
Merge pull request #9 from mayuran-deriv/mayuran/fix_mobile_wrong_ren…
meenakshi-deriv Jun 26, 2023
dab0a85
Update src/features/components/templates/trade-platform/other-platfor…
hasan-deriv Jun 27, 2023
4fe6394
Update src/features/components/templates/trade-platform/other-platfor…
hasan-deriv Jun 27, 2023
8c23c5b
fix: pr suggestions
hasan-deriv Jun 27, 2023
1dbb2ee
fix: swiper btn's css
hasan-deriv Jun 27, 2023
501c690
Merge pull request #11 from hasan-deriv/pr-92-other-platforms-carousel
meenakshi-deriv Jul 3, 2023
3aa9ef7
Merge branch 'master' of https://github.com/binary-com/deriv-com into…
meenu-deriv Jul 3, 2023
0517235
fix: radius issue fix
mayuran-deriv Jul 3, 2023
82a02a9
fix: pr comments
mayuran-deriv Jul 3, 2023
febf4b1
Merge pull request #12 from mayuran-deriv/mayuran/radius-banner-issue
meenakshi-deriv Jul 3, 2023
0d1e6f3
fix: image fixes
meenu-deriv Jul 3, 2023
99ba83a
Merge branch 'translation-92-page-ctrader-trade-platform' of https://…
meenu-deriv Jul 3, 2023
56ae4ef
fix: integrated other platform section
meenu-deriv Jul 4, 2023
aa9a866
fix: log mobile or tab
meenu-deriv Jul 6, 2023
847be3f
fix: responsive tab fixes
meenu-deriv Jul 6, 2023
72d9710
fix: fixed conflicts
meenu-deriv Jul 6, 2023
145864e
Merge branch 'master' of https://github.com/binary-com/deriv-com into…
meenu-deriv Jul 10, 2023
86a4abf
fix: step 2 real image
meenu-deriv Jul 10, 2023
3dfbab7
fix: decrease other platform carousel's speed
hasan-deriv Jul 11, 2023
c1d109e
Merge pull request #13 from hasan-deriv/other-platform-carousel-speed
meenakshi-deriv Jul 11, 2023
9dc5a97
fix: align issue in markets
mayuran-deriv Jul 12, 2023
e5659b7
fix: added tab radius and updated urls
meenu-deriv Jul 13, 2023
4ff6999
fix: fixed conflicts
meenu-deriv Jul 13, 2023
fc3d694
Merge branch 'translation-92-page-ctrader-trade-platform' of https://…
meenu-deriv Jul 13, 2023
0809c15
Merge pull request #14 from mayuran-deriv/mayuran/bug_ctrader_align
meenakshi-deriv Jul 13, 2023
f657856
fix: added ctrader in available platform
meenu-deriv Jul 13, 2023
45e874f
Merge branch 'translation-92-page-ctrader-trade-platform' of https://…
meenu-deriv Jul 13, 2023
f9e0e31
fix: tab button fix
meenu-deriv Jul 13, 2023
767a128
fix: mobile spacing issue
mayuran-deriv Jul 18, 2023
10df9c0
Merge pull request #15 from mayuran-deriv/mayuran/spacing_issue_mobile
meenakshi-deriv Jul 18, 2023
4f7ea48
fix: pull branch
meenu-deriv Jul 18, 2023
9905035
fix: fixed padding
meenu-deriv Jul 18, 2023
a97ea3d
fix: padding fix
meenu-deriv Jul 20, 2023
dc2c9ce
fix: ctrader on eu
meenu-deriv Jul 24, 2023
7aeffa4
fix: hidden some ctrader sections and added coming soon tag
aswathy-deriv Aug 25, 2023
c3bc408
fix: merge conflicts
aswathy-deriv Aug 25, 2023
182efd6
fix: review comments
aswathy-deriv Aug 25, 2023
5f5c18d
auto-pull-translation
aswathy-deriv Aug 30, 2023
a521991
translation: 📚 sync translations from crowdin feature branch
DerivFE Aug 30, 2023
5025270
Merge branch 'master' of https://github.com/binary-com/deriv-com into…
aswathy-deriv Aug 30, 2023
b80889b
fix: merge conflicts
aswathy-deriv Aug 30, 2023
5a85468
fix: added the container fluid
aswathy-deriv Aug 31, 2023
c5e5a89
empty: :rocket: to redeploy and trigger build
aswathy-deriv Aug 31, 2023
1e26ffc
fix: merge conflicts
aswathy-deriv Sep 4, 2023
70c78d8
fix: merge conflicts
Sep 6, 2023
da175fd
fix: changes in ctrader page
Sep 6, 2023
c88696a
Merge branch 'master' of https://github.com/binary-com/deriv-com into…
Sep 7, 2023
f5517c9
empty: :rocket: to redeploy and trigger build
Sep 7, 2023
b798d18
fix: merge conflicts
aswathy-deriv Sep 12, 2023
abeb08d
fix: merge new conflicts
aswathy-deriv Sep 12, 2023
363b2d8
empty: :rocket: to redeploy and trigger build
aswathy-deriv Sep 12, 2023
b6634b3
fix: merge conflicts
aswathy-deriv Sep 19, 2023
6c5ec68
feat: added ctrader in the navigation and footer
aswathy-deriv Sep 19, 2023
581e94a
fix: merge changes
aswathy-deriv Sep 19, 2023
7b7c35a
fix: changed seo to the main page and added pageContext
aswathy-deriv Sep 19, 2023
5bf09ec
fix: peer comments
aswathy-deriv Sep 25, 2023
120ee23
fix: merge changes
aswathy-deriv Sep 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 29 additions & 5 deletions crowdin/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
"236686595": "24-hour trading (Monday-Friday), based on forex market hours",
"236845507": "What are contracts for difference (CFDs)?",
"239216026": "XMR/USD",
"239429137": "Useful menus where you can find out how each asset’s margin impacts your trade before placing them.",
"241331061": "Deriv GO is really good! I've been looking for an app like this which is easy to use.",
"242139148": "PARTNER",
"242356757": "Submit a report",
Expand Down Expand Up @@ -283,6 +284,7 @@
"352403472": "XSS that does not bypass CSP and does not execute unauthorised actions in another user’s session",
"352494339": "Get trading with Deriv MT5",
"354060979": "<0>1 lot</0> with 1000 leverage:",
"357105933": "Go to the Trader’s hub and choose the Demo option.",
"358257887": "Once your submitted document has been approved, go to Cashier > DP2P to register your Deriv P2P account.",
"358838306": "Vice President of Customer Support",
"361051814": "Let’s say you want to calculate the take profit level and pip value when you want to sell 3 lots of Volatility 50 Index priced at 249.5961 USD with a take profit amount of 84 USD.",
Expand Down Expand Up @@ -392,6 +394,7 @@
"481274667": "How can I withdraw funds from my Deriv MT5 real money account?",
"481411401": "Regulation",
"482100031": "Trade the way you want with 3 exciting trade types.",
"484950532": "All day, all year",
"486935836": "I forgot my Google/Facebook/Apple account password. How can I log in to my Deriv account?",
"487236738": "How it’s calculated",
"489679731": "SGD/JPY",
Expand Down Expand Up @@ -434,6 +437,7 @@
"524082501": "As a payment agent, you are an independent exchanger. You can:",
"524230462": "How can I sign up as a Deriv IB?",
"524459540": "How do I create variables?",
"524469079": "An intuitive interface",
"524754401": "Instruments available for multipliers trading",
"527660774": "Trading tools | Swap, pip, and margin calculators | Deriv",
"528858838": "Lead/USD",
Expand Down Expand Up @@ -499,6 +503,7 @@
"619610610": "Close your account at any time you want.",
"621291584": "0.75",
"622253642": "Save time – no need to open, monitor, and close trades.",
"623188171": "Trade cryptocurrencies and synthetic indices anytime, even on weekends and holidays.",
"623694668": "VWO.US",
"624256060": "Define optional parameters that give you more control over your trading, including stop loss, take profit, and deal cancellation.",
"627388563": "More on CFDs",
Expand Down Expand Up @@ -766,6 +771,7 @@
"913548355": "Connect with fellow traders and transfer money in minutes.",
"913719394": "If you select ‘Over’, you will win the payout if the last digit of the last tick is greater than your prediction.",
"915392164": "Open long or short positions based on your predictions of the market price movements.",
"915735859": "Quick account sign-in",
"916591715": "The above information is updated monthly and, therefore, may not reflect current trading conditions.",
"918634571": "When you open a position, barriers are created around the asset’s price. The upper and lower barriers are automatically calculated for every tick based on your chosen asset and accumulator value. If you close your position before either of the barriers is reached, you will make a profit.",
"925239281": "How do I withdraw funds from my Deriv X real money account?",
Expand Down Expand Up @@ -796,6 +802,7 @@
"959971586": "We'll email you instructions to reset your password.",
"960618190": "Trade various assets in multiple markets simultaneously.",
"961530723": "Netflix Inc",
"961728715": "platform",
"962218636": "Airbus SE",
"963202666": "How do I sign up as an affiliate?",
"964982895": "Make deposits easily using your mobile. For clients in Uganda and Tanzania.",
Expand Down Expand Up @@ -1194,6 +1201,7 @@
"1454243296": "Minimal capital requirements, limited risk",
"1456673219": "How and when will I receive my commission payout?",
"1456920032": "<0>Deriv X</0> and <1>Deriv MT5</1> offer CFD trading on a similar range of assets, where you're able to open positions with leverage and your potential profit is only known when you close your positions. It's riskier than digital options trading because while you may potentially gain a lot if you win, you may also lose a lot if you don't. Deriv X and Deriv MT5 are popular among our traders who enjoy the risks as part of the excitement of CFD trading.",
"1457227649": "Trade derived and financial assets on one CFD account, without needing to switch between multiple accounts.",
"1458062110": "<0>XLE.US</0> The Energy Select Sector SPDR® Fund ETF tracks the energy sector of the S&P 500 Index.",
"1458263388": "Earn when your clients trade on an MT5 Financial STP account.",
"1461287243": "You can open a position for as low as 1 USD.",
Expand Down Expand Up @@ -1249,6 +1257,7 @@
"1509244758": "Method",
"1510075920": "Gold/USD",
"1510899090": "Make safe, instant, and easy transactions via Germany's most popular payment method.",
"1511280539": "Take advantage of an easy-to-use interface for trading and charting that both new and experienced traders can enjoy.",
"1514553548": "Melaka, Malaysia",
"1516676261": "Deposit",
"1518811414": "Brazil",
Expand Down Expand Up @@ -1469,6 +1478,7 @@
"1740608606": "You can trade forex, stock indices, commodities, cryptocurrencies, and derived on DTrader. Some markets may not be available in certain countries.",
"1741049129": "Min withdrawal",
"1742122525": "Automate your trading with DBot, Deriv’s trading robot which you can build without writing code.",
"1743279813": "Why trade with Deriv cTrader",
"1743448290": "Payment agents",
"1743752393": "General business",
"1744150552": "Your new Deriv EZ account is ready.",
Expand Down Expand Up @@ -1574,6 +1584,7 @@
"1859772193": "If you select ‘Allow equals’, you win the payout if the exit spot is higher than or equal to the entry spot for ‘Rise’. Similarly, you win the payout if the exit spot is lower than or equal to the entry spot for ‘Fall’.",
"1860012910": "An easy, cheap, and fast way to transfer money. Supported by banks and merchants worldwide.",
"1860472068": "Online banking",
"1861172210": "cTrader is our intuitive CFD trading platform where you can trade forex, commodities, stocks & indices, cryptocurrencies, and derived indices.",
"1861802946": "Want to trade <br/> Options on the go?",
"1862283751": "Trade forex, synthetic indices, and cryptocurrencies wherever, whenever you want and maximise your potential profit with multipliers on Deriv GO.",
"1867740000": "GBP/USD DFX10 Index",
Expand Down Expand Up @@ -2317,7 +2328,6 @@
"-943701585": "Available on",
"-1022786491": "chevron",
"-1307341240": "extra info icon",
"-696867299": "Get trading",
"-1041443625": "Deriv Investments (Europe) Limited is licensed and regulated by the Malta Financial Services Authority under the Investment Services Act (<0>licence</0>). Deriv Holdings (Guernsey) Limited is the holding company for the above subsidiary with the registration number 71479 and the registered address of 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ.",
"-99908951": "Please read our <0>Terms and conditions</0>,<1> Risk disclosure</1>, and <2>Secure and responsible trading</2> to fully understand the risks involved before using our services. The information on this website does not constitute investment advice.",
"-1353183095": "CFDs and other products offered on this website are complex instruments with high risk of losing money rapidly owing to leverage. You should consider whether you understand how these products work and whether you can afford to risk losing your money.",
Expand All @@ -2331,7 +2341,25 @@
"-1961258037": "Didn't receive an email from us? Here's what could've happened.",
"-276906320": "If you don't see an email from us within a few minutes, a few things could have happened:",
"-1878043830": "Re-enter your email and try again",
"-1101838164": "A feature-rich",
"-319509090": "CFD trading",
"-76418992": "Deriv ctrader logo",
"-1006826644": "<0>Sign in</0> to your Deriv account. If you don’t have one, <1>sign up</1> for free.",
"-1864840861": "Under CFDs, look for Deriv cTrader and select Get.",
"-706898598": "Go to the Trader’s hub and choose the Real option.",
"-639006406": "How to get started with a Deriv cTrader account",
"-544288925": "cTrader – a CFD trading platform | Deriv",
"-1344568737": "The all-in-one CFD trading platform.",
"-1464815790": "Get trading with Deriv cTrader",
"-906824015": "Scan to download Deriv cTrader",
"-1517620254": "All your favourite assets in one place",
"-2142229954": "Know your trade margins",
"-1284819681": "What is Deriv cTrader",
"-835302900": "Deriv cTrader is an easy-to-use, multi-asset CFD trading platform packed with a wide range of features on a user-friendly interface. Enhance your trading experience further with features such as limit order and stop order, chart trading, and custom indicators. With Deriv cTrader, take advantage of our deep liquidity to execute trades quickly and efficiently.",
"-1627231267": "Multiple assets on a single platform",
"-238387918": "Trade forex, stocks & indices, cryptocurrencies, commodities, and derived indices in one place.",
"-707160742": "Easy start",
"-897434771": "Already have a Deriv account? Use those credentials to sign in to Deriv cTrader.",
"-1930452638": "Deriv EZ logo",
"-151281957": "CFDs trading platform",
"-1252238038": "Add a Deriv EZ demo account.",
Expand All @@ -2345,7 +2373,6 @@
"-1342386962": "Take advantage of more than 50 trading indicators and tools to make informed decisions.",
"-733360107": "Instant platform access",
"-127969124": "Easy to start",
"-707160742": "Easy start",
"-1160097046": "Trade anytime you want, including weekends and holidays, on cryptocurrencies and our proprietary derived indices.",
"-1486813632": "Rated excellent on",
"-967353831": "You need Deriv GO Ultimate for Android. Trade Options, in addition to CFDs and Multipliers, on your favourite markets.",
Expand Down Expand Up @@ -2589,8 +2616,6 @@
"-468571835": "Deriv MT5 gives you access to multiple asset classes – forex, stocks & indices, cryptocurrencies, commodities, and derived indices – on a single platform. With exclusive access to innovative assets, Deriv brings the MT5 experience to a superior level for both new and experienced traders.",
"-1058362536": "Quick demo account sign-up",
"-356516643": "Practise with a demo account preloaded with unlimited virtual funds.",
"-1627231267": "Multiple assets on a single platform",
"-238387918": "Trade forex, stocks & indices, cryptocurrencies, commodities, and derived indices in one place.",
"-525457182": "Trade round-the-clock, even on weekends, with our proprietary derived indices.",
"-1023989708": "Trade any time of the day and week",
"-1136280668": "licensed and regulated",
Expand Down Expand Up @@ -3354,7 +3379,6 @@
"-877732419": "<0>High leverage</0> — Leverage allows you to open larger positions with a smaller balance in your trading account. The higher the leverage, the less money you need.",
"-1794853647": "CFD trading | Online trading platform | Deriv",
"-31586003": "Trade CFDs on multiple markets. Enjoy high leverage, tight spreads, and risk management features to amplify your potential profits and limit losses.",
"-319509090": "CFD trading",
"-2087689842": "Why trade CFDs on Deriv",
"-1845399397": "Increased market exposure",
"-1126407219": "Get more market exposure while limiting risk to your stake amount.",
Expand Down
3 changes: 0 additions & 3 deletions src/features/components/atoms/tab/tab-switcher/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ import { Localize } from 'components/localization'
const TabSwitcher = ({ tab, onTabClick }: Omit<StepperTabTypes, 'items'>) => {
return (
<FlexBoxContainer direction={'col'} align={'center'} justify={'center'} pt={'20x'}>
<Typography.Heading align={'center'} mb={'20x'}>
<Localize translate_text={'_t_How to get started with a Deriv EZ account_t_'} />
</Typography.Heading>
<FlexBox.Box justify={'center'}>
<TabButton
className={
Expand Down
2 changes: 1 addition & 1 deletion src/features/components/atoms/tab/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { TString } from 'types/generics'

export type TabItemTypes = {
title: TString
component?: React.ReactElement
component?: React.ReactElement | React.ReactElement[]
image: React.ReactElement
alt?: string
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
max-block-size: 64.1rem;
}
}
.hero_desktop_image {
.hero_image_wrapper {
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
@include breakpoints(tablet) {
margin-inline-start: auto;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import { DerivProductContentType } from './types'
import { hero_desktop_image } from './deriv-products-hero.module.scss'
import { hero_image_wrapper } from './deriv-products-hero.module.scss'
import FlexBox from 'features/components/atoms/flex-box'

interface ProductsBannerProps {
Expand All @@ -11,10 +11,12 @@ const ProductsBanner = ({ contentData }: ProductsBannerProps) => {
const { hero, hero_mobile } = contentData
return (
<>
<FlexBox.Box ml={'17x'} className={hero_desktop_image} visible="larger-than-tablet">
<FlexBox.Box ml={'17x'} className={hero_image_wrapper} visible="larger-than-phone">
{hero}
</FlexBox.Box>
<FlexBox.Box className="visible-phone-and-tablet">{hero_mobile}</FlexBox.Box>
<FlexBox.Box ml={'20x'} mt={'10x'} className={hero_image_wrapper} visible="phone-only">
{hero_mobile}
</FlexBox.Box>
</>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ export type TradingPlatformNumbersProps = {

const TradingPlatformNumbers = ({ selling_points }: TradingPlatformNumbersProps) => {
return (
<FlexBox.Box container={'fluid'} direction={'col'} margin_block={'20x'}>
<FlexBox.Box
container={'fluid'}
direction={'col'}
md={{ margin_block: '20x' }}
margin_block={'10x'}
>
<FlexBox.Box
direction={'col'}
align={'center'}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
@use 'features/styles/theme/theme-mixins' as *;
@import 'features/styles/theme/variables';

.number_box {
@include breakpoints(tablet) {
border-bottom: 1px solid $color-grey-1;
}
}

.description_section {
@include breakpoints(tablet) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ interface TradingPlatformDescriptionProps {
}
const TradeDescription = ({ title, subtitle }: TradingPlatformDescriptionProps) => {
return (
<Container.Fluid
className={number_box}
margin_block={'20x'}
margin_inline={'8x'}
md={{ margin_block: '40x' }}
>
<Container.Fluid margin_block={'20x'} margin_inline={'8x'} md={{ margin_block: '40x' }}>
<FlexBox.Box direction={'col'} className={description_section}>
<Typography.Heading align={'center'}>
<Localize translate_text={title} />
Expand Down
7 changes: 0 additions & 7 deletions src/features/components/templates/trade-platform/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,3 @@ export type TradingPlatformOtherProps = {
description: TString
link: string
}[]
export type TradingPlatformDataType = {
trading_platform_hero: TradingPlatformPHeroProps
trading_platform_description: TradingPlatformDescriptionProps
trading_platform_start: TradingPlatformStartProps
trading_platform_banner?: BannerType
trading_platform_other: TradingPlatformOtherProps
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const TradingPlatformWhatHave = ({ items }: TradingPlatformWhatHaveProps) => {
}}
>
<FlexBox.Box direction={'col'} justify={'center'} className={flex_items}>
<Typography.Heading mb={'6x'} align="left" textcolor="primary">
<Typography.Heading mb={'6x'} align="left" textcolor="primary" mr="5x">
<Localize translate_text={content.title} />
</Typography.Heading>
<Typography.Paragraph align={'left'} mb={'12x'} md={{ mb: '0x' }}>
Expand Down
33 changes: 33 additions & 0 deletions src/features/pages/deriv-ctrader/hero-banner/data.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import React from 'react'
import { StaticImage } from 'gatsby-plugin-image'
import Image from 'features/components/atoms/image'
import CTraderLogo from 'images/svg/trading-platforms/ctrader/ctrader-logo.svg'
import { DerivProductContentType } from 'features/components/templates/banners/deriv-products-hero/types'

export const hero_content_data: DerivProductContentType = {
main_title: ['_t_A feature-rich_t_', '_t_CFD trading_t_', '_t_platform_t_'],
hero: (
<StaticImage
src="../../../../images/common/trading-platforms/ctrader/ctrader-hero.png"
meenakshi-deriv marked this conversation as resolved.
Show resolved Hide resolved
alt="Deriv ctrader online trading platform"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please translate alt messages

loading="eager"
quality={100}
formats={['avif', 'webp', 'auto']}
objectFit="contain"
placeholder="none"
/>
),
hero_mobile: (
<StaticImage
src="../../../../images/common/trading-platforms/ctrader/ctrader-hero-mobile-new-2.png"
alt="Deriv ctrader online trading platform"
loading="eager"
quality={100}
formats={['avif', 'webp', 'auto']}
objectFit="contain"
placeholder="none"
/>
),
logo: <Image src={CTraderLogo} height={64} alt={'_t_Deriv ctrader logo_t_'} />,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
logo: <Image src={CTraderLogo} height={64} alt={'_t_Deriv ctrader logo_t_'} />,
logo: <Image src={CTraderLogo} height={64} alt={localize('_t_Deriv ctrader logo_t_')} />,

mobile_logo: <Image src={CTraderLogo} height={32} alt={'_t_Deriv ctrader logo_t_'} />,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
mobile_logo: <Image src={CTraderLogo} height={32} alt={'_t_Deriv ctrader logo_t_'} />,
mobile_logo: <Image src={CTraderLogo} height={32} alt={localize('_t_Deriv ctrader logo_t_')} />,

}
9 changes: 9 additions & 0 deletions src/features/pages/deriv-ctrader/hero-banner/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'
import { hero_content_data } from './data'
import DerivProductHero from 'features/components/templates/banners/deriv-products-hero'

const CTraderHero = () => {
return <DerivProductHero contentData={hero_content_data} />
}

export default CTraderHero
Loading