Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

nikolai.berestevich/refactor/change-alt-tags-tradetypes-39868 #1962

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions src/pages/derivx/_accounts.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ const content = [
text: (
<Localize translate_text="Trade our exclusive, proprietary synthetic indices 24/7, which simulate real-world market movements." />
),
icon: <StyledIcon src={DxSyntheticIcon} alt="synthetic icon" />,
icon: <StyledIcon src={DxSyntheticIcon} alt="" />,
},
{
header: <Localize translate_text="Financial" />,
text: (
<Localize translate_text="Trade forex, commodities and cryptocurrencies at high leverage." />
),
icon: <StyledIcon src={DxFinancialIcon} alt="financial icon" />,
icon: <StyledIcon src={DxFinancialIcon} alt="" />,
},
]
const Section = styled(SectionContainer)`
Expand Down
6 changes: 3 additions & 3 deletions src/pages/dmt5/_flexibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ const content = [
text: (
<Localize translate_text="Trade CFDs on our exclusive, proprietary synthetic indices 24/7 which simulate real-world market movements." />
),
icon: <StyledSyntheticIcon src={SyntheticIcon} alt="synthetic icon" />,
icon: <StyledSyntheticIcon src={SyntheticIcon} alt="" />,
},
{
header: <Localize translate_text="Financial" />,
text: (
<Localize translate_text="Trade major (standard and micro-lots) and minor currency pairs, commodities, cryptocurrencies, and stocks & indices with high leverage." />
),
icon: <StyledFinancialIcon src={FinancialIcon} alt="financial icon" />,
icon: <StyledFinancialIcon src={FinancialIcon} alt="" />,
},
{
header: <Localize translate_text="Financial STP" />,
text: (
<Localize translate_text="Trade major, minor, and exotic currency pairs, and cryptocurrencies with tight spreads and higher trade volumes, straight to the market." />
),
icon: <StyledFinancialStpIcon src={FinancialStpIcon} alt="financial stp icon" />,
icon: <StyledFinancialStpIcon src={FinancialStpIcon} alt="" />,
},
]
const Section = styled(SectionContainer)`
Expand Down
12 changes: 6 additions & 6 deletions src/pages/dmt5/_why-trader.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,31 @@ const card_content = [
header: localize('Quick demo account sign-up'),
text: localize('Practise with a demo account preloaded with unlimited virtual funds.'),
image: InstantAccess,
alt: 'instant access',
key: 0,
},
{
header: localize('Multiple assets on a single platform'),
text: localize(
'Explore forex, synthetic indices, stocks, and commodities on an all-in-one platform.',
),
image: SyntheticIndices,
alt: 'syntethic indices',
key: 1,
},
{
header: localize('24/7 trading'),
text: localize(
'Trade round-the-clock, even on weekends, with our proprietary synthetic indices.',
),
image: Seven,
alt: 'seven',
key: 2,
},
{
header: localize('Licensed and regulated'),
text: localize(
'Trade with a regulated industry pioneer trusted by traders for more than 20 years.',
),
image: MinimalRisk,
alt: 'minimal risk',
key: 3,
},
]

Expand Down Expand Up @@ -117,9 +117,9 @@ const WhyTrader = () => {
<CardContainer>
{card_content.map((card) => {
return (
<Card key={card.alt}>
<Card key={card.key}>
<div>
<img src={card.image} alt={card.alt} />
<img src={card.image} alt="" />
</div>
<StyledCardHeader
mt="0.8rem"
Expand Down
23 changes: 4 additions & 19 deletions src/pages/trade-types/margin/_available-markets.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const AvailableMarkets = () => {
<MarketsItem>
<Card>
<MobileCardHeader>
<img src={Forex} alt="forex" width="64" height="64" />
<img src={Forex} alt="" width="64" height="64" />

<StyledText weight="bold">{localize('Forex')}</StyledText>
</MobileCardHeader>
Expand All @@ -70,12 +70,7 @@ const AvailableMarkets = () => {
<MarketsItem>
<Card>
<MobileCardHeader>
<img
src={SyntheticIndices}
alt="synthetic indices"
width="64"
height="64"
/>
<img src={SyntheticIndices} alt="" width="64" height="64" />

<StyledText weight="bold">
{localize('Synthetic indices')}
Expand All @@ -97,12 +92,7 @@ const AvailableMarkets = () => {
<MarketsItem>
<Card>
<MobileCardHeader>
<img
src={Commodities}
alt="commodities"
width="64"
height="64"
/>
<img src={Commodities} alt="" width="64" height="64" />

<StyledText weight="bold">{localize('Commodities')}</StyledText>
</MobileCardHeader>
Expand All @@ -122,12 +112,7 @@ const AvailableMarkets = () => {
<MarketsItem>
<Card>
<MobileCardHeader>
<img
src={StockIndices}
alt="stock indices"
width="64"
height="64"
/>
<img src={StockIndices} alt="" width="64" height="64" />

<StyledText weight="bold">
{localize('Stock indices')}
Expand Down
10 changes: 5 additions & 5 deletions src/pages/trade-types/margin/_why-trade-margin.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const WhyTradeMargin = () => {
</Header>
<Grid>
<WhyTradeItem>
<img src={HighLeverge} alt="high leverage" />
<img src={HighLeverge} alt="" />
<Text weight="bold" mb="0.8rem" mt="1.6rem">
{localize('High leverage, low spreads')}
</Text>
Expand All @@ -38,7 +38,7 @@ const WhyTradeMargin = () => {
</Text>
</WhyTradeItem>
<WhyTradeItem>
<img src={SyntheticIndices} alt="synthetic indices" />
<img src={SyntheticIndices} alt="" />
<Text weight="bold" mb="0.8rem" mt="1.6rem">
{localize('All favourite markets available')}
</Text>
Expand All @@ -49,7 +49,7 @@ const WhyTradeMargin = () => {
</Text>
</WhyTradeItem>
<WhyTradeItem>
<img src={MaximizePotentialProfit} alt="maximize potential profit" />
<img src={MaximizePotentialProfit} alt="" />
<Text weight="bold" mb="0.8rem" mt="1.6rem">
{localize('Go long and short')}
</Text>
Expand All @@ -60,7 +60,7 @@ const WhyTradeMargin = () => {
</Text>
</WhyTradeItem>
<WhyTradeItem>
<img src={FriendlySupport} alt="friendly support" />
<img src={FriendlySupport} alt="" />
<Text weight="bold" mb="0.8rem" mt="1.6rem">
{localize('Expert and friendly support')}
</Text>
Expand All @@ -69,7 +69,7 @@ const WhyTradeMargin = () => {
</Text>
</WhyTradeItem>
<WhyTradeItem>
<img src={InstantAccess} alt="instant access" />
<img src={InstantAccess} alt="" />
<Text weight="bold" mb="0.8rem" mt="1.6rem">
{localize('Instant access')}
</Text>
Expand Down
14 changes: 2 additions & 12 deletions src/pages/trade-types/multiplier/_available-trades.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,20 +164,10 @@ const Card = ({ display_name, active_tab, onTabChange, name }) => {
<CardContainer name={name} active_tab={active_tab} onClick={() => onTabChange(name)}>
<Flex height="fit-content" jc="flex-start" ai="center">
{active_tab === 'Forex' && (
<TabMarginIcon
src={ForexIcon}
alt="margin icon"
name={name}
active_tab={active_tab}
/>
<TabMarginIcon src={ForexIcon} alt="" name={name} active_tab={active_tab} />
)}
{active_tab === 'Synthetic Indices' && (
<TabOptionIcon
src={SyntheticIcon}
alt="option icon"
name={name}
active_tab={active_tab}
/>
<TabOptionIcon src={SyntheticIcon} alt="" name={name} active_tab={active_tab} />
)}
<CardHeader as="h4" type="sub-section-title" width="auto">
{display_name}
Expand Down
6 changes: 3 additions & 3 deletions src/pages/trade-types/multiplier/_how-multiplier-works.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const HowOptionsWorks = () => {
<HowItWorksItem>
<OptionItems>
<div>
<img src={DefinePosition} alt="define your position" />
<img src={DefinePosition} alt="" />
</div>
<StyledText>{localize('Define your position')}</StyledText>
</OptionItems>
Expand All @@ -129,7 +129,7 @@ const HowOptionsWorks = () => {
<HowItWorksItem>
<OptionItems>
<div>
<img src={SetOptionalParameters} alt="set optional parameters" />
<img src={SetOptionalParameters} alt="" />
</div>
<StyledText>{localize('Set optional parameters')}</StyledText>
</OptionItems>
Expand All @@ -142,7 +142,7 @@ const HowOptionsWorks = () => {
<HowItWorksItem>
<OptionItems>
<div>
<img src={PurchaseContract} alt="purchase your contract" />
<img src={PurchaseContract} alt="" />
</div>
<StyledText>{localize('Purchase your contract')}</StyledText>
</OptionItems>
Expand Down
9 changes: 2 additions & 7 deletions src/pages/trade-types/multiplier/_markets-available.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const MarketsAvailable = () => {
<MarketsItem>
<Card>
<MobileCardHeader>
<img src={Forex} alt="forex" width="64" height="64" />
<img src={Forex} alt="" width="64" height="64" />

<StyledText weight="bold">{localize('Forex')}</StyledText>
</MobileCardHeader>
Expand All @@ -68,12 +68,7 @@ const MarketsAvailable = () => {
<MarketsItem>
<Card>
<MobileCardHeader>
<img
src={SyntheticIndices}
alt="synthetic indices"
width="64"
height="64"
/>
<img src={SyntheticIndices} alt="" width="64" height="64" />

<StyledText weight="bold">
{localize('Synthetic indices')}
Expand Down
12 changes: 6 additions & 6 deletions src/pages/trade-types/multiplier/_what-are-multipliers.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ const WhatAreOptions = () => {
<Grid>
<WhyTradeItem>
<div>
<img src={MinimalRisk} alt="minimal risk" />
<img src={MinimalRisk} alt="" />
</div>
<Text mt="1.6rem" mb="0.8rem" weight="bold">
{localize('Better risk management')}
Expand All @@ -266,7 +266,7 @@ const WhatAreOptions = () => {
</WhyTradeItem>
<WhyTradeItem>
<div>
<img src={FullControl} alt="full control" />
<img src={FullControl} alt="" />
</div>
<Text mt="1.6rem" mb="0.8rem" weight="bold">
{localize('Increased market exposure')}
Expand All @@ -279,7 +279,7 @@ const WhatAreOptions = () => {
</WhyTradeItem>
<WhyTradeItem>
<div>
<img src={ResponsivePlatform} alt="responsive platform" />
<img src={ResponsivePlatform} alt="" />
</div>
<Text mt="1.6rem" mb="0.8rem" weight="bold">
{localize('Secure, responsive platform')}
Expand All @@ -292,7 +292,7 @@ const WhatAreOptions = () => {
</WhyTradeItem>
<WhyTradeItem>
<div>
<img src={FriendlySupport} alt="friendly support" />
<img src={FriendlySupport} alt="" />
</div>
<Text mt="1.6rem" mb="0.8rem" weight="bold">
{localize('Expert and friendly support')}
Expand All @@ -303,7 +303,7 @@ const WhatAreOptions = () => {
</WhyTradeItem>
<WhyTradeItem>
<div>
<img src={Seven} alt="seven" />
<img src={Seven} alt="" />
</div>
<Text mt="1.6rem" mb="0.8rem" weight="bold">
{localize('Trade 24/7, 365 days a year')}
Expand All @@ -316,7 +316,7 @@ const WhatAreOptions = () => {
</WhyTradeItem>
<WhyTradeItem>
<div>
<img src={CrashBoom} alt="crash boom" />
<img src={CrashBoom} alt="" />
</div>
<Text mt="1.6rem" mb="0.8rem" weight="bold">
{localize('Crash/Boom indices')}
Expand Down
6 changes: 3 additions & 3 deletions src/pages/trade-types/options/_how-options-works.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const HowOptionsWorks = () => {
<HowItWorksItem>
<OptionItems>
<div>
<img src={DefinePosition} alt="define your position" />
<img src={DefinePosition} alt="" />
</div>
<StyledText weight="bold">
{localize('Define your position')}
Expand All @@ -101,7 +101,7 @@ const HowOptionsWorks = () => {
<HowItWorksItem>
<OptionItems>
<div>
<img src={GetQuote} alt="get quote" />
<img src={GetQuote} alt="" />
</div>
<StyledText weight="bold">{localize('Get quote')}</StyledText>
</OptionItems>
Expand All @@ -114,7 +114,7 @@ const HowOptionsWorks = () => {
<HowItWorksItem>
<OptionItems>
<div>
<img src={PurchaseContract} alt="purchase your contract" />
<img src={PurchaseContract} alt="" />
</div>
<StyledText weight="bold">
{localize('Purchase your contract')}
Expand Down
23 changes: 4 additions & 19 deletions src/pages/trade-types/options/_markets-available.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const MarketsAvailable = () => {
<MarketsItem>
<Card>
<MobileCardHeader>
<img src={Forex} alt="forex" width="64" height="64" />
<img src={Forex} alt="" width="64" height="64" />

<StyledText weight="bold">{localize('Forex')}</StyledText>
</MobileCardHeader>
Expand All @@ -70,12 +70,7 @@ const MarketsAvailable = () => {
<MarketsItem>
<Card>
<MobileCardHeader>
<img
src={SyntheticIndices}
alt="synthetic indices"
width="64"
height="64"
/>
<img src={SyntheticIndices} alt="" width="64" height="64" />

<StyledText weight="bold">
{localize('Synthetic indices')}
Expand All @@ -97,12 +92,7 @@ const MarketsAvailable = () => {
<MarketsItem>
<Card>
<MobileCardHeader>
<img
src={Commodities}
alt="commodities"
width="64"
height="64"
/>
<img src={Commodities} alt="" width="64" height="64" />

<StyledText weight="bold">{localize('Commodities')}</StyledText>
</MobileCardHeader>
Expand All @@ -122,12 +112,7 @@ const MarketsAvailable = () => {
<MarketsItem>
<Card>
<MobileCardHeader>
<img
src={StockIndices}
alt="stock indices"
width="64"
height="64"
/>
<img src={StockIndices} alt="" width="64" height="64" />

<StyledText weight="bold">
{localize('Stock indices')}
Expand Down
Loading