fix build errors
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import * as _ from 'lodash';
|
||||
import * as React from 'react';
|
||||
import DocumentTitle from 'react-document-title';
|
||||
import styled from 'styled-components';
|
||||
|
||||
import { Hero } from 'ts/components/hero';
|
||||
@@ -9,9 +8,10 @@ import { Banner } from 'ts/components/banner';
|
||||
import { Button } from 'ts/components/button';
|
||||
import { Icon } from 'ts/components/icon';
|
||||
import { SiteWrap } from 'ts/components/siteWrap';
|
||||
|
||||
import { DocumentTitle } from 'ts/components/document_title';
|
||||
import { Card, LinkProps } from 'ts/components/card';
|
||||
import { constants } from 'ts/utils/constants';
|
||||
import { documentConstants } from 'ts/utils/document_meta_constants';
|
||||
|
||||
import { ModalContact } from '../components/modals/modal_contact';
|
||||
|
||||
@@ -67,7 +67,7 @@ export class Extensions extends React.Component {
|
||||
public render(): React.ReactNode {
|
||||
return (
|
||||
<SiteWrap theme="dark">
|
||||
<DocumentTitle title="0x Extensions" />
|
||||
<DocumentTitle {...documentConstants.EXTENSIONS } />
|
||||
<Hero
|
||||
isLargeTitle={false}
|
||||
isFullWidth={false}
|
||||
|
@@ -1,10 +1,11 @@
|
||||
import * as _ from 'lodash';
|
||||
import * as React from 'react';
|
||||
import DocumentTitle from 'react-document-title';
|
||||
|
||||
import { DocumentTitle } from 'ts/components/document_title';
|
||||
import { SiteWrap } from 'ts/components/siteWrap';
|
||||
import { FullscreenMessage } from 'ts/pages/fullscreen_message';
|
||||
import { Dispatcher } from 'ts/redux/dispatcher';
|
||||
import { documentConstants } from 'ts/utils/document_meta_constants';
|
||||
import { Translate } from 'ts/utils/translate';
|
||||
|
||||
export interface NotFoundProps {
|
||||
@@ -17,7 +18,7 @@ export class NotFound extends React.Component<NotFoundProps> {
|
||||
public render(): React.ReactNode {
|
||||
return (
|
||||
<SiteWrap isFullScreen={true}>
|
||||
<DocumentTitle title="404 Page Not Found" />
|
||||
<DocumentTitle { ...documentConstants.LANDING } />
|
||||
|
||||
<FullscreenMessage
|
||||
headerText={'404'}
|
||||
|
@@ -86,4 +86,9 @@ export const documentConstants: { [s: string]: DocumentMetadata } = {
|
||||
'0x is an open protocol that is governed by its users. Cast your votes with ZRX on 0x Improvement Proposals.',
|
||||
keywords: '',
|
||||
},
|
||||
EXTENSIONS: {
|
||||
title: '',
|
||||
description: 'Support new types of trading on your relayer with 0x Extensions',
|
||||
keywords: '',
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user