From b8d9aa2b3ca937ec6a537b22dc2fde807b116600 Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Thu, 15 Apr 2021 13:57:55 +0430 Subject: [PATCH] Ali (Ako)/ Redirect career page to deriv (#6468) * static career page config removed * career link redirected to deriv career page * useless career page removed * deriv career page link added as a universal variable * the old career page kept for future use Co-authored-by: reza-fs <53177016+reza-fs@users.noreply.github.com> --- scripts/render.js | 1 + src/templates/_common/_layout/footer.jsx | 2 +- src/templates/landing_pages/graduate_program.jsx | 2 +- src/templates/static/about/index.jsx | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/render.js b/scripts/render.js index 0316669f88109..14eaf77b0f2df 100755 --- a/scripts/render.js +++ b/scripts/render.js @@ -252,6 +252,7 @@ async function compile(page) { affiliate_password_url: `https://login.binary.com/password-reset.php?lang=${affiliate_language_code}`, affiliate_email : 'partners@binary.com', deriv_banner_url : `https://deriv.com/${deriv_language_code}`, + deriv_career_url : 'https://deriv.com/careers', }; const context = context_builder.buildFor(model); diff --git a/src/templates/_common/_layout/footer.jsx b/src/templates/_common/_layout/footer.jsx index a271e465f6fec..3a85914d140e9 100644 --- a/src/templates/_common/_layout/footer.jsx +++ b/src/templates/_common/_layout/footer.jsx @@ -50,7 +50,7 @@ const Footer = () => ( { text: it.L('About Us'), href: it.url_for('about-us') }, { text: it.L('Group History'), href: it.url_for('group-history') }, { text: it.L('Binary.com in Numbers'), href: it.url_for('binary-in-numbers') }, - { text: it.L('Careers'), href: it.url_for('careers') }, + { text: it.L('Careers'), href: it.deriv_career_url }, { text: it.L('Patents'), href: it.url_for('legal/us_patents') }, { text: it.L('Contact Us'), href: it.url_for('contact') }, ]} diff --git a/src/templates/landing_pages/graduate_program.jsx b/src/templates/landing_pages/graduate_program.jsx index 1fe1168e557b9..d6589d0796119 100644 --- a/src/templates/landing_pages/graduate_program.jsx +++ b/src/templates/landing_pages/graduate_program.jsx @@ -210,7 +210,7 @@ const GraduateProgram = () => { ); diff --git a/src/templates/static/about/index.jsx b/src/templates/static/about/index.jsx index 68da2cb846d34..7d6143fc5274f 100644 --- a/src/templates/static/about/index.jsx +++ b/src/templates/static/about/index.jsx @@ -99,7 +99,7 @@ const Index = () => (

{it.L('Want to be a part of our dynamic culture? Browse all our openings and see where you fit:')}

- + {it.L('Open positions')}