aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-10-16 14:27:56 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-10-17 01:00:49 +0800
commitaa1085c8f3866da4965c0102be27c0f5e19b3db6 (patch)
treed3645836619952a9a9d15af8db4a1120112fb206 /packages/website/ts/components
parent55be070dcfd7b9704ba24bc387bca0001f0c47f5 (diff)
downloaddexon-sol-tools-aa1085c8f3866da4965c0102be27c0f5e19b3db6.tar
dexon-sol-tools-aa1085c8f3866da4965c0102be27c0f5e19b3db6.tar.gz
dexon-sol-tools-aa1085c8f3866da4965c0102be27c0f5e19b3db6.tar.bz2
dexon-sol-tools-aa1085c8f3866da4965c0102be27c0f5e19b3db6.tar.lz
dexon-sol-tools-aa1085c8f3866da4965c0102be27c0f5e19b3db6.tar.xz
dexon-sol-tools-aa1085c8f3866da4965c0102be27c0f5e19b3db6.tar.zst
dexon-sol-tools-aa1085c8f3866da4965c0102be27c0f5e19b3db6.zip
feat(website): add asset-buyer documentation
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/top_bar/top_bar.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx
index 7cf3c6ecb..fe2c1fcf9 100644
--- a/packages/website/ts/components/top_bar/top_bar.tsx
+++ b/packages/website/ts/components/top_bar/top_bar.tsx
@@ -92,6 +92,7 @@ const DOC_WEBSITE_PATHS_TO_KEY = {
[WebsitePaths.ZeroExJs]: Key.ZeroExJs,
[WebsitePaths.OrderUtils]: Key.OrderUtils,
[WebsitePaths.OrderWatcher]: Key.OrderWatcher,
+ [WebsitePaths.AssetBuyer]: Key.AssetBuyer,
};
const DEFAULT_HEIGHT = 68;
@@ -214,6 +215,12 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
primaryText={this.props.translate.get(Key.EthereumTypes, Deco.CapWords)}
/>
</Link>,
+ <Link key="subMenuItem-asset-buyer" to={WebsitePaths.AssetBuyer} className="text-decoration-none">
+ <MenuItem
+ style={{ fontSize: styles.menuItem.fontSize }}
+ primaryText={this.props.translate.get(Key.AssetBuyer, Deco.CapWords)}
+ />
+ </Link>,
<a
key="subMenuItem-whitePaper"
target="_blank"