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.

Kevin/ hotfix ib page fixes #1403

Merged
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
2 changes: 1 addition & 1 deletion src/components/layout/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ const NavLogoLink = styled(LogoLink)`

const LSContainer = styled(Container)`
text-align: right;
margin-right: 60px;
margin-left: 200px;
`

const DesktopLS = styled(Show.Desktop)`
Expand Down
50 changes: 19 additions & 31 deletions src/pages/partners/affiliate-ib/_deriv-ib-programme.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,7 @@ const DerivIBProgramme = () => {
<StyledSection shadow id="deriv-ib">
<Container direction="column">
<TitleWrapper>
<StyledTitleHeader
mb="1.2rem"
type="sub-section-title"
size="4.8rem"
align="center"
>
<StyledTitleHeader mb="1.2rem" type="page-title" align="center">
{localize('Deriv IB Programme')}
</StyledTitleHeader>
<SubtitleHeader as="h4" type="sub-section-title" align="center" weight="normal">
Expand All @@ -218,7 +213,7 @@ const DerivIBProgramme = () => {
</SubtitleHeader>
</TitleWrapper>
<IBSectionContainer padding="4rem 0 9.6rem 0">
<StyledHeaderCommission as="h4" mb="1.6rem" size="1.6rem">
<StyledHeaderCommission as="h4" type="sub-section-title" mb="1.6rem">
{localize('Choose a commission plan:')}
</StyledHeaderCommission>
<StyledCardWrapper>
Expand Down Expand Up @@ -290,7 +285,7 @@ const DMT5Synthetic = ({ data }) => {
}
return (
<StyledCard
height={is_expand && !is_calculated ? '83rem' : '43rem'}
height={is_expand && !is_calculated ? '75rem' : '43rem'}
padding="3.2rem 3.2rem 8.2rem"
mobileHeight={is_expand && !is_calculated ? '78rem' : '43rem'}
width="43rem"
Expand Down Expand Up @@ -353,7 +348,7 @@ const DMT5Synthetic = ({ data }) => {
</div>
) : (
<>
<CardHeader as="h4" mb="0.8rem" lh="1.5">
<CardHeader as="h4" type="sub-section-title" mb="0.8rem" lh="1.5">
{localize('How it’s calculated')}
</CardHeader>
{data.calculation}
Expand Down Expand Up @@ -440,7 +435,7 @@ const DMT5Standard = ({ data }) => {
</div>
) : (
<>
<CardHeader as="h4" mb="0.8rem">
<CardHeader as="h4" type="sub-section-title" mb="0.8rem">
{localize('How it’s calculated')}
</CardHeader>
{data.calculation}
Expand Down Expand Up @@ -528,7 +523,7 @@ const DMT5Advanced = ({ data }) => {
</div>
) : (
<>
<CardHeader as="h4" mb="0.8rem">
<CardHeader as="h4" type="sub-section-title" mb="0.8rem">
{localize('How it’s calculated')}
</CardHeader>
{data.calculation}
Expand Down Expand Up @@ -638,26 +633,19 @@ const ib_dmt5_synthetic = {
],
[
<Localize key={0} translate_text="Commission per round trade (per USD 100k)" />,
<Localize key={1} translate_text="0.50" />,
<Localize key={2} translate_text="0.70" />,
<Localize key={3} translate_text="0.50" />,
<Localize key={4} translate_text="0.70" />,
<Localize key={5} translate_text="0.80" />,
<Localize key={6} translate_text="0.40" />,
<Localize key={7} translate_text="0.20" />,
<Localize key={8} translate_text="1.50" />,
<Localize key={9} translate_text="1.50" />,
<Localize key={10} translate_text="3.50" />,
<Localize key={11} translate_text="3.50" />,
<Localize key={12} translate_text="7.50" />,
<Localize key={13} translate_text="7.50" />,
<Localize key={14} translate_text="10.00" />,
<Localize key={15} translate_text="10.00" />,
<Localize key={16} translate_text="15.00" />,
<Localize key={17} translate_text="15.00" />,
<Localize key={18} translate_text="1.50" />,
<Localize key={19} translate_text="7.50" />,
<Localize key={20} translate_text="15.00" />,
<Localize key={1} translate_text="0.30" />,
<Localize key={2} translate_text="0.20" />,
<Localize key={3} translate_text="0.30" />,
<Localize key={4} translate_text="0.20" />,
<Localize key={5} translate_text="1.50" />,
<Localize key={6} translate_text="3.50" />,
<Localize key={7} translate_text="7.50" />,
<Localize key={8} translate_text="10.00" />,
<Localize key={9} translate_text="15.00" />,
<Localize key={10} translate_text="1.50" />,
<Localize key={11} translate_text="7.50" />,
<Localize key={12} translate_text="15.00" />,
<Localize key={13} translate_text="0.20" />,
],
],
calculation: (
Expand Down
8 changes: 2 additions & 6 deletions src/pages/partners/affiliate-ib/_more-reason.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ const StyledSection = styled(SectionContainer)`
}
`

const StyledHeader = styled(Header)`
margin-top: 0 !important;
`

const MoreReason = () => {
return (
<StyledSection>
Expand Down Expand Up @@ -95,9 +91,9 @@ const MoreReason = () => {
</Reason>
<Reason>
<img src={GlobalAffiliate} alt="global affiliate support" />
<StyledHeader as="h4" type="sub-section-title" lh="1.5" mb="8px">
<Header as="h4" type="sub-section-title" lh="1.5" mb="8px">
{localize('Global affiliate support')}
</StyledHeader>
</Header>
<Text>
{localize(
'Got questions? Need help? Call or email a dedicated team of affiliate managers for all the answers.',
Expand Down