Skip to content
Permalink
Browse files
feat(event): add event in index page
  • Loading branch information
Ovilia committed Jan 20, 2021
1 parent 45e8629 commit 8fab204a792f93ea6ac59689c45cad12341769ad
Showing 1 changed file with 12 additions and 0 deletions.
@@ -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')

0 comments on commit 8fab204

Please sign in to comment.