From 2794d64d3e920cd30ed0603becffc74b17c22218 Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Tue, 12 Jun 2018 15:54:27 -0700 Subject: Use Text in OpenPositions --- packages/website/ts/components/ui/text.tsx | 2 +- packages/website/ts/pages/jobs/open_positions.tsx | 9 ++++++--- packages/website/ts/utils/configs.ts | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) (limited to 'packages') diff --git a/packages/website/ts/components/ui/text.tsx b/packages/website/ts/components/ui/text.tsx index 2b80869d1..0fa79bc7c 100644 --- a/packages/website/ts/components/ui/text.tsx +++ b/packages/website/ts/components/ui/text.tsx @@ -13,7 +13,7 @@ export interface TextProps { lineHeight?: string; minHeight?: string; center?: boolean; - fontWeight?: number; + fontWeight?: number | string; } const PlainText: React.StatelessComponent = ({ children, className, Tag }) => ( diff --git a/packages/website/ts/pages/jobs/open_positions.tsx b/packages/website/ts/pages/jobs/open_positions.tsx index c43cc43fe..79b51c0d1 100644 --- a/packages/website/ts/pages/jobs/open_positions.tsx +++ b/packages/website/ts/pages/jobs/open_positions.tsx @@ -4,6 +4,7 @@ import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowCol import * as React from 'react'; import { Retry } from 'ts/components/ui/retry'; +import { Text } from 'ts/components/ui/text'; import { HeaderItem } from 'ts/pages/jobs/list/header_item'; import { ListItem } from 'ts/pages/jobs/list/list_item'; import { colors } from 'ts/style/colors'; @@ -171,10 +172,12 @@ export interface JobInfoListItemProps { const PlainJobInfoListItem: React.StatelessComponent = ({ title, description, onClick }) => (
-
{title + ' ›'}
-
+ + {title + ' ›'} + + {description} -
+
); diff --git a/packages/website/ts/utils/configs.ts b/packages/website/ts/utils/configs.ts index ace8a5ba0..2fdc7f031 100644 --- a/packages/website/ts/utils/configs.ts +++ b/packages/website/ts/utils/configs.ts @@ -10,7 +10,7 @@ const INFURA_API_KEY = 'T5WSC8cautR4KXyYgsRs'; export const configs = { AMOUNT_DISPLAY_PRECSION: 5, - BACKEND_BASE_PROD_URL: 'https://website-api.0xproject.com', + BACKEND_BASE_PROD_URL: 'http://localhost:3000', BACKEND_BASE_STAGING_URL: 'http://ec2-52-91-181-85.compute-1.amazonaws.com', BASE_URL, BITLY_ACCESS_TOKEN: 'ffc4c1a31e5143848fb7c523b39f91b9b213d208', -- cgit v1.2.3