aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/dropdowns
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-11 03:02:28 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-11 03:02:48 +0800
commite18be3160e5d35f478157d525e8ec9f91d06fe38 (patch)
tree710badf1f77eca1b43d20a08b655fad849959050 /packages/website/ts/@next/components/dropdowns
parent6ef5f28f81c9bf2908bbf6d4e1e1a0b7e926b92f (diff)
downloaddexon-0x-contracts-e18be3160e5d35f478157d525e8ec9f91d06fe38.tar.gz
dexon-0x-contracts-e18be3160e5d35f478157d525e8ec9f91d06fe38.tar.zst
dexon-0x-contracts-e18be3160e5d35f478157d525e8ec9f91d06fe38.zip
WIP dropdown header
Diffstat (limited to 'packages/website/ts/@next/components/dropdowns')
-rw-r--r--packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx37
-rw-r--r--packages/website/ts/@next/components/dropdowns/dropdown_products.tsx39
2 files changed, 76 insertions, 0 deletions
diff --git a/packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx b/packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx
new file mode 100644
index 000000000..a9cfed538
--- /dev/null
+++ b/packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx
@@ -0,0 +1,37 @@
+import * as React from 'react';
+import styled from 'styled-components';
+
+import {Link} from 'react-router-dom';
+import {WrapGrid} from 'ts/@next/components/layout';
+import {Heading} from 'ts/@next/components/text';
+
+export const DropdownDevelopers = () => (
+ <>
+ <Wrap>
+ <Heading size="small" color="#5d5d5d">
+ Getting Started
+ </Heading>
+
+ <WrapGrid isCentered={false} isWrapped={true}>
+ <Link to="#">Build a relayer</Link>
+ <Link to="#">Develop on Ethereum</Link>
+ <Link to="#">Make & take orders</Link>
+ <Link to="#">Use networked liquidity</Link>
+ </WrapGrid>
+ </Wrap>
+
+ <Wrap>
+ asdf
+ </Wrap>
+ </>
+);
+
+const Wrap = styled.div`
+ padding: 15px 30px;
+`;
+
+const StyledLink = styled(Link)`
+ width: calc(50% - 15px);
+ flex-shrink: 0;
+ color: #000000;
+`;
diff --git a/packages/website/ts/@next/components/dropdowns/dropdown_products.tsx b/packages/website/ts/@next/components/dropdowns/dropdown_products.tsx
new file mode 100644
index 000000000..366c00a1e
--- /dev/null
+++ b/packages/website/ts/@next/components/dropdowns/dropdown_products.tsx
@@ -0,0 +1,39 @@
+import * as React from 'react';
+import styled from 'styled-components';
+import {Heading, Paragraph} from 'ts/@next/components/text';
+
+export const DropdownProducts = () => (
+ <List>
+ <li>
+ <Heading color="#000000" isNoMargin={true}>
+ 0x Instant
+ </Heading>
+
+ <Paragraph color="#5d5d5d" isNoMargin={true}>
+ Simple crypto purchasing
+ </Paragraph>
+ </li>
+
+ <li>
+ <Heading color="#000000" isNoMargin={true}>
+ 0x Launch Kit
+ </Heading>
+
+ <Paragraph color="#5d5d5d" isNoMargin={true}>
+ Build on the 0x protocol
+ </Paragraph>
+ </li>
+
+ <li>
+ <Heading color="#000000" isNoMargin={true}>
+ Extensions
+ </Heading>
+ </li>
+ </List>
+);
+
+const List = styled.ul`
+ li {
+ padding: 15px 30px;
+ }
+`;