aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/jobs
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-06-13 04:40:15 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-06-13 04:40:15 +0800
commitf1496656607bc2b382b8f378652a2e334f4a5908 (patch)
tree7fe059fdbf9cb190f5553b1686d7f37c2c031520 /packages/website/ts/pages/jobs
parente3bb64cf358d293a6d30297013af1ff908bf0d45 (diff)
downloaddexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.tar
dexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.tar.gz
dexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.tar.bz2
dexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.tar.lz
dexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.tar.xz
dexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.tar.zst
dexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.zip
Fix lint errors
Diffstat (limited to 'packages/website/ts/pages/jobs')
-rw-r--r--packages/website/ts/pages/jobs/jobs.tsx1
-rw-r--r--packages/website/ts/pages/jobs/mission.tsx6
-rw-r--r--packages/website/ts/pages/jobs/open_positions.tsx9
-rw-r--r--packages/website/ts/pages/jobs/photo_rail.tsx3
-rw-r--r--packages/website/ts/pages/jobs/teams.tsx1
-rw-r--r--packages/website/ts/pages/jobs/values.tsx1
6 files changed, 11 insertions, 10 deletions
diff --git a/packages/website/ts/pages/jobs/jobs.tsx b/packages/website/ts/pages/jobs/jobs.tsx
index 9fd305972..c23b4a976 100644
--- a/packages/website/ts/pages/jobs/jobs.tsx
+++ b/packages/website/ts/pages/jobs/jobs.tsx
@@ -15,7 +15,6 @@ import { Teams } from 'ts/pages/jobs/teams';
import { Values } from 'ts/pages/jobs/values';
import { Dispatcher } from 'ts/redux/dispatcher';
import { ScreenWidths } from 'ts/types';
-import { constants } from 'ts/utils/constants';
import { Translate } from 'ts/utils/translate';
import { utils } from 'ts/utils/utils';
diff --git a/packages/website/ts/pages/jobs/mission.tsx b/packages/website/ts/pages/jobs/mission.tsx
index b4d294623..f7f874e04 100644
--- a/packages/website/ts/pages/jobs/mission.tsx
+++ b/packages/website/ts/pages/jobs/mission.tsx
@@ -1,6 +1,5 @@
import * as React from 'react';
-import { FilledImage } from 'ts/pages/jobs/filled_image';
import { colors } from 'ts/style/colors';
import { ScreenWidths } from 'ts/types';
@@ -35,7 +34,10 @@ export const Mission = (props: MissionProps) => {
</div>
);
return (
- <div className="container lg-py4 md-py4" style={{ backgroundColor: colors.jobsPageBackground, color: colors.black }}>
+ <div
+ className="container lg-py4 md-py4"
+ style={{ backgroundColor: colors.jobsPageBackground, color: colors.black }}
+ >
<div className="mx-auto clearfix sm-py4">
{isSmallScreen ? (
<div>
diff --git a/packages/website/ts/pages/jobs/open_positions.tsx b/packages/website/ts/pages/jobs/open_positions.tsx
index f6dbc38a0..c43cc43fe 100644
--- a/packages/website/ts/pages/jobs/open_positions.tsx
+++ b/packages/website/ts/pages/jobs/open_positions.tsx
@@ -13,7 +13,7 @@ import { backendClient } from 'ts/utils/backend_client';
const labelStyle = { fontFamily: 'Roboto Mono', fontSize: 18 };
const HEADER_TEXT = 'Open Positions';
-const LIST_ITEM_MIN_HEIGHT = 80;
+const TABLE_ROW_MIN_HEIGHT = 100;
export interface OpenPositionsProps {
hash: string;
@@ -108,7 +108,12 @@ export class OpenPositions extends React.Component<OpenPositionsProps, OpenPosit
}
private _renderJobInfoTableRow(jobInfo: WebsiteBackendJobInfo): React.ReactNode {
return (
- <TableRow key={jobInfo.id} hoverable={true} displayBorder={false} style={{ height: 100, border: 2 }}>
+ <TableRow
+ key={jobInfo.id}
+ hoverable={true}
+ displayBorder={false}
+ style={{ height: TABLE_ROW_MIN_HEIGHT, border: 2 }}
+ >
<TableRowColumn colSpan={5} style={labelStyle}>
{jobInfo.title}
</TableRowColumn>
diff --git a/packages/website/ts/pages/jobs/photo_rail.tsx b/packages/website/ts/pages/jobs/photo_rail.tsx
index bcc3444ec..4db4bc31b 100644
--- a/packages/website/ts/pages/jobs/photo_rail.tsx
+++ b/packages/website/ts/pages/jobs/photo_rail.tsx
@@ -2,9 +2,6 @@ import * as _ from 'lodash';
import * as React from 'react';
import { FilledImage } from 'ts/pages/jobs/filled_image';
-import { ScreenWidths } from 'ts/types';
-
-const IMAGE_PATHS = ['/images/jobs/office1.png', '/images/jobs/office2.png', '/images/jobs/office3.png'];
export interface PhotoRailProps {
images: string[];
diff --git a/packages/website/ts/pages/jobs/teams.tsx b/packages/website/ts/pages/jobs/teams.tsx
index dcb457d06..d5960949a 100644
--- a/packages/website/ts/pages/jobs/teams.tsx
+++ b/packages/website/ts/pages/jobs/teams.tsx
@@ -1,4 +1,3 @@
-import { colors } from '@0xproject/react-shared';
import * as _ from 'lodash';
import * as React from 'react';
diff --git a/packages/website/ts/pages/jobs/values.tsx b/packages/website/ts/pages/jobs/values.tsx
index abacafdba..799db3d67 100644
--- a/packages/website/ts/pages/jobs/values.tsx
+++ b/packages/website/ts/pages/jobs/values.tsx
@@ -1,4 +1,3 @@
-import { colors } from '@0xproject/react-shared';
import * as _ from 'lodash';
import * as React from 'react';