Skip to content

Commit

Permalink
Merge pull request #1 from Birch-san/complicate
Browse files Browse the repository at this point in the history
This is fine work, Alex
  • Loading branch information
Birch-san committed Mar 11, 2016
2 parents de08c65 + 3bc11c3 commit 3a0d44c
Show file tree
Hide file tree
Showing 81 changed files with 421 additions and 254 deletions.
5 changes: 5 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"presets": [
"es2015-native-modules"
]
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
dist
cache
24 changes: 24 additions & 0 deletions build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/* eslint no-var: 0 */
var exec = require('child_process').exec;

var cmdLine = './node_modules/.bin/webpack --progress';
var environ = (!process.argv[2].indexOf('development')) ? 'development' : 'production';
var command;

if (process.platform === 'win32') {
cmdLine = 'set NODE_ENV=' + environ + '&& ' + cmdLine;
} else {
cmdLine = 'NODE_ENV=' + environ + ' ' + cmdLine;
}

command = exec(cmdLine);

command.stdout.on('data', function(data) {
process.stdout.write(data);
});
command.stderr.on('data', function(data) {
process.stderr.write(data);
});
command.on('error', function(err) {
process.stderr.write(err);
});
25 changes: 7 additions & 18 deletions about.html → client/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
<main>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="games.html">Games</a></li>
<li><a href="art.html">Art</a></li>
<li><a href="experiments.html">Experiments</a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="music.html">Music</a></li>
<li><a href="../index.html">Home</a></li>
<li><a href="../games/index.html">Games</a></li>
<li><a href="../art/index.html">Art</a></li>
<li><a href="../experiments/index.html">Experiments</a></li>
<li><a href="../blog/index.html">Blog</a></li>
<li><a href="../music/index.html">Music</a></li>
<li><b>About</b></li>
</ul>
</nav>
Expand Down Expand Up @@ -70,7 +70,7 @@ <h2><small>History</small></h2>
</p>
<p>The Birchlabs.co.uk of today continues to archive our legacy of Flash games. The plain-text site redesign will enable mobile users to enjoy the website.
</p>
<p>My favourite game here is Commando 3; it implements powerful RTS mechanics despite being a "coffee break" game. Invasion 5 is the most technically interesting game here (see <a href="experiments.html#Invasion5">Experiments</a>).
<p>My favourite game here is Commando 3; it implements powerful RTS mechanics despite being a "coffee break" game. Invasion 5 is the most technically interesting game here (see <a href="../experiments/index.html#Invasion5">Experiments</a>).
<br>
&mdash; Alex
</p>
Expand All @@ -82,17 +82,6 @@ <h2><small>History</small></h2>
<p>Styling: <a href="https://github.com/mblode/marx">Matthew Blode's Marx CSS</a></p>
</footer>
</main>

<script>
// Google PageSpeed non-blocking, post-initial-paint css loader https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery#example
// I shortened it for fun, and also added support for an array of stylesheets
// (requestAnimationFrame || mozRequestAnimationFrame || webkitRequestAnimationFrame || msRequestAnimationFrame || window.addEventListener.bind(null, 'load'))(function() {
// ["https://cdnjs.cloudflare.com/ajax/libs/marx/1.3.0/marx.min.css"].forEach(function(s) {
// var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = s;
// var h = document.getElementsByTagName('head')[0]; h.parentNode.insertBefore(l, h);
// });
// });
</script>

</body>
</html>
Empty file added client/about/index.js
Empty file.
23 changes: 6 additions & 17 deletions art.html → client/art/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
<main>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="games.html">Games</a></li>
<li><a href="../index.html">Home</a></li>
<li><a href="../games/index.html">Games</a></li>
<li><b>Art</b></li>
<li><a href="experiments.html">Experiments</a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="music.html">Music</a></li>
<li><a href="about.html">About</a></li>
<li><a href="../experiments/index.html">Experiments</a></li>
<li><a href="../blog/index.html">Blog</a></li>
<li><a href="../music/index.html">Music</a></li>
<li><a href="../about/index.html">About</a></li>
</ul>
</nav>

Expand All @@ -66,16 +66,5 @@ <h3><small>Addenda</small></h3>
</footer>
</main>

<script>
// Google PageSpeed non-blocking, post-initial-paint css loader https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery#example
// I shortened it for fun, and also added support for an array of stylesheets
// (requestAnimationFrame || mozRequestAnimationFrame || webkitRequestAnimationFrame || msRequestAnimationFrame || window.addEventListener.bind(null, 'load'))(function() {
// ["https://cdnjs.cloudflare.com/ajax/libs/marx/1.3.0/marx.min.css"].forEach(function(s) {
// var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = s;
// var h = document.getElementsByTagName('head')[0]; h.parentNode.insertBefore(l, h);
// });
// });
</script>

</body>
</html>
Empty file added client/art/index.js
Empty file.
23 changes: 6 additions & 17 deletions blog.html → client/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
<main>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="games.html">Games</a></li>
<li><a href="art.html">Art</a></li>
<li><a href="experiments.html">Experiments</a></li>
<li><a href="../index.html">Home</a></li>
<li><a href="../games/index.html">Games</a></li>
<li><a href="../art/index.html">Art</a></li>
<li><a href="../experiments/index.html">Experiments</a></li>
<li><b>Blog</b></li>
<li><a href="music.html">Music</a></li>
<li><a href="about.html">About</a></li>
<li><a href="../music/index.html">Music</a></li>
<li><a href="../about/index.html">About</a></li>
</ul>
</nav>

Expand All @@ -61,16 +61,5 @@ <h2><small>Alex</small></h2>
</footer>
</main>

<script>
// Google PageSpeed non-blocking, post-initial-paint css loader https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery#example
// I shortened it for fun, and also added support for an array of stylesheets
// (requestAnimationFrame || mozRequestAnimationFrame || webkitRequestAnimationFrame || msRequestAnimationFrame || window.addEventListener.bind(null, 'load'))(function() {
// ["https://cdnjs.cloudflare.com/ajax/libs/marx/1.3.0/marx.min.css"].forEach(function(s) {
// var l = document.createElement('link'); l.rel = 'stylesheet'; l.href = s;
// var h = document.getElementsByTagName('head')[0]; h.parentNode.insertBefore(l, h);
// });
// });
</script>

</body>
</html>
Empty file added client/blog/index.js
Empty file.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading

0 comments on commit 3a0d44c

Please sign in to comment.