diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-15 01:56:53 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-15 01:56:53 +0800 |
commit | 96cb278caed79961be08e9145cbd59e91e12d9a4 (patch) | |
tree | aefc852746bbb794dc1e2b5217524462d18d1979 /packages/website | |
parent | 51777ed61dfdf9586cc6beddc286678d0af56b9b (diff) | |
download | dexon-0x-contracts-96cb278caed79961be08e9145cbd59e91e12d9a4.tar.gz dexon-0x-contracts-96cb278caed79961be08e9145cbd59e91e12d9a4.tar.zst dexon-0x-contracts-96cb278caed79961be08e9145cbd59e91e12d9a4.zip |
Cleanup
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/@next/pages/instant/config_generator_address_input.tsx | 6 | ||||
-rw-r--r-- | packages/website/ts/@next/pages/launch_kit.tsx | 35 |
2 files changed, 3 insertions, 38 deletions
diff --git a/packages/website/ts/@next/pages/instant/config_generator_address_input.tsx b/packages/website/ts/@next/pages/instant/config_generator_address_input.tsx index 01453d445..23cdfcf7f 100644 --- a/packages/website/ts/@next/pages/instant/config_generator_address_input.tsx +++ b/packages/website/ts/@next/pages/instant/config_generator_address_input.tsx @@ -6,7 +6,7 @@ import styled from 'styled-components'; import { colors } from 'ts/style/colors'; import { Container } from 'ts/components/ui/container'; -import { Text } from 'ts/components/ui/text'; + import { Paragraph } from 'ts/@next/components/text'; export interface ConfigGeneratorAddressInputProps { @@ -24,7 +24,6 @@ export interface InputProps { width?: string; fontSize?: string; fontColor?: string; - border?: string; padding?: string; placeholderColor?: string; placeholder?: string; @@ -42,7 +41,6 @@ export class ConfigGeneratorAddressInput extends React.Component< public render(): React.ReactNode { const { errMsg } = this.state; const hasError = !_.isEmpty(errMsg); - const border = hasError ? '1px solid red' : undefined; return ( <Container height="80px"> <Input @@ -87,4 +85,4 @@ export const Input = styled(PlainInput)` color: #333333; opacity: 0.5; } -`;
\ No newline at end of file +`; diff --git a/packages/website/ts/@next/pages/launch_kit.tsx b/packages/website/ts/@next/pages/launch_kit.tsx index 74c620cf4..e02eac644 100644 --- a/packages/website/ts/@next/pages/launch_kit.tsx +++ b/packages/website/ts/@next/pages/launch_kit.tsx @@ -1,6 +1,5 @@ import * as _ from 'lodash'; import * as React from 'react'; -import AnchorLink from 'react-anchor-link-smooth-scroll'; import styled from 'styled-components'; import {Hero} from 'ts/@next/components/hero'; @@ -10,7 +9,7 @@ import { Button } from 'ts/@next/components/button'; import { Icon } from 'ts/@next/components/icon'; import { SiteWrap } from 'ts/@next/components/siteWrap'; -import {Section, WrapSticky} from 'ts/@next/components/newLayout'; +import {Section} from 'ts/@next/components/newLayout'; const offersData = [ { @@ -117,35 +116,3 @@ const HeroActions = () => ( interface SectionProps { isNotRelative?: boolean; } - -const SectionWrap = styled.div<SectionProps>` - position: ${props => !props.isNotRelative && 'relative'}; - - & + & { - padding-top: 60px; - margin-top: 60px; - } - - & + &:before { - content: ''; - position: absolute; - top: 0; - left: 0; - height: 1px; - background-color: #3d3d3d; - } - - @media (min-width: 768px) { - & + &:before { - width: 100vw; - } - } - - @media (max-width: 768px) { - text-align: left; - - & + &:before { - width: 100%; - } - } -`; |