aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/hero.tsx
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2019-01-10 04:12:05 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2019-01-11 09:41:13 +0800
commit89e398fa39fd14c9fd4a467fdd039920fb28a420 (patch)
tree95a50e9d5c151d66f155de77d08cc203f250cccf /packages/website/ts/components/hero.tsx
parent53fc860d6190c19f13c451eb89dd5c0c1cdcd1f4 (diff)
downloaddexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.tar
dexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.tar.gz
dexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.tar.bz2
dexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.tar.lz
dexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.tar.xz
dexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.tar.zst
dexon-0x-contracts-89e398fa39fd14c9fd4a467fdd039920fb28a420.zip
Update prettier to version ^1.15.3
Diffstat (limited to 'packages/website/ts/components/hero.tsx')
-rw-r--r--packages/website/ts/components/hero.tsx15
1 files changed, 3 insertions, 12 deletions
diff --git a/packages/website/ts/components/hero.tsx b/packages/website/ts/components/hero.tsx
index a662ee3a5..c326e0292 100644
--- a/packages/website/ts/components/hero.tsx
+++ b/packages/website/ts/components/hero.tsx
@@ -28,10 +28,7 @@ interface WrapProps {
isFullWidth?: boolean;
isCenteredMobile?: boolean;
}
-const Wrap =
- styled.div <
- WrapProps >
- `
+const Wrap = styled.div<WrapProps>`
width: calc(100% - 60px);
margin: 0 auto;
@@ -53,10 +50,7 @@ interface TitleProps {
isLarge?: any;
maxWidth?: string;
}
-const Title =
- styled.h1 <
- TitleProps >
- `
+const Title = styled.h1<TitleProps>`
font-size: ${props => (props.isLarge ? '80px' : '50px')};
font-weight: 300;
line-height: 1.1;
@@ -87,10 +81,7 @@ const Description = styled.p`
}
`;
-const Content =
- styled.div <
- { width: string } >
- `
+const Content = styled.div<{ width: string }>`
width: 100%;
@media (min-width: 768px) {