aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 />}