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

Commit

Permalink
Agrim/DERC-2530/ eu platform links (#7705)
Browse files Browse the repository at this point in the history
* fix: eu careers footer

* fix: empty commit

---------

Co-authored-by: Agrim Jain <[email protected]>
  • Loading branch information
agrim-deriv and Agrim Jain authored May 6, 2024
1 parent f22aa85 commit e415104
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import { SEO } from 'components/containers'
import { WithIntl } from 'components/localization'
import { TGatsbyHead } from 'features/types'

const Career2 = () => {
return <DepartmentPage data={career_data.marketing[0]} />
const Career2 = ({pageContext}: TGatsbyHead) => {
const {region} = pageContext
return <DepartmentPage region={region} data={career_data.marketing[0]} />
}

export default WithIntl()(Career2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import { SEO } from 'components/containers'
import { WithIntl } from 'components/localization'
import { TGatsbyHead } from 'features/types'

const Career2 = () => {
return <DepartmentPage data={career_data.payments[0]} />
const Career2 = ({pageContext}: TGatsbyHead) => {
const {region} = pageContext
return <DepartmentPage region={region} data={career_data.payments[0]} />
}

export default WithIntl()(Career2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import { SEO } from 'components/containers'
import { WithIntl } from 'components/localization'
import { TGatsbyHead } from 'features/types'

const Career2 = () => {
return <DepartmentPage data={career_data.product[0]} />
const Career2 = ({pageContext}: TGatsbyHead) => {
const {region} = pageContext
return <DepartmentPage region={region} data={career_data.product[0]} />
}

export default WithIntl()(Career2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import { SEO } from 'components/containers'
import { WithIntl } from 'components/localization'
import { TGatsbyHead } from 'features/types'

const Career2 = () => {
return <DepartmentPage data={career_data.pm[0]} />
const Career2 = ({pageContext}: TGatsbyHead) => {
const {region} = pageContext
return <DepartmentPage region={region} data={career_data.pm[0]} />
}

export default WithIntl()(Career2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import { SEO } from 'components/containers'
import { WithIntl } from 'components/localization'
import { TGatsbyHead } from 'features/types'

const Career2 = () => {
return <DepartmentPage data={career_data.software_testing[0]} />
const Career2 = ({pageContext}: TGatsbyHead) => {
const {region} = pageContext
return <DepartmentPage region={region} data={career_data.software_testing[0]} />
}

export default WithIntl()(Career2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import { SEO } from 'components/containers'
import { WithIntl } from 'components/localization'
import { TGatsbyHead } from 'features/types'

const Career2 = () => {
return <DepartmentPage data={career_data.trading_operations[0]} />
const Career2 = ({pageContext}: TGatsbyHead) => {
const {region} = pageContext
return <DepartmentPage region={region} data={career_data.trading_operations[0]} />
}

export default WithIntl()(Career2)
Expand Down

0 comments on commit e415104

Please sign in to comment.