Skip to content
Permalink
Browse files
feat(event): add event pages
  • Loading branch information
Ovilia committed Jan 20, 2021
1 parent 0ef320a commit 2ad1c5abd0f0c2ddbf1c20e5137a5c7ab7d07d0c
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 0 deletions.
@@ -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';
@@ -0,0 +1,4 @@
extends layouts/redirect

block variables
- var redirectTo = 'events.html'
@@ -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')
@@ -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);
}
}
@@ -88,6 +88,7 @@ body {
@import 'pages.faq';
@import 'pages.maillist';
@import 'pages.cheatsheet';
@import 'pages.events';

#apache-banner {
position: fixed;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2ad1c5a

Please sign in to comment.