aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/hero.tsx
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-14 01:44:18 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-14 01:44:18 +0800
commitac1786585e24528e34f61a3edc63ad4605cf015a (patch)
tree5f1a4d01ef5621d0ad17ff71d29299d56a16d04e /packages/website/ts/@next/components/hero.tsx
parentf4a95c295c427c00a5cb2df83ad145886a9d1bf4 (diff)
downloaddexon-sol-tools-ac1786585e24528e34f61a3edc63ad4605cf015a.tar
dexon-sol-tools-ac1786585e24528e34f61a3edc63ad4605cf015a.tar.gz
dexon-sol-tools-ac1786585e24528e34f61a3edc63ad4605cf015a.tar.bz2
dexon-sol-tools-ac1786585e24528e34f61a3edc63ad4605cf015a.tar.lz
dexon-sol-tools-ac1786585e24528e34f61a3edc63ad4605cf015a.tar.xz
dexon-sol-tools-ac1786585e24528e34f61a3edc63ad4605cf015a.tar.zst
dexon-sol-tools-ac1786585e24528e34f61a3edc63ad4605cf015a.zip
[WIP] cleanup, typing
Diffstat (limited to 'packages/website/ts/@next/components/hero.tsx')
-rw-r--r--packages/website/ts/@next/components/hero.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/@next/components/hero.tsx b/packages/website/ts/@next/components/hero.tsx
index 9ba67df91..1ccef77d0 100644
--- a/packages/website/ts/@next/components/hero.tsx
+++ b/packages/website/ts/@next/components/hero.tsx
@@ -46,7 +46,7 @@ const Section = styled.section`
}
`;
-const Wrap = styled.div`
+const Wrap = styled.div<{ isCentered?: boolean }>`
width: calc(100% - 60px);
margin: 0 auto;
@@ -64,7 +64,7 @@ const Wrap = styled.div`
}
`;
-const Title = styled.h1`
+const Title = styled.h1<{ isLarge?: any }>`
font-size: ${props => props.isLarge ? '80px' : '58px'};
font-weight: 300;
line-height: 1.1;
@@ -93,7 +93,7 @@ const Description = styled.p`
}
`;
-const Content = styled.div`
+const Content = styled.div<{ width: string }>`
width: 100%;
@media (min-width: 768px) {