Skip to content

Commit 25fd84f

Browse files
committed
updates
1 parent cdd3683 commit 25fd84f

File tree

8 files changed

+254
-263
lines changed

8 files changed

+254
-263
lines changed

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44

55
url: http://coadroad.io
66
title: CodeRoad
7-
email: shawn.j.mckay@gmail.com
7+
email: coderoadapp@gmail.com
88
author: Shawn McKay
99
description: > # "Free interactive coding tutorials inside of the Atom editor. Build your own tutorials
1010
using the coderoad-cli and tools developers already know: markdown and unit tests.
11-
copyright: 'Copyright © 2016 Shawn McKay, Vancouver, BC. All Rights Reserved.'
12-
credits: ''
1311

1412
# ----------------------- #
1513
# Jekyll & Plugins #
@@ -30,6 +28,8 @@ social:
3028
- title: coderoad CLI
3129
icon: github
3230
url: https://github.com/coderoad/coderoad-cli
31+
purpose: Make
3332
- title: atom plugin
3433
icon: github
3534
url: https://github.com/coderoad/atom-coderoad
35+
purpose: Play

_includes/contact.html

Lines changed: 24 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,30 @@
11
<section id="contact">
22
<div class="banner">
33
<div class="container">
4-
5-
<div class="row">
6-
<div class="col-lg-3">
7-
<h2>Contact:</h2>
8-
</div>
9-
<div class="col-lg-9">
10-
11-
<br>
12-
<ul class="list-inline banner-social-buttons">
13-
<li id="mc_embed_signup">
14-
<form class="form-inline" action="//herokuapp.us11.list-manage.com/subscribe/post?u=324732fa284e63ca555b47978&amp;id=5f3f4f5086" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
15-
<label class="sr-only" style="text-align:center">Subscribe to our mailing list</label>
16-
<div class="form-group">
17-
<input type="email" value="" class="form-control input-lg" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" style="font-family: Lato,Helvetica,Arial,sans-serif" required>
18-
<button type="submit" name="subscribe" id="mc-embedded-subscribe" class="btn btn-default btn-lg">
19-
<span class="network-name">Subscribe To Mail List</span>
20-
</button>
21-
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
22-
<div style="position: absolute; left: -5000px;" aria-hidden="true">
23-
<input type="text" name="b_324732fa284e63ca555b47978_5f3f4f5086" tabindex="-1" value="">
24-
</div>
25-
</div>
26-
</form>
27-
</li>
28-
29-
<li>
30-
<a href="mailto:[email protected]?subject=CodeRoad" class="btn btn-default btn-lg"><i class="fa fa-envelope-o fa-fw"></i> <span class="network-name">Email</span></a>
31-
</li>
32-
<li>
33-
<a href="https://twitter.com/sh_mck" class="btn btn-default btn-lg"><i class="fa fa-twitter fa-fw"></i> <span class="network-name">@Sh_McK</span></a>
34-
</li>
35-
</ul>
36-
</div>
37-
</div>
38-
4+
<ul class="banner-social-buttons">
5+
<li id="mc_embed_signup">
6+
<form class="form-inline" action="//herokuapp.us11.list-manage.com/subscribe/post?u=324732fa284e63ca555b47978&amp;id=5f3f4f5086" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
7+
<label class="sr-only" style="text-align:center">Subscribe to our mailing list</label>
8+
<div class="form-group">
9+
<input type="email" value="" class="form-control" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" style="font-family: Lato,Helvetica,Arial,sans-serif" required>
10+
<button type="submit" name="subscribe" id="mc-embedded-subscribe" class="btn btn-default">
11+
<i class="fa fa-envelope-o fa-fw"></i>
12+
<span class="network-name"> Subscribe To Mail List</span>
13+
</button>
14+
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
15+
<div style="position: absolute; left: -5000px;" aria-hidden="true">
16+
<input type="text" name="b_324732fa284e63ca555b47978_5f3f4f5086" tabindex="-1" value="">
17+
</div>
18+
</div>
19+
</form>
20+
</li>
21+
<li>
22+
<a href="https://twitter.com/coderoadapp" class="btn btn-default"><i class="fa fa-twitter fa-fw"></i> <span class="network-name">@coderoadapp</span></a>
23+
</li>
24+
<li>
25+
<a href="mailto:[email protected]?subject=CodeRoad" class="btn btn-default"><i class="fa fa-envelope-o fa-reply"></i><span class="network-name"> Email</span></a>
26+
</li>
27+
</ul>
3928
</div>
4029
<!-- /.container -->
4130

_includes/footer.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,18 @@
2020
<a href="#contact">Contact</a>
2121
</li>
2222
</ul>
23-
<p class="copyright text-muted small">{{ site.copyright }}</p>
23+
<p class="copyright text-muted small">
24+
Copyright &copy; 2016 Shawn McKay (<a href="https://twitter.com/sh_mck" target="_blank">@Sh_McK</a>), Vancouver, BC. All Rights Reserved.
25+
</p>
2426
</div>
2527
<div class="col-md-4">
26-
{{ site.credits }}
28+
<!-- promotion -->
29+
<!-- <ul class="promotion">
30+
<li><a href="https://news.ycombinator.com/submit" class="hn-button" data-title="CodeRoad: Free Open-Sourced Interactive Coding Tutorials" data-url="https://coderoad.github.io" data-count="horizontal" data-style="twitter">Vote on Hacker News</a></li>
31+
<li><a class="twitter-hashtag-button" href="https://twitter.com/intent/tweet?button_hashtag=CodeRoad">
32+
Tweet #CodeRoad</a></li>
33+
</ul> -->
34+
<!-- end promotion -->
2735
</div>
2836
</div>
2937
</div>

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<link href="css/bootstrap.min.css" rel="stylesheet">
1515

1616
<!-- Custom CSS -->
17-
<link href="css/landing-page.min.css" rel="stylesheet">
17+
<link href="css/landing-page.css" rel="stylesheet">
1818
<link href="css/prism.min.css" rel="stylesheet">
1919

2020
<!-- Custom Fonts -->

_includes/header.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ <h3>{{ page.subTitle }}</h3>
4545
<ul class="list-inline intro-social-buttons">
4646
{% for social in site.social %}
4747
<li>
48-
<a href="{{ social.url }}" class="btn btn-default btn-lg"><i class="fa fa-{{ social.icon }} fa-fw"></i> <span class="network-name">{{ social.title }}</span></a>
48+
<!-- <h3>{{ social.purpose }}</h3> -->
49+
<a href="{{ social.url }}" target="_blank" class="btn btn-default btn-lg"><i class="fa fa-{{ social.icon }} fa-fw"></i> <span class="network-name">{{ social.title }}</span></a>
4950
</li>
5051
{% endfor %}
5152
</ul>
5253
</div>
54+
5355
</div>
5456
</div>
5557

_includes/js.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,22 @@
2929
<script type="text/javascript" src="js/fontsmoothie.min.js" async></script>
3030

3131
<script src="js/prism.js"></script>
32+
33+
<script>window.twttr = (function(d, s, id) {
34+
var js, fjs = d.getElementsByTagName(s)[0],
35+
t = window.twttr || {};
36+
if (d.getElementById(id)) return t;
37+
js = d.createElement(s);
38+
js.id = id;
39+
js.src = "https://platform.twitter.com/widgets.js";
40+
fjs.parentNode.insertBefore(js, fjs);
41+
42+
t._e = [];
43+
t.ready = function(f) {
44+
t._e.push(f);
45+
};
46+
47+
return t;
48+
}(document, "script", "twitter-wjs"));</script>
49+
50+
<script type="text/javascript">var HN=[];HN.factory=function(e){return function(){HN.push([e].concat(Array.prototype.slice.call(arguments,0)))};},HN.on=HN.factory("on"),HN.once=HN.factory("once"),HN.off=HN.factory("off"),HN.emit=HN.factory("emit"),HN.load=function(){var e="hn-button.js";if(document.getElementById(e))return;var t=document.createElement("script");t.id=e,t.src="//hn-button.herokuapp.com/hn-button.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)},HN.load();</script>

_includes/page_content.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,12 @@ <h2 class="section-heading">Free & Open-Sourced</h2>
5454
<!-- <hr class="section-heading-spacer"> -->
5555
<div class="clearfix"></div>
5656
<h2 class="section-heading">Inside of the Editor</h2>
57-
<div class="lead">Atom-CodeRoad is built inside the free <a href="https://atom.io">Atom Editor</a>, allowing you to use it alongside your favorite packages.</div>
57+
<div class="lead">Atom-CodeRoad is built inside the free <a href="https://atom.io" target="_blank">Atom Editor</a>, allowing you to use it alongside your favorite packages.</div>
5858
</div>
5959
<div class="col-lg-5 col-lg-offset-2 col-sm-6">
60+
<a href="https://atom.io" target="_blank">
6061
<img height="250px" src="img/services/atom-editor.png" alt="atom editor">
62+
</a>
6163
</div>
6264
</div>
6365

@@ -75,9 +77,9 @@ <h2 class="section-heading">Inside of the Editor</h2>
7577
<div class="col-lg-4 col-lg-offset-2 col-sm-push-6 col-sm-6">
7678
<!-- <hr class="section-heading-spacer"> -->
7779
<div class="clearfix"></div>
78-
<h2 class="section-heading">Write in Markdown</h2>
80+
<h2 class="section-heading">Build in Markdown</h2>
7981
<div class="lead">Write lessons using markdown. <br>
80-
See a <a href="https://github.com/coderoad/coderoad-functional-school/blob/master/tutorial/1/01/filter.md">tutorial file</a>.
82+
See a <a href="https://github.com/coderoad/coderoad-functional-school/blob/master/tutorial/1/01/filter.md" target="_blank">tutorial file</a>.
8183
<br>
8284
<br>
8385
Control the editor with a simple API:
@@ -136,17 +138,17 @@ <h2 class="section-heading">Write in Markdown</h2>
136138
<div class="col-lg-4 col-sm-6">
137139
<!-- <hr class="section-heading-spacer"> -->
138140
<div class="clearfix"></div>
139-
<h2 class="section-heading">Build with Dev Tools</h2>
141+
<h2 class="section-heading">Unit Test Feedback</h2>
140142
<div class="lead"> Write task feedback using unit tests.<br>
141-
See a <a href="https://github.com/coderoad/coderoad-functional-school/blob/master/tutorial/1/01/01-filter.spec.js">complete test file</a>.
143+
See a <a href="https://github.com/coderoad/coderoad-functional-school/blob/master/tutorial/1/01/01-filter.spec.js" target="_blank">complete test file</a>.
142144
<br>
143145
<br>
144146
<br>
145147
Currently supported:
146148
<br>
147149
<br>
148150
<ul>
149-
<li>Javascript: <a href="https://github.com/coderoad/mocha-coderoad">Mocha</a></li>
151+
<li>Javascript: <a href="https://github.com/coderoad/mocha-coderoad" target="_blank">Mocha</a></li>
150152
</ul>
151153
<br>
152154
<br>
@@ -155,7 +157,7 @@ <h2 class="section-heading">Build with Dev Tools</h2>
155157
</div>
156158
<div class="col-lg-6 col-lg-offset-2 col-sm-6">
157159
<pre><code class="language-js">
158-
describe('function isAda', function () {
160+
describe('01 function isAda', function () {
159161

160162
it('doesn\'t exist', function () {
161163
expect(isAda).to.not.be.undefined;
@@ -194,7 +196,7 @@ <h2 class="section-heading">Build with Dev Tools</h2>
194196
<!-- <hr class="section-heading-spacer"> -->
195197
<div class="clearfix"></div>
196198
<h2 class="section-heading">Compile with Coderoad-CLI</h2>
197-
<div class="lead">Building tutorials is easy with the <a href="https://github.com/coderoad/coderoad-cli">coderoad-cli</a>.
199+
<div class="lead">Building tutorials is easy with the <a href="https://github.com/coderoad/coderoad-cli" target="_blank">coderoad-cli</a>.
198200
</div>
199201
</div>
200202
<div class="col-lg-5 col-sm-pull-6 col-sm-6">

0 commit comments

Comments
 (0)