aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/sections
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-19 05:24:53 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-19 05:24:53 +0800
commit9bd71aeeffbadebb41756a605ef6a0aacbfd47c4 (patch)
tree9306ea2225370a02d1ed00791faee6616740c59b /packages/website/ts/@next/components/sections
parent59d7efa78af41a91617b5a1f253a0f7e17553dca (diff)
downloaddexon-0x-contracts-9bd71aeeffbadebb41756a605ef6a0aacbfd47c4.tar.gz
dexon-0x-contracts-9bd71aeeffbadebb41756a605ef6a0aacbfd47c4.tar.zst
dexon-0x-contracts-9bd71aeeffbadebb41756a605ef6a0aacbfd47c4.zip
run prettier on website
Diffstat (limited to 'packages/website/ts/@next/components/sections')
-rw-r--r--packages/website/ts/@next/components/sections/landing/about.tsx10
-rw-r--r--packages/website/ts/@next/components/sections/landing/clients.tsx18
-rw-r--r--packages/website/ts/@next/components/sections/landing/hero.tsx8
3 files changed, 17 insertions, 19 deletions
diff --git a/packages/website/ts/@next/components/sections/landing/about.tsx b/packages/website/ts/@next/components/sections/landing/about.tsx
index 87a0fe562..7b51b0d13 100644
--- a/packages/website/ts/@next/components/sections/landing/about.tsx
+++ b/packages/website/ts/@next/components/sections/landing/about.tsx
@@ -57,11 +57,11 @@ const Figure = (props: FigureProps) => (
);
const DeveloperLink = styled(Button)`
- @media (max-width: 500px) {
- && {
- white-space: pre-wrap;
- line-height: 1.3;
- }
+ @media (max-width: 500px) {
+ && {
+ white-space: pre-wrap;
+ line-height: 1.3;
+ }
}
`;
diff --git a/packages/website/ts/@next/components/sections/landing/clients.tsx b/packages/website/ts/@next/components/sections/landing/clients.tsx
index e411feeb0..a7a526818 100644
--- a/packages/website/ts/@next/components/sections/landing/clients.tsx
+++ b/packages/website/ts/@next/components/sections/landing/clients.tsx
@@ -1,9 +1,9 @@
import * as _ from 'lodash';
import * as React from 'react';
import styled from 'styled-components';
-import {Heading} from 'ts/@next/components/text';
+import { Heading } from 'ts/@next/components/text';
-import {Section, WrapGrid} from 'ts/@next/components/newLayout';
+import { Section, WrapGrid } from 'ts/@next/components/newLayout';
interface ProjectLogo {
name: string;
@@ -58,16 +58,11 @@ const projects: ProjectLogo[] = [
export const SectionLandingClients = () => (
<Section isTextCentered={true}>
- <Heading size="small">
- Join the growing number of projects developing on 0x
- </Heading>
+ <Heading size="small">Join the growing number of projects developing on 0x</Heading>
<WrapGrid isWrapped={true}>
{_.map(projects, (item: ProjectLogo, index) => (
- <StyledProject
- key={`client-${index}`}
- isOnMobile={item.persistOnMobile}
- >
+ <StyledProject key={`client-${index}`} isOnMobile={item.persistOnMobile}>
<img src={item.imageUrl} alt={item.name} />
</StyledProject>
))}
@@ -75,7 +70,10 @@ export const SectionLandingClients = () => (
</Section>
);
-const StyledProject = styled.div<StyledProjectInterface>`
+const StyledProject =
+ styled.div <
+ StyledProjectInterface >
+ `
flex-shrink: 0;
img {
diff --git a/packages/website/ts/@next/components/sections/landing/hero.tsx b/packages/website/ts/@next/components/sections/landing/hero.tsx
index 85290d1c6..cf67ad66d 100644
--- a/packages/website/ts/@next/components/sections/landing/hero.tsx
+++ b/packages/website/ts/@next/components/sections/landing/hero.tsx
@@ -1,10 +1,10 @@
import * as React from 'react';
-import {Button} from 'ts/@next/components/button';
-import {Hero} from 'ts/@next/components/hero';
-import {LandingAnimation} from 'ts/@next/components/heroImage';
+import { Button } from 'ts/@next/components/button';
+import { Hero } from 'ts/@next/components/hero';
+import { LandingAnimation } from 'ts/@next/components/heroImage';
-import {HeroAnimation} from 'ts/@next/components/heroAnimation';
+import { HeroAnimation } from 'ts/@next/components/heroAnimation';
import { WebsitePaths } from 'ts/types';
export const SectionLandingHero = () => (