diff options
Diffstat (limited to 'packages')
9 files changed, 9 insertions, 31 deletions
diff --git a/packages/website/ts/@next/components/modals/input.tsx b/packages/website/ts/@next/components/modals/input.tsx index c6f0f8c36..33dfb1146 100644 --- a/packages/website/ts/@next/components/modals/input.tsx +++ b/packages/website/ts/@next/components/modals/input.tsx @@ -1,8 +1,6 @@ import * as React from 'react'; import styled from 'styled-components'; -import { colors } from 'ts/style/colors'; - export enum InputWidth { Half, Full, @@ -15,10 +13,6 @@ interface InputProps { type?: string; } -interface LabelProps { - string: boolean; -} - export const Input = React.forwardRef((props: InputProps, ref) => { const { name, label, type } = props; const id = `input-${name}`; diff --git a/packages/website/ts/@next/pages/about/jobs.tsx b/packages/website/ts/@next/pages/about/jobs.tsx index 3ed05083e..c0279b63e 100644 --- a/packages/website/ts/@next/pages/about/jobs.tsx +++ b/packages/website/ts/@next/pages/about/jobs.tsx @@ -3,9 +3,8 @@ import * as React from 'react'; import styled from 'styled-components'; import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout'; -import { Column, FlexWrap, Section } from 'ts/@next/components/newLayout'; import { Link } from 'ts/@next/components/link'; -import { Separator } from 'ts/@next/components/separator'; +import { Column, FlexWrap, Section } from 'ts/@next/components/newLayout'; import { Heading, Paragraph } from 'ts/@next/components/text'; interface PositionInterface { diff --git a/packages/website/ts/@next/pages/about/mission.tsx b/packages/website/ts/@next/pages/about/mission.tsx index 3b99ca7fc..d9989f394 100644 --- a/packages/website/ts/@next/pages/about/mission.tsx +++ b/packages/website/ts/@next/pages/about/mission.tsx @@ -4,11 +4,9 @@ import styled from 'styled-components'; import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout'; import { Definition } from 'ts/@next/components/definition'; -import { Icon } from 'ts/@next/components/icon'; import { Image } from 'ts/@next/components/image'; import { Column, Section } from 'ts/@next/components/newLayout'; -import { Separator } from 'ts/@next/components/separator'; -import { Heading, Paragraph } from 'ts/@next/components/text'; +import { Heading } from 'ts/@next/components/text'; const values = [ { diff --git a/packages/website/ts/@next/pages/about/press.tsx b/packages/website/ts/@next/pages/about/press.tsx index 86c8558c9..8cb6080a9 100644 --- a/packages/website/ts/@next/pages/about/press.tsx +++ b/packages/website/ts/@next/pages/about/press.tsx @@ -4,9 +4,8 @@ import styled from 'styled-components'; import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout'; import { Button } from 'ts/@next/components/button'; -import { Column, FlexWrap, Section } from 'ts/@next/components/newLayout'; -import { Separator } from 'ts/@next/components/separator'; -import { Heading, Paragraph } from 'ts/@next/components/text'; +import { Column, FlexWrap } from 'ts/@next/components/newLayout'; +import { Paragraph } from 'ts/@next/components/text'; interface HighlightInterface { logo: string; diff --git a/packages/website/ts/@next/pages/about/team.tsx b/packages/website/ts/@next/pages/about/team.tsx index 0911e926b..f73322576 100644 --- a/packages/website/ts/@next/pages/about/team.tsx +++ b/packages/website/ts/@next/pages/about/team.tsx @@ -5,7 +5,7 @@ import styled from 'styled-components'; import { colors } from 'ts/style/colors'; import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout'; -import { Column, Section, WrapGrid } from 'ts/@next/components/newLayout'; +import { Column, Section } from 'ts/@next/components/newLayout'; import { Heading, Paragraph } from 'ts/@next/components/text'; interface TeamMember { diff --git a/packages/website/ts/@next/pages/instant/code_demo.tsx b/packages/website/ts/@next/pages/instant/code_demo.tsx index fe11175d5..35eaf6b2a 100644 --- a/packages/website/ts/@next/pages/instant/code_demo.tsx +++ b/packages/website/ts/@next/pages/instant/code_demo.tsx @@ -4,7 +4,6 @@ import SyntaxHighlighter from 'react-syntax-highlighter'; import { Button } from 'ts/components/ui/button'; import { Container } from 'ts/components/ui/container'; -import { colors } from 'ts/style/colors'; import { styled } from 'ts/style/theme'; import { zIndex } from 'ts/style/z_index'; diff --git a/packages/website/ts/@next/pages/instant/config_generator.tsx b/packages/website/ts/@next/pages/instant/config_generator.tsx index c71d2b238..8857e4fea 100644 --- a/packages/website/ts/@next/pages/instant/config_generator.tsx +++ b/packages/website/ts/@next/pages/instant/config_generator.tsx @@ -18,7 +18,7 @@ import { WebsitePaths } from 'ts/types'; import { constants } from 'ts/utils/constants'; // New components -import { Heading, Paragraph } from 'ts/@next/components/text'; +import { Heading } from 'ts/@next/components/text'; import { Select, SelectItemConfig } from 'ts/@next/pages/instant/select'; import { assetMetaDataMap } from '../../../../../instant/src/data/asset_meta_data_map'; diff --git a/packages/website/ts/@next/pages/landing.tsx b/packages/website/ts/@next/pages/landing.tsx index 6788e08be..8696cf022 100644 --- a/packages/website/ts/@next/pages/landing.tsx +++ b/packages/website/ts/@next/pages/landing.tsx @@ -1,5 +1,4 @@ import * as React from 'react'; -import styled from 'styled-components'; import {SiteWrap} from 'ts/@next/components/siteWrap'; import {SectionLandingAbout} from 'ts/@next/components/sections/landing/about'; @@ -9,8 +8,6 @@ import {SectionLandingHero} from 'ts/@next/components/sections/landing/hero'; import { ModalContact } from 'ts/@next/components/modals/modal_contact'; -import LogoOutlined from 'ts/@next/icons/illustrations/logo-outlined.svg'; - interface Props { theme: { bgColor: string; @@ -35,11 +32,11 @@ export class NextLanding extends React.Component<Props> { ); } - private _onOpenContactModal = (): void => { + public _onOpenContactModal = (): void => { this.setState({ isContactModalOpen: true }); } - private _onDismissContactModal = (): void => { + public _onDismissContactModal = (): void => { this.setState({ isContactModalOpen: false }); } } diff --git a/packages/website/ts/@next/pages/why.tsx b/packages/website/ts/@next/pages/why.tsx index 05681f895..ba83ceb46 100644 --- a/packages/website/ts/@next/pages/why.tsx +++ b/packages/website/ts/@next/pages/why.tsx @@ -3,16 +3,13 @@ import * as React from 'react'; import AnchorLink from 'react-anchor-link-smooth-scroll'; import styled from 'styled-components'; -import { colors } from 'ts/style/colors'; - import {Hero} from 'ts/@next/components/hero'; import { Banner } from 'ts/@next/components/banner'; import { Button } from 'ts/@next/components/button'; -import { Icon } from 'ts/@next/components/icon'; import { SiteWrap } from 'ts/@next/components/siteWrap'; import { Slide, Slider } from 'ts/@next/components/slider/slider'; -import { Heading, Paragraph } from 'ts/@next/components/text'; +import { Heading } from 'ts/@next/components/text'; import {Definition} from 'ts/@next/components/definition'; import {Column, Section, WrapSticky} from 'ts/@next/components/newLayout'; @@ -272,8 +269,3 @@ const ChapterLink = styled(AnchorLink)` opacity: 1; } `; - -const ChapterItemWrap = styled.div` - max-width: 560px; - margin-top: 60px; -`; |