Skip to content

Commit ae8f5ab

Browse files
committed
outline video and new tutorial icon
1 parent 50a5657 commit ae8f5ab

File tree

4 files changed

+22
-18
lines changed

4 files changed

+22
-18
lines changed

_posts/landing/2016-02-01-atom-coderoad.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ actions:
44
- atom-coderoad:
55
title: Atom-CodeRoad
66
href: /atom-coderoad.html
7-
image:
8-
id: atom-coderoad
9-
href: atom-coderoad-demo
10-
alt: Atom-CodeRoad Demo
11-
src: images/demos/atom-coderoad.jpg
7+
video:
8+
src: DbLpdgrYVOU
129
height: 328px
1310
width: 574px
1411
categories:

_posts/landing/2016-02-02-builder-coderoad.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ actions:
55
title: Builder-CodeRoad
66
href: /builder-coderoad.html
77
image:
8-
id: builder-coderoad
9-
href: builder-coderoad-demo
10-
alt: Builder-CodeRoad Demo
11-
src: images/demos/builder-demo.jpg
12-
height: 328px
13-
width: 574px
8+
id: tutorial-overview
9+
alt: CodeRoad Tutorial Overview
10+
src: images/landing/elements.svg
11+
height: 300px
12+
width: 300px
1413
categories:
1514
- features
1615
---
1716

18-
Build tutorials using simple and familiar tools: [Markdown](//www.markdowntutorial.com/) & unit tests. Making tutorials is easy with the new "builder-coderoad" plugin.
17+
Build tutorials using simple and familiar tools: **Markdown** & **Unit Tests**. Making tutorials is easy with the new Builder-CodeRoad plugin.
File renamed without changes.

index.html

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,26 @@ <h2>{{summary.title}}</h2>
4141
{% if feature.image.href %}
4242
<a id="{{feature.image.id}}" href="#{{feature.image.href}}" class="modal-link">
4343
{% endif %}
44+
45+
{% if feature.image %}
4446
<img
4547
class="lazy"
4648
alt="{{feature.image.alt}}"
4749
src="{{feature.image.src}}"
4850
height="{{feature.image.height}}"
4951
width="{{feature.image.height}}"
5052
/>
53+
{% endif %}
54+
55+
{% if feature.video.src %}
56+
<iframe
57+
width="{{feature.video.width}}"
58+
height="{{feature.video.height}}"
59+
src="https://www.youtube.com/embed/{{feature.video.src}}"
60+
frameborder="0"
61+
allowfullscreen></iframe>
62+
{% endif %}
63+
5164
{% if feature.image.href %}
5265
</a>
5366
{% endif %}
@@ -92,9 +105,4 @@ <h2>Accelerated Education</h2>
92105
<li><a href="/overview.html" class="button fit">Overview</a></li>
93106
</ul>
94107
</div>
95-
</section>
96-
97-
98-
<!-- modals -->
99-
{% include modal.html id="atom-coderoad-demo" title="Atom-CodeRoad" image="atom-coderoad.gif" %}
100-
{% include modal.html id="builder-coderoad-demo" title="Builder-CodeRoad" image="builder-demo.gif" %}
108+
</section>

0 commit comments

Comments
 (0)