Skip to content

Commit a605033

Browse files
committed
Presentation skeleton with revealjs, systemjs etc. Included some custom fonts and styles that might be useful.
1 parent f0736c1 commit a605033

File tree

9 files changed

+481
-0
lines changed

9 files changed

+481
-0
lines changed

.eslintrc.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "standard",
3+
"installedESLint": true,
4+
"plugins": [
5+
"standard",
6+
"promise"
7+
],
8+
"rules": {
9+
"indent": ["error", 4],
10+
"semi": ["error", "always"]
11+
}
12+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/jspm_packages/
2+
/node_modules/
3+
npm-debug.log

bs-config.js

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
/*
2+
|--------------------------------------------------------------------------
3+
| Browser-sync config file
4+
|--------------------------------------------------------------------------
5+
|
6+
| For up-to-date information about the options:
7+
| http://www.browsersync.io/docs/options/
8+
|
9+
| There are more options than you see here, these are just the ones that are
10+
| set internally. See the website for more info.
11+
|
12+
|
13+
*/
14+
module.exports = {
15+
'ui': {
16+
'port': 3001,
17+
'weinre': {
18+
'port': 8080
19+
}
20+
},
21+
'files': false,
22+
'watchOptions': {},
23+
'server': {
24+
baseDir: '.',
25+
directory: false
26+
},
27+
'proxy': false,
28+
'port': 3000,
29+
'middleware': false,
30+
'serveStatic': [],
31+
'ghostMode': {
32+
'clicks': true,
33+
'scroll': true,
34+
'forms': {
35+
'submit': true,
36+
'inputs': true,
37+
'toggles': true
38+
}
39+
},
40+
'logLevel': 'info',
41+
'logPrefix': 'BS',
42+
'logConnections': false,
43+
'logFileChanges': true,
44+
'logSnippet': true,
45+
'rewriteRules': false,
46+
'open': 'local',
47+
'browser': 'default',
48+
'xip': false,
49+
'hostnameSuffix': false,
50+
'reloadOnRestart': false,
51+
'notify': true,
52+
'scrollProportionally': true,
53+
'scrollThrottle': 0,
54+
'scrollRestoreTechnique': 'window.name',
55+
'scrollElements': [],
56+
'scrollElementMapping': [],
57+
'reloadDelay': 0,
58+
'reloadDebounce': 0,
59+
'plugins': [],
60+
'injectChanges': true,
61+
'startPath': null,
62+
'minify': true,
63+
'host': null,
64+
'codeSync': true,
65+
'timestamps': true,
66+
'socket': {
67+
'socketIoOptions': {
68+
'log': false
69+
},
70+
'socketIoClientConfig': {
71+
'reconnectionAttempts': 50
72+
},
73+
'path': '/browser-sync/socket.io',
74+
'clientPath': '/browser-sync',
75+
'namespace': '/browser-sync',
76+
'clients': {
77+
'heartbeatTimeout': 5000
78+
}
79+
}
80+
};

config.js

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
System.config({
2+
baseURL: "/",
3+
defaultJSExtensions: true,
4+
transpiler: "babel",
5+
babelOptions: {
6+
"optional": [
7+
"runtime",
8+
"optimisation.modules.system"
9+
]
10+
},
11+
paths: {
12+
"github:*": "jspm_packages/github/*",
13+
"npm:*": "jspm_packages/npm/*"
14+
},
15+
16+
map: {
17+
"babel": "npm:babel-core@5.8.38",
18+
"babel-runtime": "npm:babel-runtime@5.8.38",
19+
"core-js": "npm:core-js@1.2.7",
20+
"css": "github:systemjs/plugin-css@0.1.27",
21+
"json": "github:systemjs/plugin-json@0.1.2",
22+
"reveal": "github:hakimel/reveal.js@3.3.0",
23+
"text": "github:systemjs/plugin-text@0.0.8",
24+
"github:jspm/nodelibs-assert@0.1.0": {
25+
"assert": "npm:assert@1.4.1"
26+
},
27+
"github:jspm/nodelibs-buffer@0.1.0": {
28+
"buffer": "npm:buffer@3.6.0"
29+
},
30+
"github:jspm/nodelibs-path@0.1.0": {
31+
"path-browserify": "npm:path-browserify@0.0.0"
32+
},
33+
"github:jspm/nodelibs-process@0.1.2": {
34+
"process": "npm:process@0.11.8"
35+
},
36+
"github:jspm/nodelibs-util@0.1.0": {
37+
"util": "npm:util@0.10.3"
38+
},
39+
"github:jspm/nodelibs-vm@0.1.0": {
40+
"vm-browserify": "npm:vm-browserify@0.0.4"
41+
},
42+
"npm:assert@1.4.1": {
43+
"assert": "github:jspm/nodelibs-assert@0.1.0",
44+
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
45+
"process": "github:jspm/nodelibs-process@0.1.2",
46+
"util": "npm:util@0.10.3"
47+
},
48+
"npm:babel-runtime@5.8.38": {
49+
"process": "github:jspm/nodelibs-process@0.1.2"
50+
},
51+
"npm:buffer@3.6.0": {
52+
"base64-js": "npm:base64-js@0.0.8",
53+
"child_process": "github:jspm/nodelibs-child_process@0.1.0",
54+
"fs": "github:jspm/nodelibs-fs@0.1.2",
55+
"ieee754": "npm:ieee754@1.1.6",
56+
"isarray": "npm:isarray@1.0.0",
57+
"process": "github:jspm/nodelibs-process@0.1.2"
58+
},
59+
"npm:core-js@1.2.7": {
60+
"fs": "github:jspm/nodelibs-fs@0.1.2",
61+
"path": "github:jspm/nodelibs-path@0.1.0",
62+
"process": "github:jspm/nodelibs-process@0.1.2",
63+
"systemjs-json": "github:systemjs/plugin-json@0.1.2"
64+
},
65+
"npm:inherits@2.0.1": {
66+
"util": "github:jspm/nodelibs-util@0.1.0"
67+
},
68+
"npm:path-browserify@0.0.0": {
69+
"process": "github:jspm/nodelibs-process@0.1.2"
70+
},
71+
"npm:process@0.11.8": {
72+
"assert": "github:jspm/nodelibs-assert@0.1.0",
73+
"fs": "github:jspm/nodelibs-fs@0.1.2",
74+
"vm": "github:jspm/nodelibs-vm@0.1.0"
75+
},
76+
"npm:util@0.10.3": {
77+
"inherits": "npm:inherits@2.0.1",
78+
"process": "github:jspm/nodelibs-process@0.1.2"
79+
},
80+
"npm:vm-browserify@0.0.4": {
81+
"indexof": "npm:indexof@0.0.1"
82+
}
83+
}
84+
});

index.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<html>
2+
3+
<head>
4+
<link href="https://fonts.googleapis.com/css?family=Pacifico|Shadows+Into+Light" rel="stylesheet">
5+
<link href="https://fonts.googleapis.com/css?family=Lobster+Two:400,700" rel="stylesheet" type="text/css">
6+
<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700" rel="stylesheet" type="text/css">
7+
8+
<link rel="stylesheet" href="/jspm_packages/github/hakimel/reveal.js@3.3.0/css/reveal.css">
9+
<link rel="stylesheet" href="/jspm_packages/github/hakimel/reveal.js@3.3.0/css/theme/white.css">
10+
<link rel="stylesheet" href="/src/css/common.css">
11+
12+
</head>
13+
14+
<body>
15+
<div class="reveal">
16+
<div class="slides">
17+
<section>
18+
<h3>Revolution in Web</h3>
19+
<p>
20+
First slide placeholder. Needs to be adjusted.
21+
</p>
22+
</section>
23+
24+
<section data-background-color="var(--secondary-color)">
25+
<h1 style="font-size: 3em; margin-bottom: -0.25em;" class="fallbackColor" >Just</h1>
26+
<h1 style="font-size: 4.5em; margin-bottom: -0.25em;" class="primaryColor" >like</h1>
27+
<h1 style="font-size: 5em;"class="flippedColor" >that</h1>
28+
</section>
29+
30+
</div>
31+
</div>
32+
33+
<script src="/jspm_packages/system.js"></script>
34+
<script src="/config.js"></script>
35+
<script>
36+
System.import('/src/js/main');
37+
</script>
38+
</body>
39+
40+
</html>

package.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "tech-talk-web-rev",
3+
"version": "1.0.0",
4+
"description": "Presentation for tech talk titled: Web Revolution",
5+
"scripts": {
6+
"start": "browser-sync start --config bs-config.js",
7+
"build": "jspm bundle js/main --inject",
8+
"buildSafeMode": "jspm bundle-sfx js/main safe-bundle.js",
9+
"devMode": "jspm unbundle"
10+
},
11+
"keywords": [
12+
"reveal"
13+
],
14+
"author": [
15+
"Bartek Pietrowski",
16+
" Marek Matczak"
17+
],
18+
"license": "ISC",
19+
"devDependencies": {
20+
"browser-sync": "2.14.3",
21+
"eslint": "3.4.0",
22+
"eslint-config-standard": "6.0.0",
23+
"eslint-plugin-promise": "2.0.1",
24+
"eslint-plugin-standard": "2.0.0",
25+
"jspm": "0.16.45"
26+
},
27+
"jspm": {
28+
"dependencies": {
29+
"css": "github:systemjs/plugin-css@^0.1.27",
30+
"json": "github:systemjs/plugin-json@^0.1.2",
31+
"reveal": "github:hakimel/reveal.js@3.3.0",
32+
"text": "github:systemjs/plugin-text@^0.0.8"
33+
},
34+
"devDependencies": {
35+
"babel": "npm:babel-core@^5.8.24",
36+
"babel-runtime": "npm:babel-runtime@^5.8.24",
37+
"core-js": "npm:core-js@^1.1.4"
38+
}
39+
}
40+
}

0 commit comments

Comments
 (0)