From e744e4cd989bd3ae1070c59f7baa8097f18b8b06 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 22 Dec 2017 15:05:32 +0100 Subject: Apply prettier config --- packages/website/ts/pages/about/about.tsx | 97 ++++++++++++----------------- packages/website/ts/pages/about/profile.tsx | 54 ++++++---------- 2 files changed, 58 insertions(+), 93 deletions(-) (limited to 'packages/website/ts/pages/about') diff --git a/packages/website/ts/pages/about/about.tsx b/packages/website/ts/pages/about/about.tsx index 722e819ff..3ff16f9fe 100644 --- a/packages/website/ts/pages/about/about.tsx +++ b/packages/website/ts/pages/about/about.tsx @@ -1,13 +1,13 @@ import * as _ from 'lodash'; import * as React from 'react'; import * as DocumentTitle from 'react-document-title'; -import {Footer} from 'ts/components/footer'; -import {TopBar} from 'ts/components/top_bar'; -import {Profile} from 'ts/pages/about/profile'; -import {ProfileInfo, Styles} from 'ts/types'; -import {colors} from 'ts/utils/colors'; -import {constants} from 'ts/utils/constants'; -import {utils} from 'ts/utils/utils'; +import { Footer } from 'ts/components/footer'; +import { TopBar } from 'ts/components/top_bar'; +import { Profile } from 'ts/pages/about/profile'; +import { ProfileInfo, Styles } from 'ts/types'; +import { colors } from 'ts/utils/colors'; +import { constants } from 'ts/utils/constants'; +import { utils } from 'ts/utils/utils'; const teamRow1: ProfileInfo[] = [ { @@ -155,73 +155,61 @@ export class About extends React.Component { } public render() { return ( -
- +
+ -
-
-
- About us: -
+
+
+
About us:
- Our team is a diverse and globally distributed group with backgrounds - in engineering, research, business and design. We are passionate about - decentralized technology and its potential to act as an equalizing force - in the world. + Our team is a diverse and globally distributed group with backgrounds in engineering, + research, business and design. We are passionate about decentralized technology and its + potential to act as an equalizing force in the world.
-
- {this._renderProfiles(teamRow1)} -
-
- {this._renderProfiles(teamRow2)} -
+
{this._renderProfiles(teamRow1)}
+
{this._renderProfiles(teamRow2)}
Advisors:
-
- {this._renderProfiles(advisors)} -
+
{this._renderProfiles(advisors)}
-
-
+
+
WE'RE HIRING
We are seeking outstanding candidates to{' '} - + join our team . We value passion, diversity and unique perspectives. @@ -237,13 +225,8 @@ export class About extends React.Component { const colSize = utils.getColSize(numIndiv); return _.map(profiles, profile => { return ( -
- +
+
); }); diff --git a/packages/website/ts/pages/about/profile.tsx b/packages/website/ts/pages/about/profile.tsx index ef74f268a..bd2316f31 100644 --- a/packages/website/ts/pages/about/profile.tsx +++ b/packages/website/ts/pages/about/profile.tsx @@ -1,7 +1,7 @@ import * as _ from 'lodash'; import * as React from 'react'; -import {ProfileInfo, Styles} from 'ts/types'; -import {colors} from 'ts/utils/colors'; +import { ProfileInfo, Styles } from 'ts/types'; +import { colors } from 'ts/utils/colors'; const IMAGE_DIMENSION = 149; const styles: Styles = { @@ -24,43 +24,30 @@ interface ProfileProps { export function Profile(props: ProfileProps) { return ( -
-
-
- +
+
+
+
-
+
{props.profileInfo.name}
- {!_.isUndefined(props.profileInfo.title) && + {!_.isUndefined(props.profileInfo.title) && (
{props.profileInfo.title.toUpperCase()}
- } -
+ )} +
{props.profileInfo.description}
-
+
{renderSocialMediaIcons(props.profileInfo)}
@@ -84,13 +71,8 @@ function renderSocialMediaIcon(iconName: string, url: string) { return ( ); -- cgit v1.2.3