diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-08-31 03:29:47 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-08-31 03:29:47 +0800 |
commit | e90dbf66f33d7d37ec07803df930a3c955eb4e73 (patch) | |
tree | 2062d01e4d34fbb7ba26aaffa7880386e62db75c /packages | |
parent | 60f1bcf51f0917607582d6027329fd292c7fc251 (diff) | |
download | dexon-sol-tools-e90dbf66f33d7d37ec07803df930a3c955eb4e73.tar dexon-sol-tools-e90dbf66f33d7d37ec07803df930a3c955eb4e73.tar.gz dexon-sol-tools-e90dbf66f33d7d37ec07803df930a3c955eb4e73.tar.bz2 dexon-sol-tools-e90dbf66f33d7d37ec07803df930a3c955eb4e73.tar.lz dexon-sol-tools-e90dbf66f33d7d37ec07803df930a3c955eb4e73.tar.xz dexon-sol-tools-e90dbf66f33d7d37ec07803df930a3c955eb4e73.tar.zst dexon-sol-tools-e90dbf66f33d7d37ec07803df930a3c955eb4e73.zip |
Add new exchange everywhere graphic
Diffstat (limited to 'packages')
-rw-r--r-- | packages/website/public/images/landing/exchange_everywhere.png | bin | 0 -> 7084 bytes | |||
-rw-r--r-- | packages/website/ts/pages/landing/landing.tsx | 12 |
2 files changed, 8 insertions, 4 deletions
diff --git a/packages/website/public/images/landing/exchange_everywhere.png b/packages/website/public/images/landing/exchange_everywhere.png Binary files differnew file mode 100644 index 000000000..e63093929 --- /dev/null +++ b/packages/website/public/images/landing/exchange_everywhere.png diff --git a/packages/website/ts/pages/landing/landing.tsx b/packages/website/ts/pages/landing/landing.tsx index d29abf835..e2b4d8f80 100644 --- a/packages/website/ts/pages/landing/landing.tsx +++ b/packages/website/ts/pages/landing/landing.tsx @@ -410,7 +410,7 @@ export class Landing extends React.Component<LandingProps, LandingState> { { title: this.props.translate.get(Key.BenefitThreeTitle, Deco.Cap), description: this.props.translate.get(Key.BenefitThreeDescription, Deco.Cap), - imageUrl: '/images/landing/open_source.png', // TODO: Update this url + imageUrl: '/images/landing/exchange_everywhere.png', classNames: 'right', }, ]; @@ -418,9 +418,13 @@ export class Landing extends React.Component<LandingProps, LandingState> { return ( <div key={`box-${boxContent.title}`} className="col lg-col-4 md-col-4 col-12 sm-pb4"> <div className={`center sm-mx-auto ${!isSmallScreen && boxContent.classNames}`} style={boxStyle}> - <div> - <img src={boxContent.imageUrl} style={{ height: 210 }} /> - </div> + <Container className="flex items-center" height="210px"> + <img + className="mx-auto" + src={boxContent.imageUrl} + style={{ height: 'auto', maxWidth: 160 }} + /> + </Container> <div className="h3" style={{ color: 'black', fontFamily: 'Roboto Mono' }}> {boxContent.title} </div> |