aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-12-18 09:13:34 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-12-18 09:13:34 +0800
commit90a1947c88aa72562634dccd7165939ff574bc09 (patch)
treee5fcf0864b5391d9b8cca5d769744595de37c195 /packages/website/ts
parent293e099cb3e0e3274622934c5d9ca19ee930e098 (diff)
downloaddexon-sol-tools-90a1947c88aa72562634dccd7165939ff574bc09.tar
dexon-sol-tools-90a1947c88aa72562634dccd7165939ff574bc09.tar.gz
dexon-sol-tools-90a1947c88aa72562634dccd7165939ff574bc09.tar.bz2
dexon-sol-tools-90a1947c88aa72562634dccd7165939ff574bc09.tar.lz
dexon-sol-tools-90a1947c88aa72562634dccd7165939ff574bc09.tar.xz
dexon-sol-tools-90a1947c88aa72562634dccd7165939ff574bc09.tar.zst
dexon-sol-tools-90a1947c88aa72562634dccd7165939ff574bc09.zip
feat: make 0x.org #flawless
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/@next/components/footer.tsx2
-rw-r--r--packages/website/ts/@next/components/sections/landing/cta.tsx19
2 files changed, 8 insertions, 13 deletions
diff --git a/packages/website/ts/@next/components/footer.tsx b/packages/website/ts/@next/components/footer.tsx
index 1e4d7789b..fedae5a1b 100644
--- a/packages/website/ts/@next/components/footer.tsx
+++ b/packages/website/ts/@next/components/footer.tsx
@@ -41,7 +41,7 @@ const linkRows: LinkRows[] = [
links: [
{ url: WebsitePaths.Docs, text: 'Documentation' },
{ url: constants.URL_GITHUB_ORG, text: 'GitHub', shouldOpenInNewTab: true },
- { url: constants.URL_PROTOCOL_SPECIFICATION, text: 'Protogcol Spec', shouldOpenInNewTab: true },
+ { url: constants.URL_PROTOCOL_SPECIFICATION, text: 'Protocol Spec', shouldOpenInNewTab: true },
],
},
{
diff --git a/packages/website/ts/@next/components/sections/landing/cta.tsx b/packages/website/ts/@next/components/sections/landing/cta.tsx
index d0429755c..ec7f5d961 100644
--- a/packages/website/ts/@next/components/sections/landing/cta.tsx
+++ b/packages/website/ts/@next/components/sections/landing/cta.tsx
@@ -1,28 +1,23 @@
import * as React from 'react';
-import {BlockIconLink} from 'ts/@next/components/blockIconLink';
-import {Section} from 'ts/@next/components/newLayout';
+import { BlockIconLink } from 'ts/@next/components/blockIconLink';
+import { Section } from 'ts/@next/components/newLayout';
-import {AnimatedChatIcon} from 'ts/@next/components/animatedChatIcon';
-import {AnimatedCompassIcon} from 'ts/@next/components/animatedCompassIcon';
+import { AnimatedChatIcon } from 'ts/@next/components/animatedChatIcon';
+import { AnimatedCompassIcon } from 'ts/@next/components/animatedCompassIcon';
+import { WebsitePaths } from 'ts/types';
interface Props {
onContactClick?: () => void;
}
export const SectionLandingCta = (props: Props) => (
- <Section
- isPadded={false}
- isFlex={true}
- maxWidth="auto"
- wrapWidth="100%"
- flexBreakpoint="900px"
- >
+ <Section isPadded={false} isFlex={true} maxWidth="auto" wrapWidth="100%" flexBreakpoint="900px">
<BlockIconLink
iconComponent={<AnimatedCompassIcon />}
title="Ready to build on 0x?"
linkLabel="Get Started"
- linkUrl="https://0x.org/docs"
+ linkUrl={WebsitePaths.Docs}
/>
<BlockIconLink
iconComponent={<AnimatedChatIcon />}