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

Commit

Permalink
Konstantinos / Road Town address added (#5502)
Browse files Browse the repository at this point in the history
* fix: roadtown address added

* auto-pull-translation

* translation: 📚 sync translations from crowdin feature branch

---------

Co-authored-by: Konstantinos-Gk <[email protected]>
Co-authored-by: DerivFE <[email protected]>
  • Loading branch information
3 people authored Sep 1, 2023
1 parent 69f792d commit 5a11f83
Show file tree
Hide file tree
Showing 25 changed files with 4,556 additions and 4,454 deletions.
1 change: 1 addition & 0 deletions crowdin/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3073,6 +3073,7 @@
"-283810073": "Malaysia",
"-1847522411": "Africa",
"-1552543730": "Caribbean",
"-2098459063": "British Virgin Islands",
"-1077630901": "Oceania",
"-1278724614": "Have any query or need assistance, check out the details to call our international help desk and our email ID. Feel free to contact us anytime!",
"-1439893219": "Got questions? Here's how to get answers.",
Expand Down
Binary file added src/images/common/maps/map-bvi.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/maps/map-cayman.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions src/images/svg/contact/bvi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/pages/careers/_model/_locations/_contact-details.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ const address_georgetown = [
'Cayman Enterprise City, Strathvale House, 2nd Floor, 90 N Church St, George Town, Cayman Islands',
]

const address_roadtown = [
'2nd Floor, Suite 2, Omar Hodge Building, 325 Waterfront Drive, Road Town, Tortola, VG 1110, British Virgin Islands',
]

const address_ipoh = ['E-5-6, Soho Ipoh 2,', 'Jalan Sultan Idris Shah,', 'Ipoh 30000, Perak']

const address_france = ["17 Rue d'Antin, 75002 Paris"]
Expand Down Expand Up @@ -67,5 +71,6 @@ export {
address_georgetown,
address_jordan,
address_vanuatu,
address_roadtown,
address_reading,
}
11 changes: 8 additions & 3 deletions src/pages/careers/_model/_locations/_locations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
address_rwanda,
address_france,
address_guernsey,
address_roadtown,
address_jordan,
address_singapore,
address_vanuatu,
Expand Down Expand Up @@ -527,7 +528,7 @@ export const roadtown: LocationsType = {
display_thumbnail_name: 'Road Town',
display_title_name: 'Road Town',
img_alt: 'Deriv’s British Virgin Islands office at Road Town',
map_office_name: '(BVI)',
map_office_name: '(BVI) Ltd',
country: 'British Virgin Islands',
flagIcon: BVIFlagIcon,
thumbnail: 'thumbnail_roadtown',
Expand All @@ -537,9 +538,13 @@ export const roadtown: LocationsType = {
first_img_alt: 'Road Town, British Virgin Islands',
grid_images: ['guernsey_grid_1', 'guernsey_grid_2', 'bvi_grid_3', 'guernsey_grid_4'],
grid_img_alt: ['Deriv’s British Virgin Islands team', '', 'Boss explaining to team members'],
map: 'ChIJs5fO51eGJY8RKFew8LoGSxU',
map: 'ChIJpZcftYkqgk4R0hiTkAwsZB4',
map_text:
'Being part of our British Virgin Islands team gives you the chance to analyse regulatory policies, predict changes in fintech regulations, and formulate plans to make sure our BVI compliance strategies are effective. If you have a passion for law and look for worthy challenges in your career, join us at Deriv (BVI).',
'Being part of our British Virgin Islands team gives you the chance to analyse regulatory policies, predict changes in fintech regulations, and formulate plans to make sure our BVI compliance strategies are effective. If you have a passion for law and look for worthy challenges in your career, join us at Deriv (BVI) Ltd.',
google_map_link: 'https://goo.gl/maps/nNq43TGQNZRRJgar5 ',
address: address_roadtown,
has_iframe: true,
has_map: true,
}

export const jordan: LocationsType = {
Expand Down
150 changes: 104 additions & 46 deletions src/pages/contact_us/_offices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import Singapore from 'images/svg/contact/singapore.svg'
import Jordan from 'images/svg/contact/jordan.svg'
import Vanuatu from 'images/svg/contact/vanuatu.svg'
import UK from 'images/svg/contact/uk.svg'
import Bvi from 'images/svg/contact/bvi.svg'

type GridLayoutProps = {
children?: React.ReactNode | React.ReactChild
Expand Down Expand Up @@ -78,6 +79,9 @@ const query = graphql`
map_uk: file(relativePath: { eq: "maps/map-uk.png" }) {
...fadeIn
}
map_bvi: file(relativePath: { eq: "maps/map-bvi.png" }) {
...fadeIn
}
}
`

Expand Down Expand Up @@ -926,58 +930,112 @@ export const Offices = () => {
</GridLayout>
</FullBorder>
</Flex>
<Flex mt="30px" fd="column" id="paraguay">
<ContinentHeader>
<Localize translate_text="_t_Caribbean_t_" />
</ContinentHeader>
<OfficeHeader>
<div>
<img src={Cayman} alt="Cayman Islands - George Town" />
</div>
<Header as="h4" type="sub-section-title" mt="0.8rem" mb="1.6rem">
<Localize translate_text="_t_Cayman Islands_t_" />
</Header>
</OfficeHeader>
</Flex>
<Flex max_width="48.6rem">
<BorderBox>
<MapContainer>
<LocalizedLink
<ContinentHeader>
<Localize translate_text="_t_Caribbean_t_" />
</ContinentHeader>
<GridLayout>
<Flex mt="30px" fd="column" max_width="48.6rem" id="cayman">
<OfficeHeader>
<div>
<img src={Cayman} alt="Cayman Islands - George Town" />
</div>
<Header as="h4" type="sub-section-title" mt="0.8rem" mb="1.6rem">
<Localize translate_text="_t_Cayman Islands_t_" />
</Header>
</OfficeHeader>
<BorderBox>
<MapContainer>
<LocalizedLink
to="https://goo.gl/maps/4bg5B7dkvUv5Pa11A"
external
target="_blank"
rel="noopener noreferrer"
>
<QueryImage
alt="Deriv's office location map in Cayman"
data={data['map_cayman']}
height="100%"
/>
</LocalizedLink>
</MapContainer>
<LocalizedLinkText
to="https://goo.gl/maps/4bg5B7dkvUv5Pa11A"
external
target="_blank"
rel="noopener noreferrer"
mt="0.8rem"
ml="1.6rem"
>
<QueryImage
alt="Deriv's office location map in Cayman"
data={data['map_cayman']}
height="100%"
<Desktop>
<p>Cayman Enterprise City,</p>
<p>Strathvale House, 2nd Floor, 90N</p>
<p>Church St, George Town, Cayman</p>
<p>Islands</p>
</Desktop>
<Mobile>
<StyledMobileAddress>
Cayman Enterprise City, Strathvale House, 2nd Floor, 90
N Church St, George Town, Cayman Islands
</StyledMobileAddress>
</Mobile>
</LocalizedLinkText>
</BorderBox>
</Flex>
<Flex mt="30px" fd="column" max_width="48.6rem" id="bvi">
<OfficeHeader>
<div>
<img
src={Bvi}
width={'64px'}
height={'64px'}
alt="British Virgin Islands"
/>
</LocalizedLink>
</MapContainer>
<LocalizedLinkText
to="https://goo.gl/maps/4bg5B7dkvUv5Pa11A"
external
target="_blank"
rel="noopener noreferrer"
mt="0.8rem"
ml="1.6rem"
>
<Desktop>
<p>Cayman Enterprise City,</p>
<p>Strathvale House, 2nd Floor, 90N</p>
<p>Church St, George Town, Cayman</p>
<p>Islands</p>
</Desktop>
<Mobile>
<StyledMobileAddress>
Cayman Enterprise City, Strathvale House, 2nd Floor, 90 N
Church St, George Town, Cayman Islands
</StyledMobileAddress>
</Mobile>
</LocalizedLinkText>
</BorderBox>
</Flex>
</div>
<Header as="h4" type="sub-section-title" mt="0.8rem" mb="1.6rem">
<Localize translate_text="_t_British Virgin Islands_t_" />
</Header>
</OfficeHeader>
<BorderBox>
<MapContainer>
<LocalizedLink
to=" https://goo.gl/maps/nNq43TGQNZRRJgar5"
external
target="_blank"
rel="noopener noreferrer"
>
<QueryImage
alt="Deriv's office location map in British Virgin Islands"
data={data['map_bvi']}
height="100%"
/>
</LocalizedLink>
</MapContainer>
<LocalizedLinkText
to=" https://goo.gl/maps/nNq43TGQNZRRJgar5"
external
target="_blank"
rel="noopener noreferrer"
mt="0.8rem"
ml="1.6rem"
>
<Desktop>
<p>
2nd Floor, Suite 2, Omar Hodge Building, 325 Waterfront
Drive, Road Town, Tortola, VG 1110, British Virgin
Islands
</p>
</Desktop>
<Mobile>
<StyledMobileAddress>
2nd Floor, Suite 2, Omar Hodge Building, 325 Waterfront
Drive, Road Town, Tortola, VG 1110, British Virgin
Islands
</StyledMobileAddress>
</Mobile>
</LocalizedLinkText>
</BorderBox>
</Flex>
</GridLayout>
<Flex mt="30px" fd="column" id="vanuatu">
<ContinentHeader>
<Localize translate_text="_t_Oceania_t_" />
Expand Down
Loading

0 comments on commit 5a11f83

Please sign in to comment.