aboutsummaryrefslogblamecommitdiffstats
path: root/packages/website/ts/pages/jobs/photo_rail.tsx
blob: acc9dcb91ac67c397842d712b2ce64de978ec3fd (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                               
                                                            





                                                     
            

                                                          








                                                                                                                
import * as _ from 'lodash';
import * as React from 'react';

import { FilledImage } from 'ts/components/ui/filled_image';

export interface PhotoRailProps {
    images: string[];
}

export const PhotoRail = (props: PhotoRailProps) => {
    return (
        <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} />
                    </div>
                );
            })}
        </div>
    );
};