Skip to content

Commit 3270e70

Browse files
committed
feat(playground): Slack and Docs links
1 parent 94f4130 commit 3270e70

File tree

1 file changed

+20
-2
lines changed
  • packages/cubejs-playground/src

1 file changed

+20
-2
lines changed

packages/cubejs-playground/src/App.js

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
/* eslint-disable no-undef */
1+
/* eslint-disable no-undef,react/jsx-no-target-blank */
22
import React, { Component } from 'react';
33
import { Link } from "react-router-dom";
44
import * as PropTypes from 'prop-types';
55
import "antd/dist/antd.css";
66
import "./index.css";
77
import {
8-
Layout, Menu, Alert, notification
8+
Layout, Menu, Alert, notification, Icon
99
} from "antd";
1010
import { fetch } from 'whatwg-fetch';
1111
import { withRouter } from "react-router";
@@ -82,6 +82,24 @@ class App extends Component {
8282
<Menu.Item key="/explore"><Link to="/explore">Explore</Link></Menu.Item>
8383
<Menu.Item key="/dashboard"><Link to="/dashboard">Dashboard</Link></Menu.Item>
8484
<Menu.Item key="/schema"><Link to="/schema">Schema</Link></Menu.Item>
85+
<Menu.Item
86+
key="docs"
87+
style={{ float: 'right' }}
88+
>
89+
<a href="https://cube.dev/docs" target="_blank">
90+
<Icon type="book" />
91+
Docs
92+
</a>
93+
</Menu.Item>
94+
<Menu.Item
95+
key="slack"
96+
style={{ float: 'right' }}
97+
>
98+
<a href="https://slack.cube.dev" target="_blank">
99+
<Icon type="slack" />
100+
Slack
101+
</a>
102+
</Menu.Item>
85103
</Menu>
86104
</Header>
87105
<Content style={{ height: '100%' }}>

0 commit comments

Comments
 (0)