aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-11-29 05:25:53 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-11-29 05:25:53 +0800
commite1c237a8e42c337cb329a4e2822d714bea4c7756 (patch)
treef418c459db63790d698239cae8d65de2defbcfbe /packages/website/ts/pages
parent9608d6fc71da20899670781a30e38f229c01a75d (diff)
downloaddexon-sol-tools-e1c237a8e42c337cb329a4e2822d714bea4c7756.tar
dexon-sol-tools-e1c237a8e42c337cb329a4e2822d714bea4c7756.tar.gz
dexon-sol-tools-e1c237a8e42c337cb329a4e2822d714bea4c7756.tar.bz2
dexon-sol-tools-e1c237a8e42c337cb329a4e2822d714bea4c7756.tar.lz
dexon-sol-tools-e1c237a8e42c337cb329a4e2822d714bea4c7756.tar.xz
dexon-sol-tools-e1c237a8e42c337cb329a4e2822d714bea4c7756.tar.zst
dexon-sol-tools-e1c237a8e42c337cb329a4e2822d714bea4c7756.zip
feat(website): optionally show configurator
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r--packages/website/ts/pages/instant/instant.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/website/ts/pages/instant/instant.tsx b/packages/website/ts/pages/instant/instant.tsx
index a9736f0f3..c747f3d10 100644
--- a/packages/website/ts/pages/instant/instant.tsx
+++ b/packages/website/ts/pages/instant/instant.tsx
@@ -27,8 +27,8 @@ export interface InstantProps {
export interface InstantState {}
const THROTTLE_TIMEOUT = 100;
-const DOCUMENT_TITLE = 'Instant';
-const DOCUMENT_DESCRIPTION = 'Instant';
+const DOCUMENT_TITLE = '0x Instant';
+const DOCUMENT_DESCRIPTION = '0x Instant';
export class Instant extends React.Component<InstantProps, InstantState> {
// TODO: consolidate this small screen scaffolding into one place (its being used in portal and docs as well)
@@ -42,6 +42,7 @@ export class Instant extends React.Component<InstantProps, InstantState> {
window.scrollTo(0, 0);
}
public render(): React.ReactNode {
+ const isSmallScreen = this.props.screenWidth === ScreenWidths.Sm;
return (
<Container overflowX="hidden">
<MetaTags title={DOCUMENT_TITLE} description={DOCUMENT_DESCRIPTION} />
@@ -57,7 +58,7 @@ export class Instant extends React.Component<InstantProps, InstantState> {
<Introducing0xInstant screenWidth={this.props.screenWidth} />
<Screenshots screenWidth={this.props.screenWidth} />
<Features screenWidth={this.props.screenWidth} />
- <Configurator />
+ {!isSmallScreen && <Configurator />}
<NeedMore screenWidth={this.props.screenWidth} />
<Footer translate={this.props.translate} dispatcher={this.props.dispatcher} />
</Container>