From b1f4bb722d9a6aaacdd3fdfe1bf7049efe043aa7 Mon Sep 17 00:00:00 2001 From: Ezekiel Aquino Date: Wed, 12 Dec 2018 13:24:13 +0100 Subject: More layout changes --- packages/website/ts/@next/pages/landing.tsx | 7 ++ packages/website/ts/@next/pages/why.tsx | 108 ++++++++++++++-------------- 2 files changed, 60 insertions(+), 55 deletions(-) (limited to 'packages/website/ts/@next/pages') diff --git a/packages/website/ts/@next/pages/landing.tsx b/packages/website/ts/@next/pages/landing.tsx index 66c4138a1..fab5e62b6 100644 --- a/packages/website/ts/@next/pages/landing.tsx +++ b/packages/website/ts/@next/pages/landing.tsx @@ -1,4 +1,5 @@ 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'; @@ -6,6 +7,12 @@ import {SectionLandingClients} from 'ts/@next/components/sections/landing/client import {SectionLandingCta} from 'ts/@next/components/sections/landing/cta'; import {SectionLandingHero} from 'ts/@next/components/sections/landing/hero'; +import {Button} from 'ts/@next/components/button'; +import {Hero} from 'ts/@next/components/hero'; +import {LandingAnimation} from 'ts/@next/components/heroImage'; + +import LogoOutlined from 'ts/@next/icons/illustrations/logo-outlined.svg'; + interface Props { theme: { bgColor: string; diff --git a/packages/website/ts/@next/pages/why.tsx b/packages/website/ts/@next/pages/why.tsx index fc24fd665..d0d909949 100644 --- a/packages/website/ts/@next/pages/why.tsx +++ b/packages/website/ts/@next/pages/why.tsx @@ -10,12 +10,12 @@ import {Hero} from 'ts/@next/components/hero'; import { Banner } from 'ts/@next/components/banner'; import { Link } from 'ts/@next/components/button'; import { Icon } from 'ts/@next/components/icon'; -import { BREAKPOINTS, Column, Section, Wrap, WrapCentered, WrapSticky } from 'ts/@next/components/layout'; 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 {Definition} from 'ts/@next/components/definition'; +import {Column, Section, WrapSticky} from 'ts/@next/components/newLayout'; const offersData = [ { @@ -95,8 +95,11 @@ export class NextWhy extends React.PureComponent { } /> -
- +
- -
+
-
- - +
+ Benefits Use Cases @@ -130,52 +131,49 @@ export class NextWhy extends React.PureComponent { - - - What 0x offers - - {_.map(offersData, (item, index) => ( - - ))} - - - - Use Cases - - {_.map(useCaseSlides, (item, index) => ( - + + + What 0x offers + + {_.map(offersData, (item, index) => ( + ))} - - - - - Exchange Functionality - - {_.map(functionalityData, (item, index) => ( - - - - - {item.title} - - - - {item.description} - - - ))} - - - + + + + Use Cases + + {_.map(useCaseSlides, (item, index) => ( + + ))} + + + + + Exchange Functionality + + {_.map(functionalityData, (item, index) => ( + + ))} + + +