Browse code

add main menu

devnewton authored on 10/10/2016 14:57:13
Showing 9 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,32 @@
1
+# Numerous always-ignore extensions
2
+*.diff
3
+*.err
4
+*.orig
5
+*.log
6
+*.rej
7
+*.swo
8
+*.swp
9
+*.vi
10
+*~
11
+*.sass-cache
12
+
13
+# OS or Editor folders
14
+.DS_Store
15
+.cache
16
+.project
17
+.settings
18
+.tmproj
19
+nbproject
20
+Thumbs.db
21
+
22
+# NPM packages folder.
23
+node_modules/
24
+
25
+# Brunch folder for temporary files.
26
+tmp/
27
+
28
+# Brunch output folder.
29
+public/
30
+
31
+# Bower stuff.
32
+bower_components/
0 33
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+Place your app source files here.
0 2
new file mode 100644
1 3
Binary files /dev/null and b/app/assets/covers/nedetlesmaki.jpg differ
2 4
new file mode 100644
3 5
Binary files /dev/null and b/app/assets/covers/newtonadventure.jpg differ
4 6
new file mode 100644
5 7
Binary files /dev/null and b/app/assets/covers/shmuprpg.jpg differ
6 8
new file mode 100644
... ...
@@ -0,0 +1,87 @@
1
+<!DOCTYPE html>
2
+<head>
3
+    <meta charset="utf-8">
4
+    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
5
+    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
6
+    <title>devnewton's games</title>
7
+    <link rel="stylesheet" href="/css/vendor.css">
8
+    <script src="/app.js"></script>
9
+    <script>require('initialize');</script>
10
+</head>
11
+<body>
12
+    <header>
13
+        <nav class="c-nav c-nav--inline c-nav--high">
14
+            <a class="c-nav__item" href="">Devnewton's games</a>
15
+            <a class="c-nav__item c-nav__item--right" href="//devnewton.bci.im/">Blog</a>
16
+        </nav>
17
+    </header>
18
+    <main class="o-container o-container--large u-pillar-box--small">
19
+        <section class="u-letter-box--super">
20
+            <!-- GRID -->
21
+            <div class="o-grid o-grid--xsmall-full o-grid--small-full o-grid--medium-full">
22
+                <!-- CELL -->
23
+                <div class="o-grid__cell o-grid__cell--width-40 u-centered">
24
+                    <img class="o-image" src="/covers/newtonadventure.jpg">
25
+                </div>
26
+                <!-- CELL -->
27
+                <div class="o-grid__cell o-grid__cell--width-60">
28
+                    <h3 class="c-heading c-heading--medium">
29
+                        Newton Adventure
30
+                    </h3>
31
+                    <p class="c-paragraph">
32
+                        A 2D platformer with a twist: the player can rotate gravity at 360°.
33
+                    </p>
34
+                    <p class="c-paragraph">
35
+                        <a href="//play.bci.im/newton_adventure" class="c-button c-button--info">Play now!</a>
36
+                        <a href="//newtonadventure.bci.im" class="c-button c-button--brand">Site</a>
37
+                    </p>
38
+                </div>
39
+            </div>
40
+        </section>
41
+        <section class="u-letter-box--super">
42
+            <!-- GRID -->
43
+            <div class="o-grid o-grid--xsmall-full o-grid--small-full o-grid--medium-full">
44
+                <!-- CELL -->
45
+                <div class="o-grid__cell o-grid__cell--width-40 u-centered">
46
+                    <img class="o-image" src="/covers/nedetlesmaki.jpg">
47
+                </div>
48
+                <!-- CELL -->
49
+                <div class="o-grid__cell o-grid__cell--width-60">
50
+                    <h3 class="c-heading c-heading--medium">
51
+                        Ned et les maki
52
+                    </h3>
53
+                    <p class="c-paragraph">
54
+                        A 3D isometric sokoban like.
55
+                    </p>
56
+                    <p class="c-paragraph">
57
+                        <a href="//play.bci.im/nedetlesmaki" class="c-button c-button--info">Play now!</a>
58
+                        <a href="//en.geekygoblin.org/ned-et-les-maki/" class="c-button c-button--brand">Site</a>
59
+                    </p>
60
+                </div>
61
+            </div>
62
+        </section>
63
+        <section class="u-letter-box--super">
64
+            <!-- GRID -->
65
+            <div class="o-grid o-grid--xsmall-full o-grid--small-full o-grid--medium-full">
66
+                <!-- CELL -->
67
+                <div class="o-grid__cell o-grid__cell--width-40 u-centered">
68
+                    <img class="o-image" src="/covers/shmuprpg.jpg">
69
+                </div>
70
+                <!-- CELL -->
71
+                <div class="o-grid__cell o-grid__cell--width-60">
72
+                    <h3 class="c-heading c-heading--medium">
73
+                        Shmuprpg
74
+                    </h3>
75
+                    <p class="c-paragraph">
76
+                        A twin stick shooter with 2D ARPG graphics.
77
+                    </p>
78
+                    <p class="c-paragraph">
79
+                        <a href="//taiste.bci.im/shmuprpg/" class="c-button c-button--info">Play now!</a>
80
+                        <a href="https://github.com/devnewton/shmuprpg" class="c-button c-button--brand">Site</a>
81
+                    </p>
82
+                </div>
83
+            </div>
84
+        </section>
85
+    </main>
86
+</body>
87
+</html>
0 88
new file mode 100644
... ...
@@ -0,0 +1,3 @@
1
+document.addEventListener('DOMContentLoaded', function() {
2
+  // do your setup here
3
+});
0 4
new file mode 100644
... ...
@@ -0,0 +1,20 @@
1
+// See http://brunch.io for documentation.
2
+exports.npm = {
3
+    styles: {
4
+        blaze: ['dist/blaze.min.css']
5
+    }
6
+};
7
+exports.files = {
8
+    javascripts: {
9
+        joinTo: {
10
+            'js/app.js': /^app/,
11
+            'js/vendor.js': /^node_modules/
12
+        }
13
+    },
14
+    stylesheets: {
15
+        joinTo: {
16
+            'css/vendor.css': /^node_modules/
17
+        }
18
+    },
19
+    templates: {joinTo: 'js/app.js'}
20
+};
0 21
new file mode 100644
... ...
@@ -0,0 +1,25 @@
1
+{
2
+  "name": "brunch-app",
3
+  "description": "Description",
4
+  "author": "Your Name",
5
+  "version": "0.1.0",
6
+  "repository": {
7
+    "type": "git",
8
+    "url": ""
9
+  },
10
+  "scripts": {
11
+    "start": "brunch watch --server",
12
+    "build": "brunch build --production"
13
+  },
14
+  "dependencies": {
15
+    "blaze": "3.0.0"
16
+    },
17
+  "devDependencies": {
18
+    "brunch": "^2.0.0",
19
+    "javascript-brunch": "^2.0.0",
20
+    "css-brunch": "^2.0.0",
21
+    "uglify-js-brunch": "^2.0.0",
22
+    "clean-css-brunch": "^2.0.0",
23
+    "auto-reload-brunch": "^2.0.0"
24
+  }
25
+}