From 474b93a22f9545fe9bcabe5a80e6a057e66ab286 Mon Sep 17 00:00:00 2001
From: Brandon Millman <brandon.millman@gmail.com>
Date: Fri, 8 Jun 2018 13:27:41 -0700
Subject: Add link to open positions section

---
 packages/website/ts/pages/jobs/jobs.tsx | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

(limited to 'packages/website/ts/pages/jobs/jobs.tsx')

diff --git a/packages/website/ts/pages/jobs/jobs.tsx b/packages/website/ts/pages/jobs/jobs.tsx
index c7c667da1..466926af0 100644
--- a/packages/website/ts/pages/jobs/jobs.tsx
+++ b/packages/website/ts/pages/jobs/jobs.tsx
@@ -1,4 +1,4 @@
-import { colors } from '@0xproject/react-shared';
+import { colors, utils as sharedUtils } from '@0xproject/react-shared';
 import * as React from 'react';
 import * as DocumentTitle from 'react-document-title';
 
@@ -23,6 +23,8 @@ export interface JobsProps {
 
 export interface JobsState {}
 
+const OPEN_POSITIONS_HASH = 'positions';
+
 export class Jobs extends React.Component<JobsProps, JobsState> {
     public componentDidMount(): void {
         window.scrollTo(0, 0);
@@ -37,15 +39,18 @@ export class Jobs extends React.Component<JobsProps, JobsState> {
                     style={{ backgroundColor: colors.white, position: 'relative' }}
                     translate={this.props.translate}
                 />
-                <Join0x />
+                <Join0x onCallToActionClick={this._onJoin0xCallToActionClick.bind(this)} />
                 <Mission />
                 <PhotoRail />
                 <Values />
                 <Benefits />
                 <Teams />
-                <OpenPositions />
+                <OpenPositions hash={OPEN_POSITIONS_HASH} />
                 <Footer translate={this.props.translate} dispatcher={this.props.dispatcher} />
             </div>
         );
     }
+    private _onJoin0xCallToActionClick(): void {
+        sharedUtils.setUrlHash(OPEN_POSITIONS_HASH);
+    }
 }
-- 
cgit v1.2.3

