You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2021/01/20 09:51:10 UTC

[echarts-www] branch next updated (cd7fae6 -> 8fab204)

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

ovilia pushed a change to branch next
in repository https://gitbox.apache.org/repos/asf/echarts-www.git.


    from cd7fae6  Merge branch 'master' into next
     new 45e8629  feat(event): add event pages
     new 8fab204  feat(event): add event in index page

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 _jade/en/{dependencies.jade => events.jade} |  19 +++++++++---------
 _jade/{404.jade => events.jade}             |   2 +-
 _jade/zh/events.jade                        |  29 ++++++++++++++++++++++++++++
 _jade/zh/index.jade                         |  12 ++++++++++++
 _scss/_pages.events.scss                    |  15 ++++++++++++++
 _scss/main.scss                             |   1 +
 images/event/20200128-apache-echarts-5.png  | Bin 0 -> 75823 bytes
 7 files changed, 68 insertions(+), 10 deletions(-)
 copy _jade/en/{dependencies.jade => events.jade} (54%)
 copy _jade/{404.jade => events.jade} (53%)
 create mode 100644 _jade/zh/events.jade
 create mode 100644 _scss/_pages.events.scss
 create mode 100644 images/event/20200128-apache-echarts-5.png


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


[echarts-www] 01/02: feat(event): add event pages

Posted by ov...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 45e8629fa3042c1d16d8e9c28d3606ffb25b31e1
Author: Ovilia <zw...@gmail.com>
AuthorDate: Wed Jan 20 17:41:51 2021 +0800

    feat(event): add event pages
---
 _jade/en/events.jade                       |  29 +++++++++++++++++++++++++++++
 _jade/events.jade                          |   4 ++++
 _jade/zh/events.jade                       |  29 +++++++++++++++++++++++++++++
 _scss/_pages.events.scss                   |  15 +++++++++++++++
 _scss/main.scss                            |   1 +
 images/event/20200128-apache-echarts-5.png | Bin 0 -> 75823 bytes
 6 files changed, 78 insertions(+)

diff --git a/_jade/en/events.jade b/_jade/en/events.jade
new file mode 100644
index 0000000..61789b2
--- /dev/null
+++ b/_jade/en/events.jade
@@ -0,0 +1,29 @@
+extends ../layouts/basic
+
+block variablesLang
+    include ./_variablesLang.jade
+
+block variables
+    - var pageTitle = 'Events - Apache ECharts'
+
+block extra_head
+    title Events - Apache ECharts
+
+block content
+    nav(class='navbar navbar-default navbar-fixed-top')
+        include ./nav
+
+    .page-main
+        .page-info
+            .container
+                h1 Events
+                p.page-info-echarts Apache ECharts<sup>TM</sup>
+
+        .page-content
+            .page-detail
+                p No events for now.
+
+                include ../components/inner-footer
+block extra_js
+    script(type='text/javascript').
+        document.getElementById('nav-contribute').className = 'active';
diff --git a/_jade/events.jade b/_jade/events.jade
new file mode 100644
index 0000000..9e92f87
--- /dev/null
+++ b/_jade/events.jade
@@ -0,0 +1,4 @@
+extends layouts/redirect
+
+block variables
+    - var redirectTo = 'events.html'
diff --git a/_jade/zh/events.jade b/_jade/zh/events.jade
new file mode 100644
index 0000000..65ff8c2
--- /dev/null
+++ b/_jade/zh/events.jade
@@ -0,0 +1,29 @@
+extends ../layouts/basic
+
+block variables
+    - var pageTitle = 'Apache ECharts - 活动'
+
+block extra_head
+    title 活动 - Apache ECharts
+
+block content
+    nav(class='navbar navbar-default navbar-fixed-top', role="navigation")
+        include ../components/nav
+
+    .page-main
+        .page-info
+            .container
+                h1 活动
+                p.page-info-echarts Apache ECharts<sup>TM</sup>
+
+        .page-content#maillist
+            .container
+                a.event(href='https://echarts-5-live.bj.bcebos.com/echarts-5-event.html?ref=ec-event')
+                    img.lazy(data-src="#{cdnPayRoot}/#{ecWWWLang}/images/event/20200128-apache-echarts-5.png?_v_=#{cdnPayVersion}")
+
+block extra_js
+    script.
+        window.lazyLoadOptions = {
+            elements_selector: ".lazy"
+        };
+    script(src='https://cdn.jsdelivr.net/npm/vanilla-lazyload@12.0.0/dist/lazyload.min.js')
diff --git a/_scss/_pages.events.scss b/_scss/_pages.events.scss
new file mode 100644
index 0000000..3638cad
--- /dev/null
+++ b/_scss/_pages.events.scss
@@ -0,0 +1,15 @@
+.event {
+    display: block;
+    margin: 20px 0 50px 0;
+
+    img {
+        width: 100%;
+        border-radius: 10px;
+        box-shadow: 0 0 20px rgba(0,0,0,0.2);
+        transition: 0.3s;
+    }
+
+    &:hover img {
+        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
+    }
+}
diff --git a/_scss/main.scss b/_scss/main.scss
index da3e661..2647a2e 100644
--- a/_scss/main.scss
+++ b/_scss/main.scss
@@ -102,6 +102,7 @@ body {
 @import 'pages.faq';
 @import 'pages.maillist';
 @import 'pages.cheatsheet';
+@import 'pages.events';
 
 #apache-banner {
     position: fixed;
diff --git a/images/event/20200128-apache-echarts-5.png b/images/event/20200128-apache-echarts-5.png
new file mode 100644
index 0000000..188a936
Binary files /dev/null and b/images/event/20200128-apache-echarts-5.png differ


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


[echarts-www] 02/02: feat(event): add event in index page

Posted by ov...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 8fab204a792f93ea6ac59689c45cad12341769ad
Author: Ovilia <zw...@gmail.com>
AuthorDate: Wed Jan 20 17:47:57 2021 +0800

    feat(event): add event in index page
---
 _jade/zh/index.jade | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/_jade/zh/index.jade b/_jade/zh/index.jade
index db9aa34..7c3c4b4 100644
--- a/_jade/zh/index.jade
+++ b/_jade/zh/index.jade
@@ -30,6 +30,12 @@ block content
                                 +svgGithub('#081642')
                     .home-chart
                         img(src="images/index-home-pie.png")
+
+            section
+                .container
+                    a.event(href='https://echarts-5-live.bj.bcebos.com/echarts-5-event.html?ref=ec-event')
+                        img.lazy(data-src="#{cdnPayRoot}/#{ecWWWLang}/images/event/20200128-apache-echarts-5.png?_v_=#{cdnPayVersion}")
+
             section#feature-section
                 .container
                     .index-features
@@ -142,3 +148,9 @@ block extra_js
     script(src='https://cdn.jsdelivr.net/npm/vanilla-lazyload@12.0.0/dist/lazyload.min.js')
     script(src='#{cdnPayRoot}/#{ecWWWLang}/js/index.js?_v_=#{homeVersion}')
     <script async defer src="https://buttons.github.io/buttons.js"></script>
+
+    script.
+        window.lazyLoadOptions = {
+            elements_selector: ".lazy"
+        };
+    script(src='https://cdn.jsdelivr.net/npm/vanilla-lazyload@12.0.0/dist/lazyload.min.js')


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