diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-05-10 01:04:28 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-05-10 01:04:28 +0800 |
commit | 09b26645eebb53e8a730f60998fd689c6bb15528 (patch) | |
tree | a193ff2bfb87c341dda84a5f1e72d8ac2d5a77fc /packages/website/ts/components | |
parent | 9f2258ebd962f60dfaa277814a3ead93d1b19ac7 (diff) | |
download | dexon-sol-tools-09b26645eebb53e8a730f60998fd689c6bb15528.tar dexon-sol-tools-09b26645eebb53e8a730f60998fd689c6bb15528.tar.gz dexon-sol-tools-09b26645eebb53e8a730f60998fd689c6bb15528.tar.bz2 dexon-sol-tools-09b26645eebb53e8a730f60998fd689c6bb15528.tar.lz dexon-sol-tools-09b26645eebb53e8a730f60998fd689c6bb15528.tar.xz dexon-sol-tools-09b26645eebb53e8a730f60998fd689c6bb15528.tar.zst dexon-sol-tools-09b26645eebb53e8a730f60998fd689c6bb15528.zip |
Fallback image for relayer grid tile
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r-- | packages/website/ts/components/relayer_index/relayer_grid_tile.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/components/relayer_index/relayer_grid_tile.tsx b/packages/website/ts/components/relayer_index/relayer_grid_tile.tsx index cf2a1f66d..23c5da50b 100644 --- a/packages/website/ts/components/relayer_index/relayer_grid_tile.tsx +++ b/packages/website/ts/components/relayer_index/relayer_grid_tile.tsx @@ -64,11 +64,12 @@ const styles: Styles = { export const RelayerGridTile: React.StatelessComponent<RelayerGridTileProps> = (props: RelayerGridTileProps) => { const link = props.relayerInfo.appUrl || props.relayerInfo.url; + const headerImgUrl = props.relayerInfo.headerImgUrl || '/images/landing/hero_chip_image.png'; return ( <GridTile style={styles.root}> <div style={styles.innerDiv}> <a href={link} target="_blank" style={{ textDecoration: 'none' }}> - <img src={props.relayerInfo.headerImgUrl} style={styles.header} /> + <img src={headerImgUrl} style={styles.header} /> </a> <div style={styles.body}> <div className="py1" style={styles.relayerNameLabel}> |