This is an automated email from the ASF dual-hosted git repository.

lgcareer pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 4404ac2  Fix the left menu
     new ef64365  Merge pull request #228 from break60/master
4404ac2 is described below

commit 4404ac2725bf34dd4063ef125de7c3f91bfeb430
Author: break60 <[email protected]>
AuthorDate: Fri Dec 25 10:33:47 2020 +0800

    Fix the left menu
---
 src/pages/community/index.jsx | 45 ++++++++++++++++++++++++-------------------
 1 file changed, 25 insertions(+), 20 deletions(-)

diff --git a/src/pages/community/index.jsx b/src/pages/community/index.jsx
index 3a5934b..c0f09d9 100755
--- a/src/pages/community/index.jsx
+++ b/src/pages/community/index.jsx
@@ -32,26 +32,29 @@ class Community extends Language {
           onLanguageChange={this.onLanguageChange}
         />
         <Bar img="/img/system/community.png" text={dataSource.barText} />
-        <section className="events-section">
-          <h3>{dataSource.events.title}</h3>
-          <Slider>
-            {dataSource.events.list.map((event, i) => (
-              <EventCard event={event} key={i} />
-            ))}
-          </Slider>
-        </section>
-        <section className="contact-section">
-          <h3>{dataSource.contacts.title}</h3>
-          <p>{dataSource.contacts.desc}</p>
-          <div className="contact-list">
-          {
-            dataSource.contacts.list.map((contact, i) => (
-              <ContactItem contact={contact} key={i} />
-            ))
-          }
-          </div>
-        </section>
-        <section className="contributor-section">
+        <section className="content-section">
+          <Sidemenu dataSource={dataSource.sidemenu} />
+          <div className="doc-content markdown-body">
+            <section className="events-section">
+              <h3>{dataSource.events.title}</h3>
+              <Slider>
+                {dataSource.events.list.map((event, i) => (
+                  <EventCard event={event} key={i} />
+                ))}
+              </Slider>
+            </section>
+            <section className="contact-section">
+              <h3>{dataSource.contacts.title}</h3>
+              <p>{dataSource.contacts.desc}</p>
+              <div className="contact-list">
+              {
+                dataSource.contacts.list.map((contact, i) => (
+                  <ContactItem contact={contact} key={i} />
+                ))
+              }
+              </div>
+            </section>
+            <section className="contributor-section">
               <h3>{dataSource.contributorGuide.title}</h3>
               <p>{dataSource.contributorGuide.desc}</p>
               <div className="contributor-list">
@@ -62,6 +65,8 @@ class Community extends Language {
               }
               </div>
             </section>
+              </div>
+            </section>
         <Footer logo="/img/ds_gray.svg" language={language} />
       </div>
     );

Reply via email to