Skip to content

Commit 710eaf1

Browse files
committed
presentation section styles
1 parent dac4491 commit 710eaf1

File tree

10 files changed

+96
-3
lines changed

10 files changed

+96
-3
lines changed

Diff for: _i18n/cn.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,5 @@ sponsors_bronze: 铜牌赞助商
117117

118118
about_organizer: Wiredcraft是一家本部位于上海的电子科技公司,在美国华盛顿及德国柏林均有分部。我们的专长是设计、数据科学,API和 DevOps,我们曾帮助世界银行实现开源数据门户的数据可视化,为25年来缅甸第一次民主选举设计选票系统。我们通过每月组织线下活动(UIUX meetup, JS meetup, Hacker News meetup, Docker meetup)来支持本土科技与设计社区,每年我们都组织JS Conf及UI/UX Conf China。
119119
media_partner_exclusive: 独家直播平台
120-
watch_us_online: 大会直播前往
120+
watch_us_online: 大会直播前往
121+
header_deck: 演讲文档

Diff for: _i18n/en.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,5 @@ sponsors_gold: Gold Sponsor
129129
sponsors_bronze: Bronze Sponsor
130130
about_organizer: Wiredcraft is a full service digital agency based in Shanghai, Washington DC and Berlin. We are Design, Data Science, API and DevOps experts. Think data visualizations for the World Bank Open Data Portal, or election software for the first democratic elections in Myanmar in 25 years. We support our local tech and design communities by organizing monthly meetups, JSConf China and UI/UX Conf China.
131131
media_partner_exclusive: Live streaming Partner
132-
watch_us_online: Watch us online
132+
watch_us_online: Watch us online
133+
header_deck: Presentation

Diff for: _includes/header.html

+2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
{% endif %}
2121
{% if site.lang == 'cn' %}
2222
<a href='/#schedule'>{% t header_schedule %}</a>
23+
<a href='/#schedule'>{% t header_deck %}</a>
2324
{% else %}
2425
<a href='/en/#schedule'>{% t header_schedule %}</a>
26+
<a href='/en/#schedule'>{% t header_deck %}</a>
2527
{% endif %}
2628
</div>
2729
<button class='close'></button>

Diff for: _includes/homepage.html

+8
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ <h2>{% t present_speakers %}</h2>
3535
</span></a>
3636
{% if site.lang == 'cn' %}
3737
<div class="speakerTopic">
38+
{% if presentspeaker.user == 'huangxuan' %}
39+
<a href="{{presentspeaker.file}}" target="new">
40+
{% else %}
3841
<a href="/files/{{presentspeaker.file}}" target="new">
42+
{% endif %}
3943
{{ presentspeaker.topicCN }}
4044
</a>
4145
</div>
@@ -48,7 +52,11 @@ <h2>{% t present_speakers %}</h2>
4852
{% endif %}
4953
{% else %}
5054
<div class="speakerTopic">
55+
{% if presentspeaker.user == 'huangxuan' %}
56+
<a href="{{presentspeaker.file}}" target="new">
57+
{% else %}
5158
<a href="/files/{{presentspeaker.file}}" target="new">
59+
{% endif %}
5260
{{ presentspeaker.topicEN }}
5361
</a>
5462
</div>

Diff for: _includes/schedule-day1.html

+20
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
{% else %}
4040
{{ yangyang[0].topicEN }}
4141
{% endif %}
42+
<a href="/files/{{yangyang[0].file}}" target="new" class="deck-link">
43+
<span>Slide</span>
44+
<svg class="icon-svg icon-download"><use xlink:href="#icon-download"></use></svg>
45+
</a>
4246
</div>
4347
<div class="speaker">
4448
{{ yangyang[0].name }}
@@ -81,6 +85,10 @@
8185
{% else %}
8286
{{ evanyou[0].topicEN }}
8387
{% endif %}
88+
<a href="/files/{{evanyou[0].file}}" target="new" class="deck-link">
89+
<span>Slide</span>
90+
<svg class="icon-svg icon-download"><use xlink:href="#icon-download"></use></svg>
91+
</a>
8492
</div>
8593
<div class="speaker">
8694
{{ evanyou[0].name }}
@@ -104,6 +112,10 @@
104112
{% else %}
105113
{{ neonie[0].topicEN }}
106114
{% endif %}
115+
<a href="/files/{{neonie[0].file}}" target="new" class="deck-link">
116+
<span>Slide</span>
117+
<svg class="icon-svg icon-download"><use xlink:href="#icon-download"></use></svg>
118+
</a>
107119
</div>
108120
<div class="speaker">
109121
{{ neonie[0].name }}
@@ -123,6 +135,10 @@
123135
{% else %}
124136
{{ ryanchen[0].topicEN }}
125137
{% endif %}
138+
<a href="/files/{{ryanchen[0].file}}" target="new" class="deck-link">
139+
<span>Slide</span>
140+
<svg class="icon-svg icon-download"><use xlink:href="#icon-download"></use></svg>
141+
</a>
126142
</div>
127143
<div class="speaker">
128144
{{ ryanchen[0].name }}
@@ -142,6 +158,10 @@
142158
{% else %}
143159
{{ huangxuan[0].topicEN }}
144160
{% endif %}
161+
<a href="{{huangxuan[0].file}}" target="new" class="deck-link">
162+
<span>Slide</span>
163+
<svg class="icon-svg icon-download"><use xlink:href="#icon-download"></use></svg>
164+
</a>
145165
</div>
146166
<div class="speaker">
147167
{{ huangxuan[0].name }}

Diff for: _includes/schedule-day2.html

+29-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
{% else %}
1919
{{ wyattlyonpreul[0].topicEN }}
2020
{% endif %}
21-
</div>
21+
<a href="/files/{{wyattlyonpreul[0].file}}" target="new" class="deck-link">
22+
<span>Slide</span>
23+
<svg class="icon-svg icon-download"><use xlink:href="#icon-download"></use></svg>
24+
</a>
25+
</div>
2226
<div class="speaker">
2327
{{ wyattlyonpreul[0].name }}
2428
</div>
@@ -38,6 +42,10 @@
3842
{% else %}
3943
{{ puling[0].topicEN }}
4044
{% endif %}
45+
<a href="/files/{{puling[0].file}}" target="new" class="deck-link">
46+
<span>Slide</span>
47+
<svg class="icon-svg icon-download"><use xlink:href="#icon-download"></use></svg>
48+
</a>
4149
</div>
4250
<div class="speaker">
4351
{{ puling[0].name }}
@@ -58,6 +66,10 @@
5866
{% else %}
5967
{{ jonashelfer[0].topicEN }}
6068
{% endif %}
69+
<a href="/files/{{jonashelfer[0].file}}" target="new" class="deck-link">
70+
<span>Slide</span>
71+
<svg class="icon-svg icon-download"><use xlink:href="#icon-download"></use></svg>
72+
</a>
6173
</div>
6274
<div class="speaker">
6375
{{ jonashelfer[0].name }}
@@ -78,6 +90,10 @@
7890
{% else %}
7991
{{ joelarvidsson[0].topicEN }}
8092
{% endif %}
93+
<a href="/files/{{joelarvidsson[0].file}}" target="new" class="deck-link">
94+
<span>Slide</span>
95+
<svg class="icon-svg icon-download"><use xlink:href="#icon-download"></use></svg>
96+
</a>
8197
</div>
8298
<div class="speaker">
8399
{{ joelarvidsson[0].name }}
@@ -95,6 +111,10 @@
95111
<div class="time-table-col main-right">
96112
<div class="topic">
97113
Graduating your node.js API to production environment
114+
<a href="/files/12-nodejs-for-the-production-juha-makara.pdf" target="new" class="deck-link">
115+
<span>Slide</span>
116+
<svg class="icon-svg icon-download"><use xlink:href="#icon-download"></use></svg>
117+
</a>
98118
</div>
99119
<div class="speaker">
100120
Juha Suomalainen/Makara Wang
@@ -114,6 +134,10 @@
114134
{% else %}
115135
{{ yangjianghua[0].topicEN }}
116136
{% endif %}
137+
<a href="/files/{{yangjianghua[0].file}}" target="new" class="deck-link">
138+
<span>Slide</span>
139+
<svg class="icon-svg icon-download"><use xlink:href="#icon-download"></use></svg>
140+
</a>
117141
</div>
118142
<div class="speaker">
119143
{{ yangjianghua[0].name }}
@@ -133,6 +157,10 @@
133157
{% else %}
134158
{{ zhenye[0].topicEN }}
135159
{% endif %}
160+
<a href="/files/{{zhenye[0].file}}" target="new" class="deck-link">
161+
<span>Slide</span>
162+
<svg class="icon-svg icon-download"><use xlink:href="#icon-download"></use></svg>
163+
</a>
136164
</div>
137165
<div class="speaker">
138166
{{ zhenye[0].name }}

Diff for: _layouts/default.html

+8
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@
3838
<!-- End Google Tag Manager -->
3939
</head>
4040
<body{% if page.class %} class='page-{{ page.class }}' {% endif %}>
41+
<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
42+
<defs>
43+
<symbol id="icon-download" viewBox="0 0 26 28">
44+
<title>download</title>
45+
<path d="M20 21c0-0.547-0.453-1-1-1s-1 0.453-1 1 0.453 1 1 1 1-0.453 1-1zM24 21c0-0.547-0.453-1-1-1s-1 0.453-1 1 0.453 1 1 1 1-0.453 1-1zM26 17.5v5c0 0.828-0.672 1.5-1.5 1.5h-23c-0.828 0-1.5-0.672-1.5-1.5v-5c0-0.828 0.672-1.5 1.5-1.5h7.266l2.109 2.125c0.578 0.562 1.328 0.875 2.125 0.875s1.547-0.313 2.125-0.875l2.125-2.125h7.25c0.828 0 1.5 0.672 1.5 1.5zM20.922 8.609c0.156 0.375 0.078 0.812-0.219 1.094l-7 7c-0.187 0.203-0.453 0.297-0.703 0.297s-0.516-0.094-0.703-0.297l-7-7c-0.297-0.281-0.375-0.719-0.219-1.094 0.156-0.359 0.516-0.609 0.922-0.609h4v-7c0-0.547 0.453-1 1-1h4c0.547 0 1 0.453 1 1v7h4c0.406 0 0.766 0.25 0.922 0.609z"></path>
46+
</symbol>
47+
</defs>
48+
</svg>
4149
<!-- Google Tag Manager (noscript) -->
4250
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P3K9SWV"
4351
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

Diff for: dist/scss/defaults/_icon.scss

+14
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,17 @@
1717
text-transform: none;
1818
-webkit-font-smoothing: antialiased;
1919
}
20+
21+
.icon {
22+
&-svg {
23+
display: inline-block;
24+
width: 1rem;
25+
height: 1.2rem;
26+
stroke-width: 0;
27+
stroke: currentColor;
28+
fill: currentColor;
29+
}
30+
&-download {
31+
width: 0.9287109375em;
32+
}
33+
}

Diff for: dist/scss/pages/_homepage.scss

+8
Original file line numberDiff line numberDiff line change
@@ -769,3 +769,11 @@
769769
}
770770
}
771771
}
772+
773+
.deck-link {
774+
display: inline-block;
775+
border: 1px solid #4921CC;
776+
font-size: 1.6rem;
777+
padding: 0 5px;
778+
line-height: normal;
779+
}

Diff for: main.css

+3
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ td,th{padding:0}
110110
.slick-initialized .slick-slide{display:block}
111111
.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}
112112
@font-face{font-family:icons;src:url(/dist/fonts/icons.eot);src:url(/dist/fonts/icons.eot?#iefix) format("embedded-opentype"),url(/dist/fonts/icons.woff) format("woff"),url(/dist/fonts/icons.ttf) format("truetype"),url(/dist/fonts/icons.svg#Icons) format("svg");font-weight:400;font-style:normal}
113+
.icon-svg{display:inline-block;width:1rem;height:1.2rem;stroke-width:0;stroke:currentColor;fill:currentColor}
114+
.icon-download{width:.9287109375em}
113115
@media (max-width:640px){.slick-slide img{max-width:100%}
114116
html{font-size:50%}
115117
}
@@ -465,6 +467,7 @@ button.close:hover:before{opacity:.8}
465467
@media (min-width:1024px){#schedule .schedule-details-heading .title{line-height:1.5}
466468
#organizer p{width:60%}
467469
}
470+
.deck-link{display:inline-block;border:1px solid #4921CC;font-size:1.6rem;padding:0 5px;line-height:normal}
468471
.content h2{margin-bottom:48px}
469472
.content .action{width:100%;text-align:center}
470473
.content .action .button{display:inline-block;margin:84px auto}

0 commit comments

Comments
 (0)