aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-08-31 06:26:03 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-08-31 06:26:03 +0800
commitc64f0ba34bfdaccc23cbddb5f21e20f7d2e25668 (patch)
tree9faebd980529e480a645027f4c90a8777307aacd /packages/website/ts
parent6deffb6b28b67c632e63ce925cbf2f333f9c4a1d (diff)
downloaddexon-sol-tools-c64f0ba34bfdaccc23cbddb5f21e20f7d2e25668.tar.gz
dexon-sol-tools-c64f0ba34bfdaccc23cbddb5f21e20f7d2e25668.tar.zst
dexon-sol-tools-c64f0ba34bfdaccc23cbddb5f21e20f7d2e25668.zip
Tweaks to benefits and use cases
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/pages/landing/landing.tsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/website/ts/pages/landing/landing.tsx b/packages/website/ts/pages/landing/landing.tsx
index 85e30a9fa..7dfd9c9df 100644
--- a/packages/website/ts/pages/landing/landing.tsx
+++ b/packages/website/ts/pages/landing/landing.tsx
@@ -22,6 +22,7 @@ interface BoxContent {
description: string;
imageUrl: string;
classNames: string;
+ maxWidth: number;
}
interface AssetType {
title: string;
@@ -399,18 +400,21 @@ export class Landing extends React.Component<LandingProps, LandingState> {
description: this.props.translate.get(Key.BenefitOneDescription, Deco.Cap),
imageUrl: '/images/landing/distributed_network.png',
classNames: '',
+ maxWidth: 160,
},
{
title: this.props.translate.get(Key.BenefitTwoTitle, Deco.Cap),
description: this.props.translate.get(Key.BenefitTwoDescription, Deco.Cap),
imageUrl: '/images/landing/liquidity.png',
classNames: 'mx-auto',
+ maxWidth: 160,
},
{
title: this.props.translate.get(Key.BenefitThreeTitle, Deco.Cap),
description: this.props.translate.get(Key.BenefitThreeDescription, Deco.Cap),
imageUrl: '/images/landing/exchange_everywhere.png',
classNames: 'right',
+ maxWidth: 130,
},
];
const boxes = _.map(boxContents, (boxContent: BoxContent) => {
@@ -421,7 +425,7 @@ export class Landing extends React.Component<LandingProps, LandingState> {
<img
className="mx-auto"
src={boxContent.imageUrl}
- style={{ height: 'auto', maxWidth: 160 }}
+ style={{ height: 'auto', maxWidth: boxContent.maxWidth }}
/>
</Container>
<div className="h3" style={{ color: 'black', fontFamily: 'Roboto Mono' }}>
@@ -565,7 +569,7 @@ export class Landing extends React.Component<LandingProps, LandingState> {
lineHeight: 1.5,
fontSize: 14,
overflow: 'hidden',
- height: 104,
+ height: 124,
}}
>
{useCase.description}