Skip to content

Commit

Permalink
Ali (Ako)/ Redirect career page to deriv (binary-com#6468)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
Ali(Ako) Hosseini and mamali-fs authored Apr 15, 2021
1 parent 34f7ea2 commit b8d9aa2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions scripts/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ async function compile(page) {
affiliate_password_url: `https://login.binary.com/password-reset.php?lang=${affiliate_language_code}`,
affiliate_email : '[email protected]',
deriv_banner_url : `https://deriv.com/${deriv_language_code}`,
deriv_career_url : 'https://deriv.com/careers',
};

const context = context_builder.buildFor(model);
Expand Down
2 changes: 1 addition & 1 deletion src/templates/_common/_layout/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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') },
]}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/landing_pages/graduate_program.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const GraduateProgram = () => {
</section>

<footer className='center-text primary-bg-color content-inverse-color'>
<p>{('Browse all career opportunities at')} <a className='link' href={it.url_for('careers')} >{it.website_name}</a></p>
<p>{('Browse all career opportunities at')} <a className='link' href={it.deriv_career_url} >{it.website_name}</a></p>
</footer>
</Layout>
);
Expand Down
2 changes: 1 addition & 1 deletion src/templates/static/about/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const Index = () => (
<p>{it.L('Want to be a part of our dynamic culture? Browse all our openings and see where you fit:')}</p>
</div>
<div className='center-element'>
<a className='button' href={it.url_for('careers?anchor=open-positions')}>
<a className='button' href={it.deriv_career_url}>
<span>{it.L('Open positions')}</span>
</a>
</div>
Expand Down

0 comments on commit b8d9aa2

Please sign in to comment.