You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/09/17 04:29:03 UTC

[echarts-www] branch master updated: add new version notification

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

shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-www.git


The following commit(s) were added to refs/heads/master by this push:
     new d4cb077  add new version notification
d4cb077 is described below

commit d4cb07737206e0672be93dbffd39c769a74ddc4b
Author: pissang <bm...@gmail.com>
AuthorDate: Fri Sep 17 12:28:52 2021 +0800

    add new version notification
---
 _jade/en/index.jade     |  2 ++
 _jade/zh/index.jade     |  2 ++
 _scss/_pages.index.scss | 16 ++++++++++++++++
 3 files changed, 20 insertions(+)

diff --git a/_jade/en/index.jade b/_jade/en/index.jade
index 2540c1a..a480b1c 100644
--- a/_jade/en/index.jade
+++ b/_jade/en/index.jade
@@ -32,6 +32,8 @@ block content
                     .home-chart
                         img(src="images/index-home-pie.png")
 
+            section#new-version-section πŸ“£ Apache ECharts 5.2 is out! See <a href='#{host}/handbook/#{ecWWWLang}/basics/release-note/5-2-0'>what's new</a>
+
             //- section#events-section
             //-     .container
             //-         a.event(href='./events/2021-07-05-apachecon.html')
diff --git a/_jade/zh/index.jade b/_jade/zh/index.jade
index a2e4c60..bfe910b 100644
--- a/_jade/zh/index.jade
+++ b/_jade/zh/index.jade
@@ -32,6 +32,8 @@ block content
                         img(src="#{cdnPayRoot}/#{ecWWWLang}/images/index-home-pie.png?_v_=#{cdnPayVersion}")
 
 
+            section#new-version-section πŸ“£ Apache ECharts 5.2 发布了! ζŸ₯ηœ‹<a href='#{host}/handbook/#{ecWWWLang}/basics/release-note/5-2-0' target='_blank'>ζ–°η‰Ήζ€§</a>
+
             //- section#events-section
             //-     .container
             //-         a.event(href='./events/2021-07-05-apachecon.html')
diff --git a/_scss/_pages.index.scss b/_scss/_pages.index.scss
index 70c6c79..e073202 100644
--- a/_scss/_pages.index.scss
+++ b/_scss/_pages.index.scss
@@ -127,6 +127,22 @@ body {
             }
         }
 
+    #new-version-section {
+        text-align: center;
+        font-size: 16px;
+        height: 20px;
+        margin-top: -120px;
+        margin-bottom: 120px;
+        position: relative;
+        z-index: 100;
+
+        color: black;
+
+        a {
+            font-weight: bold;
+        }
+    }
+
     #events-section {
         margin: 20px 0 60px 0;
     }

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org