Skip to content

Commit 72b5276

Browse files
authored
Merge pull request #247 from xuyixuan1998/master
Added Three More Tutorials on Learn Page
2 parents d3cdeb1 + 86f9fce commit 72b5276

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

src/data/zh-Hans.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ learn:
202202
color: "数码颜色的简介。"
203203
coordinate-system-and-shapes-title: "坐标系统与图形"
204204
coordinate-system-and-shapes: "利用坐标系统绘制简单图形。"
205-
interactivity-title: "交互性"
206-
interactivity: "鼠标与键盘的交互简介"
205+
interactivity-title: "互动性"
206+
interactivity: "鼠标与键盘的互动简介"
207207
program-flow-title: "程序流程"
208208
program-flow: "p5.js 控制程序流程简介。"
209209
curves-title: "曲线"

src/templates/pages/learn/index.hbs

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,19 @@ slug: learn/
8686
<p>{{#i18n "using-local-server"}}{{/i18n}} </p>
8787
</div>
8888

89+
<div class="spacer"></div>
90+
91+
<div class="left-column">
92+
<a class="nounderline" href="p5-screen-reader.html">
93+
<div class="label">
94+
<img src="{{assets}}/img/learn/lib_placeholder.jpg">
95+
</a>
96+
<a class="nounderline" href="p5-screen-reader.html">
97+
<h4>{{#i18n "p5-screen-reader-title"}}{{/i18n}} </h4>
98+
</a>
99+
</div>
100+
<p>{{#i18n "p5-screen-reader"}}{{/i18n}}</p>
101+
</div>
89102

90103
<div class="spacer"></div>
91104

@@ -222,10 +235,6 @@ slug: learn/
222235
<p>{{#i18n "debugging"}}{{/i18n}}</p>
223236
</div>
224237

225-
226-
227-
228-
229238
<div class="right-column">
230239
<a class="nounderline" href="https://github.com/processing/p5.js/wiki/Optimizing-p5.js-Code-for-Performance">
231240
<div class="label">
@@ -235,6 +244,7 @@ slug: learn/
235244
</div>
236245
<p>{{#i18n "optimizing"}}{{/i18n}}</p>
237246
</div>
247+
238248
<div class="spacer"></div>
239249

240250
<div class="left-column">
@@ -249,7 +259,6 @@ slug: learn/
249259
<p>{{#i18n "test-driven-development"}}{{/i18n}}</p>
250260
</div>
251261

252-
253262
<div class="spacer"></div>
254263

255264
<h2 class="tutorial-title">{{#i18n "contributing-to-the-community-title"}}{{/i18n}}</h2>
@@ -267,7 +276,6 @@ slug: learn/
267276
<p>{{#i18n "development"}}{{/i18n}}</p>
268277
</div>
269278

270-
271279
<div class="right-column">
272280
<a class="nounderline" href="http://www.luisapereira.net/teaching/looking-inside-p5/">
273281
<div class="label">
@@ -303,9 +311,6 @@ slug: learn/
303311
<p>{{#i18n "creating-libraries"}}{{/i18n}}</p>
304312
</div>
305313

306-
307-
308-
309314
<div class="spacer"></div>
310315

311316
</section>

0 commit comments

Comments
 (0)