diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-12-21 08:32:00 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-12-21 08:32:00 +0800 |
commit | ea781b8850cda274d24e4cc5f196dfb7e5b37732 (patch) | |
tree | 4d34321adf0bebe9d1b8a65815dc053b485dbf14 /packages/website/ts/pages/instant/introducing_0x_instant.tsx | |
parent | ba7c8d924429a96f6d2b3280faa6b508b582f557 (diff) | |
download | dexon-sol-tools-ea781b8850cda274d24e4cc5f196dfb7e5b37732.tar dexon-sol-tools-ea781b8850cda274d24e4cc5f196dfb7e5b37732.tar.gz dexon-sol-tools-ea781b8850cda274d24e4cc5f196dfb7e5b37732.tar.bz2 dexon-sol-tools-ea781b8850cda274d24e4cc5f196dfb7e5b37732.tar.lz dexon-sol-tools-ea781b8850cda274d24e4cc5f196dfb7e5b37732.tar.xz dexon-sol-tools-ea781b8850cda274d24e4cc5f196dfb7e5b37732.tar.zst dexon-sol-tools-ea781b8850cda274d24e4cc5f196dfb7e5b37732.zip |
feat: remove unused files
Diffstat (limited to 'packages/website/ts/pages/instant/introducing_0x_instant.tsx')
-rw-r--r-- | packages/website/ts/pages/instant/introducing_0x_instant.tsx | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/packages/website/ts/pages/instant/introducing_0x_instant.tsx b/packages/website/ts/pages/instant/introducing_0x_instant.tsx deleted file mode 100644 index da3f09faa..000000000 --- a/packages/website/ts/pages/instant/introducing_0x_instant.tsx +++ /dev/null @@ -1,57 +0,0 @@ -import * as React from 'react'; - -import { Button } from 'ts/components/ui/button'; -import { Container } from 'ts/components/ui/container'; -import { Text } from 'ts/components/ui/text'; -import { colors } from 'ts/style/colors'; -import { ScreenWidths } from 'ts/types'; - -export interface Introducing0xInstantProps { - screenWidth: ScreenWidths; - onCTAClick: () => void; -} - -export const Introducing0xInstant = (props: Introducing0xInstantProps) => { - const isSmallScreen = props.screenWidth === ScreenWidths.Sm; - const zero = ( - <Text fontColor={colors.white} fontSize="42px" fontWeight="600" fontFamily="Roboto Mono" Tag="span"> - 0 - </Text> - ); - const title = isSmallScreen ? ( - <div> - Introducing<br /> - {zero}x Instant - </div> - ) : ( - <div>Introducing {zero}x Instant</div> - ); - return ( - <div className="clearfix center lg-pt4 md-pt4" style={{ backgroundColor: colors.instantPrimaryBackground }}> - <div className="mx-auto inline-block align-middle py4" style={{ lineHeight: '44px', textAlign: 'center' }}> - <Container className="sm-center sm-pt3"> - <Text fontColor={colors.white} fontSize="42px" lineHeight="52px" fontWeight="600"> - {title} - </Text> - </Container> - <Container className="pb2 lg-pt2 md-pt2 sm-pt3 sm-px3 sm-center" maxWidth="600px"> - <Text fontColor={colors.grey500} fontSize="20px" lineHeight="32px" fontFamily="Roboto Mono"> - A free and flexible way to offer simple crypto - <br /> purchasing in any app or website. - </Text> - </Container> - <div className="py3"> - <Button - type="button" - backgroundColor={colors.mediumBlue} - fontColor={colors.white} - fontSize="18px" - onClick={props.onCTAClick} - > - Get Started - </Button> - </div> - </div> - </div> - ); -}; |