You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/01/20 09:36:15 UTC

[GitHub] [incubator-dolphinscheduler-website] chengshiwen commented on a change in pull request #278: Optimize the developer module

chengshiwen commented on a change in pull request #278:
URL: https://github.com/apache/incubator-dolphinscheduler-website/pull/278#discussion_r560812084



##########
File path: src/pages/development/index.md.jsx
##########
@@ -0,0 +1,42 @@
+import React from 'react';
+import ReactDOM from 'react-dom';
+import Language from '../../components/language';
+import Header from '../../components/header';
+import Footer from '../../components/footer';
+import Md2Html from '../../components/md2html';
+import Bar from '../../components/bar';
+import Sidemenu from '../../components/sidemenu';
+import developmentConfig from '../../../site_config/development';
+
+class Development extends Md2Html(Language) {
+  render() {
+    const language = this.getLanguage();
+    let dataSource = developmentConfig[language];
+    const __html = this.props.__html || this.state.__html;
+    return (
+      <div className="md2html development-page">
+        <Header
+          currentKey="development"
+          type="normal"
+          logo="/img/hlogo_colorful.svg"
+          language={language}
+          onLanguageChange={this.onLanguageChange}
+        />
+        <Bar img="/img/system/docs.png" text={dataSource.barText} />

Review comment:
       Is it necessary to change to a new picture?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org