aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/jobs/photo_rail.tsx
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-06-09 06:27:11 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-06-13 01:41:08 +0800
commit087aaa2f948391da70a4d5b53b8e7e301288ab5f (patch)
tree634ee997f095ba200dc64ea21c063c7714541fd9 /packages/website/ts/pages/jobs/photo_rail.tsx
parent474b93a22f9545fe9bcabe5a80e6a057e66ab286 (diff)
downloaddexon-0x-contracts-087aaa2f948391da70a4d5b53b8e7e301288ab5f.tar
dexon-0x-contracts-087aaa2f948391da70a4d5b53b8e7e301288ab5f.tar.gz
dexon-0x-contracts-087aaa2f948391da70a4d5b53b8e7e301288ab5f.tar.bz2
dexon-0x-contracts-087aaa2f948391da70a4d5b53b8e7e301288ab5f.tar.lz
dexon-0x-contracts-087aaa2f948391da70a4d5b53b8e7e301288ab5f.tar.xz
dexon-0x-contracts-087aaa2f948391da70a4d5b53b8e7e301288ab5f.tar.zst
dexon-0x-contracts-087aaa2f948391da70a4d5b53b8e7e301288ab5f.zip
Polish mission section and photo section
Diffstat (limited to 'packages/website/ts/pages/jobs/photo_rail.tsx')
-rw-r--r--packages/website/ts/pages/jobs/photo_rail.tsx14
1 files changed, 10 insertions, 4 deletions
diff --git a/packages/website/ts/pages/jobs/photo_rail.tsx b/packages/website/ts/pages/jobs/photo_rail.tsx
index a5ccfb25f..bcc3444ec 100644
--- a/packages/website/ts/pages/jobs/photo_rail.tsx
+++ b/packages/website/ts/pages/jobs/photo_rail.tsx
@@ -2,12 +2,18 @@ import * as _ from 'lodash';
import * as React from 'react';
import { FilledImage } from 'ts/pages/jobs/filled_image';
+import { ScreenWidths } from 'ts/types';
-export const PhotoRail = () => {
- const images = ['/images/jobs/office1.png', '/images/jobs/office2.png', '/images/jobs/office3.png'];
+const IMAGE_PATHS = ['/images/jobs/office1.png', '/images/jobs/office2.png', '/images/jobs/office3.png'];
+
+export interface PhotoRailProps {
+ images: string[];
+}
+
+export const PhotoRail = (props: PhotoRailProps) => {
return (
- <div className="clearfix" style={{ height: 491 }}>
- {_.map(images, (image: string) => {
+ <div className="clearfix" style={{ height: 490 }}>
+ {_.map(props.images, (image: string) => {
return (
<div key={image} className="col lg-col-4 md-col-4 col-12 center" style={{ height: '100%' }}>
<FilledImage src={image} />