add new version notification
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 @@
.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 @@
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 @@
}
}
+ #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;
}