diff options
Diffstat (limited to 'packages/website/ts/pages/jobs/photo_rail.tsx')
-rw-r--r-- | packages/website/ts/pages/jobs/photo_rail.tsx | 14 |
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} /> |