This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-www.git
commit 01aa8f62dc4f59ba13be59ae8f69d6da397718d4 Author: Ovilia <zwl.s...@gmail.com> AuthorDate: Thu May 13 16:23:58 2021 +0800 add event in index --- _jade/en/index.jade | 13 +++++++++++++ _jade/zh/index.jade | 8 ++++++++ _scss/_pages.index.scss | 4 ++++ 3 files changed, 25 insertions(+) diff --git a/_jade/en/index.jade b/_jade/en/index.jade index 5dface1..a4e332d 100644 --- a/_jade/en/index.jade +++ b/_jade/en/index.jade @@ -31,6 +31,15 @@ block content +svgGithub('#081642') .home-chart img(src="images/index-home-pie.png") + + section#events-section + .container + a.event(href='./events/2021-05-13-iscas.html') + picture + source.lazy(data-srcset="#{cdnPayRoot}/#{ecWWWLang}/images/event/20210513-iscas-en.webp?_v_=#{cdnPayVersion}", type="image/webp") + source.lazy(data-srcset="#{cdnPayRoot}/#{ecWWWLang}/images/event/20210513-iscas-en.jpeg?_v_=#{cdnPayVersion}", type="image/jpeg") + img.lazy(data-src="#{cdnPayRoot}/#{ecWWWLang}/images/event/20210513-iscas-en.jpeg?_v_=#{cdnPayVersion}", alt="Summer 2021 of Open Source Promotion Plan") + section#feature-section .container .index-features @@ -140,6 +149,10 @@ block content include ./footer block extra_js + script(type='text/javascript'). + window.lazyLoadOptions = { + elements_selector: ".lazy" + }; 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> diff --git a/_jade/zh/index.jade b/_jade/zh/index.jade index b8e5efd..720b03f 100644 --- a/_jade/zh/index.jade +++ b/_jade/zh/index.jade @@ -32,6 +32,14 @@ block content img(src="#{cdnPayRoot}/#{ecWWWLang}/images/index-home-pie.png?_v_=#{cdnPayVersion}") + section#events-section + .container + a.event(href='./events/2021-05-13-iscas.html') + picture + source.lazy(data-srcset="#{cdnPayRoot}/#{ecWWWLang}/images/event/20210513-iscas.webp?_v_=#{cdnPayVersion}", type="image/webp") + source.lazy(data-srcset="#{cdnPayRoot}/#{ecWWWLang}/images/event/20210513-iscas.jpeg?_v_=#{cdnPayVersion}", type="image/jpeg") + img.lazy(data-src="#{cdnPayRoot}/#{ecWWWLang}/images/event/20210513-iscas.jpeg?_v_=#{cdnPayVersion}", alt="开源软件供应链点亮计划 - 暑期 2021") + section#feature-section .container .index-features diff --git a/_scss/_pages.index.scss b/_scss/_pages.index.scss index d22aee1..70c6c79 100644 --- a/_scss/_pages.index.scss +++ b/_scss/_pages.index.scss @@ -127,6 +127,10 @@ body { } } + #events-section { + margin: 20px 0 60px 0; + } + .banner-section { position: relative; margin-top: -5px; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org