aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-30 06:02:58 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-31 02:48:49 +0800
commit365890291f80a0580c8306c8aa498e64da7f86be (patch)
tree97a801eaff96e12a9755182a207d059bb443ad2c
parent0368de701fa2443a2537d5ea6cb35bdce1ade638 (diff)
downloaddexon-sol-tools-365890291f80a0580c8306c8aa498e64da7f86be.tar
dexon-sol-tools-365890291f80a0580c8306c8aa498e64da7f86be.tar.gz
dexon-sol-tools-365890291f80a0580c8306c8aa498e64da7f86be.tar.bz2
dexon-sol-tools-365890291f80a0580c8306c8aa498e64da7f86be.tar.lz
dexon-sol-tools-365890291f80a0580c8306c8aa498e64da7f86be.tar.xz
dexon-sol-tools-365890291f80a0580c8306c8aa498e64da7f86be.tar.zst
dexon-sol-tools-365890291f80a0580c8306c8aa498e64da7f86be.zip
Add generic title changes
-rw-r--r--packages/website/ts/pages/landing/landing.tsx24
1 files changed, 7 insertions, 17 deletions
diff --git a/packages/website/ts/pages/landing/landing.tsx b/packages/website/ts/pages/landing/landing.tsx
index 0aa9693a4..72f6bdc9c 100644
--- a/packages/website/ts/pages/landing/landing.tsx
+++ b/packages/website/ts/pages/landing/landing.tsx
@@ -173,26 +173,16 @@ export class Landing extends React.Component<LandingProps, LandingState> {
lineHeight: '36px',
}}
>
- <div
+ <Text
className="sm-pb2"
- style={{
- fontFamily: 'Roboto Mono',
- fontSize: isSmallScreen ? 26 : 34,
- }}
+ fontFamily="Roboto"
+ fontColor={colors.grey300}
+ fontWeight={500}
+ lineHeight="1.2em"
+ fontSize={isSmallScreen ? '28px' : '36px'}
>
{this.props.translate.get(Key.TopHeader, Deco.Cap)}
- </div>
- <div
- className="pt2 h5 sm-mx-auto"
- style={{
- maxWidth: 446,
- fontFamily: 'Roboto Mono',
- lineHeight: 1.7,
- fontWeight: 300,
- }}
- >
- {this.props.translate.get(Key.TopTagline)}
- </div>
+ </Text>
<Container className="pt3 clearfix sm-mx-auto" maxWidth="390px">
<div className="lg-pr2 md-pr2 lg-col lg-col-6 sm-center sm-col sm-col-12 mb2">
<Link to={WebsitePaths.ZeroExJs} className="text-decoration-none">