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

fix: about -us changes #5745

Merged
Merged
Show file tree
Hide file tree
Changes from 5 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
7 changes: 3 additions & 4 deletions crowdin/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1303,6 +1303,7 @@
"1246145751": "Help centre | Frequently asked questions | Security | Deriv",
"1248844726": "Deriv MT5 (DMT5)",
"1249011149": "Expert support",
"1250814650": "We offer the widest selection of derivatives to trade, with sharp prices and tight spreads that attract over 2.5 million online traders worldwide. Our technology provides an intuitive and powerful trading experience, enabling our clients to understand risk more effectively to make informed trading decisions.",
"1250818586": "Which Deriv trading platforms can I use to trade Reset Call/Reset Put contracts?",
"1250845738": "$ 7.00",
"1254667788": "Dbot trading platform at Deriv",
Expand Down Expand Up @@ -2061,6 +2062,7 @@
"1924997360": "[ { 10",
"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.",
"1928776934": "Active traders",
"1928930389": "GBP/NOK",
"1929213891": "Our charting site: tradingview.deriv.com",
"1930677092": "Fill up the form and hit <0>Post ad</0>.",
Expand Down Expand Up @@ -3980,10 +3982,7 @@
"-586716383": "Our principles | Deriv",
"-141169956": "Deriv P2P – peer-to-peer deposit and withdrawal service",
"-1451760391": "With Deriv P2P your deposits and withdrawals are easy, fast, and efficient. Access now via the desktop or mobile app.",
"-68718669": "Deriv is the next step in the evolution of Binary.com, the company with a proven record of delivering market-leading products that are trusted around the world.",
"-919442675": "We offer the widest selection of derivatives to trade, with sharp prices and tight spreads that attract over 2.5 million online traders worldwide. Our technology provides an intuitive and powerful trading experience, enabling our clients to understand risk more effectively to make better trading decisions.",
"-550677199": "Trading accounts opened",
"-183146919": "Trades last month",
"-998399066": "Deriv has a proven record of delivering market-leading products that are trusted around the world.",
"-1525567224": "Specialised institutional and prime brokerage solution for the world's most popular financial assets, has zero set-up costs, and is easy to integrate.",
"-1943991243": "Partnership with a trusted pioneer",
"-1781913728": "Benefit from our extensive experience of more than 20 years and our internationally acclaimed reputation.",
Expand Down
Binary file added src/images/common/partner-deriv-platform-eu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/common/partner-deriv-platform.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 15 additions & 8 deletions src/pages/partners/_about-deriv.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ import { Container, Flex, Desktop, Mobile } from 'components/containers'
import { Header, Text, QueryImage } from 'components/elements'
import { Localize, localize } from 'components/localization'
import device from 'themes/device'
import useRegion from 'components/hooks/use-region'

const query = graphql`
{
deriv_platform: file(relativePath: { eq: "partner-deriv-platform.png" }) {
...fadeIn
}
deriv_platform_eu: file(relativePath: { eq: "partner-deriv-platform-eu.png" }) {
...fadeIn
}
}
`

Expand All @@ -30,6 +34,7 @@ const ImageWrapper = styled.div`

const AboutDeriv = () => {
const data = useStaticQuery(query)
const { is_eu, is_region_loading } = useRegion()
return (
<Container direction="column">
<Mobile>
Expand All @@ -38,12 +43,14 @@ const AboutDeriv = () => {
</Header>
</Mobile>
<WrapContainer mb="8rem">
<ImageWrapper>
<QueryImage
data={data.deriv_platform}
alt={localize('_t_Deriv.com on laptop and mobile_t_')}
/>
</ImageWrapper>
{!is_region_loading ? (
<ImageWrapper>
<QueryImage
data={is_eu ? data.deriv_platform_eu : data.deriv_platform}
alt={localize('_t_Deriv.com on laptop and mobile_t_')}
/>
</ImageWrapper>
) : null}

<Flex direction="column" ml="2.4rem" max_width="69rem">
<Desktop>
Expand All @@ -52,10 +59,10 @@ const AboutDeriv = () => {
</Header>
</Desktop>
<Text size="var(--text-size-m)" mb="2rem">
<Localize translate_text="_t_Deriv is the next step in the evolution of Binary.com, the company with a proven record of delivering market-leading products that are trusted around the world._t_" />
<Localize translate_text="_t_Deriv has a proven record of delivering market-leading products that are trusted around the world._t_" />
</Text>
<Text size="var(--text-size-m)">
<Localize translate_text="_t_We offer the widest selection of derivatives to trade, with sharp prices and tight spreads that attract over 2.5 million online traders worldwide. Our technology provides an intuitive and powerful trading experience, enabling our clients to understand risk more effectively to make better trading decisions._t_" />
<Localize translate_text="_t_We offer the widest selection of derivatives to trade, with sharp prices and tight spreads that attract over 2.5 million online traders worldwide. Our technology provides an intuitive and powerful trading experience, enabling our clients to understand risk more effectively to make informed trading decisions._t_" />
</Text>
</Flex>
</WrapContainer>
Expand Down
22 changes: 7 additions & 15 deletions src/pages/partners/_deriv-numbers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const Wrapper = styled(Flex)`
const Card = styled(Flex)`
${CardStyle}
padding: 2.4rem;
max-width: 20.8rem;
min-height: 15.8rem;
max-width: 28.2rem;
min-height: 16.8rem;
justify-content: flex-start;
block-size: auto;
`
Expand All @@ -33,39 +33,31 @@ const DerivNumbers = () => {
<Wrapper mb="8rem">
<Card direction="column">
<CardHeader as="p" size="var(--text-size-header-1)" mb="0.8rem" align="center">
20+
23
</CardHeader>
<Text align="center">
<Localize translate_text="_t_Years of industry experience_t_" />
</Text>
</Card>
<Card direction="column">
<CardHeader as="p" size="var(--text-size-header-1)" mb="0.8rem" align="center">
6.5M+
1M+
</CardHeader>
<Text align="center">
<Localize translate_text="_t_Trading accounts opened_t_" />
<Localize translate_text="_t_Active traders_t_" />
</Text>
</Card>
<Card direction="column">
<CardHeader as="p" size="var(--text-size-header-1)" mb="0.8rem" align="center">
USD 12T+
USD 15T+
</CardHeader>
<Text align="center">
<Localize translate_text="_t_Total trade turnover_t_" />
</Text>
</Card>
<Card direction="column">
<CardHeader as="p" size="var(--text-size-header-1)" mb="0.8rem" align="center">
200M+
</CardHeader>
<Text align="center">
<Localize translate_text="_t_Trades last month_t_" />
</Text>
</Card>
<Card direction="column">
<CardHeader as="p" size="var(--text-size-header-1)" mb="0.8rem" align="center">
USD 47M+
USD 45M+
</CardHeader>
<Text align="center">
<Localize translate_text="_t_Withdrawals last month_t_" />
Expand Down
Loading
Loading