Skip to content

Commit b642613

Browse files
committed
initial content
0 parents  commit b642613

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2678
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.DS_Store
2+
_site
3+
.sass-cache
4+
.jekyll-metadata
5+
Gemfile.lock

Gemfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
source "https://rubygems.org"
2+
3+
# Hello! This is where you manage which Jekyll version is used to run.
4+
# When you want to use a different version, change it below, save the
5+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
6+
#
7+
# bundle exec jekyll serve
8+
#
9+
# This will help ensure the proper Jekyll version is running.
10+
11+
12+
group :jekyll_plugins do
13+
gem 'jekyll-livereload'
14+
gem "github-pages"
15+
end
16+
17+
gem "json"
18+
19+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
20+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
learn-js

_config.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
11+
# Site settings
12+
title: "Node Girls"
13+
workshopname: "Learn Javascript"
14+
email: your-email@domain.com
15+
description: > # this means to ignore newlines until "baseurl:"
16+
This is an introductory workshop for Javascript
17+
baseurl: "/learn-js" # the subpath of your site, e.g. /blog
18+
url: "" # the base hostname & protocol for your site, e.g. http://example.com
19+
20+
# Build settings
21+
markdown: kramdown
22+
# theme: node-girls
23+
24+
collections:
25+
steps:
26+
output: true
27+
28+
plugins:
29+
- jekyll-feed
30+
- jemoji
31+
32+
exclude:
33+
- Gemfile
34+
- Gemfile.lock

_includes/disqus_comments.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{% if page.comments != false and jekyll.environment == "production" %}
2+
3+
<div id="disqus_thread"></div>
4+
<script>
5+
var disqus_config = function () {
6+
this.page.url = '{{ page.url | absolute_url }}';
7+
this.page.identifier = '{{ page.url | absolute_url }}';
8+
};
9+
10+
(function() {
11+
var d = document, s = d.createElement('script');
12+
13+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
14+
15+
s.setAttribute('data-timestamp', +new Date());
16+
(d.head || d.body).appendChild(s);
17+
})();
18+
</script>
19+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20+
{% endif %}

_includes/footer.html

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<footer class="site-footer">
2+
3+
<div class="wrapper">
4+
5+
<div class="social-media centered">
6+
<ul>
7+
<li><i class="fa fa-home" aria-hidden="true"></i>&nbsp;&nbsp;<a href="http://nodegirls.com.au/" target="_blank">nodegirls.com.au</a></li>
8+
<li><i class="fa fa-paper-plane-o" aria-hidden="true"></i>&nbsp;&nbsp;<a href="mailto:info@nodegirls.com.au">info@nodegirls.com.au</a></li>
9+
</ul>
10+
<ul>
11+
<li><i class="fa fa-facebook" aria-hidden="true"></i>&nbsp;&nbsp;&nbsp;<a href="https://www.facebook.com/NodeGirlsAustralia/" target="_blank">facebook.com/NodeGirlsAustralia</a></li>
12+
<li><i class="fa fa-github-alt" aria-hidden="true"></i>&nbsp;&nbsp;<a href="https://github.com/node-girls-australia" target="_blank">github.com/node-girls-australia</a></li>
13+
<li><i class="fa fa-twitter" aria-hidden="true"></i>&nbsp;&nbsp;<a href="https://twitter.com/NodeGirlsBri" target="_blank">twitter.com/NodeGirlsBri</a></li>
14+
</ul>
15+
</div>
16+
<!-- <h2 class="footer-heading">{{ site.title | escape }}</h2>
17+
18+
<div class="footer-col-wrapper">
19+
<div class="footer-col footer-col-1">
20+
<ul class="contact-list">
21+
<li>
22+
{% if site.author %}
23+
{{ site.author | escape }}
24+
{% else %}
25+
{{ site.title | escape }}
26+
{% endif %}
27+
</li>
28+
{% if site.email %}
29+
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
30+
{% endif %}
31+
</ul>
32+
</div>
33+
34+
<div class="footer-col footer-col-2">
35+
<ul class="social-media-list">
36+
{% if site.github_username %}
37+
<li>
38+
{% include icon-github.html username=site.github_username %}
39+
</li>
40+
{% endif %}
41+
42+
{% if site.twitter_username %}
43+
<li>
44+
{% include icon-twitter.html username=site.twitter_username %}
45+
</li>
46+
{% endif %}
47+
</ul>
48+
</div>
49+
50+
<div class="footer-col footer-col-3">
51+
<p>{{ site.description | escape }}</p>
52+
</div>
53+
</div>
54+
55+
</div> -->
56+
57+
</footer>

_includes/google-analytics.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<script>
2+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
6+
7+
ga('create', '{{ site.google_analytics }}', 'auto');
8+
ga('send', 'pageview');
9+
10+
</script>
11+

_includes/head.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
6+
<title>{% if page.title %}NodeGirls: {{ page.title | escape }}{% else %}NodeGirls {{ site.workshopname | escape }}{% endif %}</title>
7+
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
8+
<link rel="icon" type="image/x-icon" href="/express-workshop-2/favicon.ico" />
9+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
10+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
11+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
12+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
13+
14+
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
15+
<script>
16+
$(document).ready(function(){
17+
$('div.solution').each( function(){
18+
$(this).prepend('<h5 class="toggle hiding"><i class="fa fa-chevron-up" aria-hidden="true"></i> Click to <span class="action"></span> solution</h5>');
19+
});
20+
$('div.solution .highlight').first().addClass('hidden');
21+
$('h5.toggle').click(function(e){
22+
$(this).parent().children('.highlight').first().slideToggle('show');
23+
$(this).toggleClass('showing');
24+
$(this).toggleClass('hiding');
25+
$(this).children('i.fa').toggleClass('fa-chevron-up');
26+
$(this).children('i.fa').toggleClass('fa-chevron-down');
27+
28+
});
29+
});
30+
</script>
31+
{% if jekyll.environment == 'production' and site.google_analytics %}
32+
{% include google-analytics.html %}
33+
{% endif %}
34+
</head>

_includes/header.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<header class="site-header" role="banner">
2+
3+
<div class="wrapper">
4+
{% assign default_paths = site.pages | map: "path" %}
5+
{% assign page_paths = site.header_pages | default: default_paths %}
6+
<a class="site-title" href="{{ "/" | relative_url }}">{{ site.title | escape }} <small>{{ site.workshopname | escape }}</small></a>
7+
8+
{% if page_paths %}
9+
<nav class="site-nav">
10+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
11+
<label for="nav-trigger">
12+
<span class="menu-icon">
13+
<svg viewBox="0 0 18 15" width="18px" height="15px">
14+
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
15+
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
16+
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
17+
</svg>
18+
</span>
19+
</label>
20+
21+
<div class="trigger">
22+
<a class="page-link" href="{{ '/' | relative_url }}">Home</a>
23+
<a class="page-link go-link" href="{{ 'step0/' | relative_url }}"><i class="fa fa-rocket" aria-hidden="true"></i> Start</a>
24+
</div>
25+
</nav>
26+
{% endif %}
27+
</div>
28+
</header>

_includes/icon-github.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>

0 commit comments

Comments
 (0)