فهرست منبع

add instructions button

Csy817 7 سال پیش
والد
کامیت
f8b046a09e
1فایلهای تغییر یافته به همراه23 افزوده شده و 2 حذف شده
  1. 23 2
      src/components/app/App.jsx

+ 23 - 2
src/components/app/App.jsx

@@ -161,6 +161,7 @@ class App extends Component {
                                         <GraphqlSidebar inlineCollapsed={this.state.inlineCollapsed}
                                                         sideBar={this.state.sideBar} switchMenu={this.switchMenu}
                                                         userID={this.state.userID} showModal={this.showModal}/>
+
                                     </Sider>
                                 );
                             case 'wechat-service':
@@ -204,6 +205,13 @@ class App extends Component {
                                                     to="/wechat-service/my-create/my wechat">my
                                                     wechat</Link></Menu.Item>
                                             </SubMenu>
+
+                                            <Menu.Item key="instructions" >
+                                                <a href="https://ioobot-document.netlify.com/" title="instructions" target="instructions">
+                                                    <Icon type="file-text" theme="twoTone" />
+                                                    <span>instructions</span>
+                                                </a>
+                                            </Menu.Item>
                                         </Menu>
                                     </Sider>
                                 );
@@ -246,6 +254,13 @@ class App extends Component {
                                                 {/*<Menu.Item key="my quant"><Link to="/quant-service/">my*/}
                                                     {/*quant</Link></Menu.Item>*/}
                                             {/*</SubMenu>*/}
+
+                                            <Menu.Item key="instructions" >
+                                                <a href="https://ioobot-document.netlify.com/" title="instructions" target="instructions">
+                                                    <Icon type="file-text" theme="twoTone" />
+                                                    <span>instructions</span>
+                                                </a>
+                                            </Menu.Item>
                                         </Menu>
                                     </Sider>
                                 );
@@ -320,8 +335,6 @@ class App extends Component {
                             </Switch>
                         </Layout>
                     </LocaleProvider>
-
-                    
                 </Layout>
             </Router>
         );
@@ -409,6 +422,14 @@ class GraphqlSidebar extends Component {
                                             </Menu.Item>)
                                     }
                                 </SubMenu>
+
+                                <Menu.Item key="instructions" >
+                                    <a href="https://ioobot-document.netlify.com/" title="instructions" target="instructions">
+                                        <Icon type="file-text" theme="twoTone" />
+                                        <span>instructions</span>
+                                    </a>
+                                </Menu.Item>
+
                             </Menu>
 
                         )