From e51d88e3bcda4f4cfd5173ff1d6dc58f37fd96ca Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sat, 1 Aug 2015 00:35:39 +1000 Subject: Get first talk mostly working --- gulpfile.js | 34 ++++++++----- src/a-vision-for-the-future/index.html | 22 ++++----- src/images/gerrit-graph.png | Bin 0 -> 61866 bytes src/images/graphite.openstack.org.png | Bin 0 -> 57239 bytes src/images/hp-logo.png | Bin 0 -> 25445 bytes src/images/image39.jpg | Bin 0 -> 39194 bytes src/images/infra_architecture.jpg | Bin 0 -> 126757 bytes src/images/ironic-nova-layer.jpg | Bin 0 -> 56432 bytes src/images/nodepool-graph.png | Bin 0 -> 79623 bytes .../openstack-cloud-software-horizontal-small.png | Bin 0 -> 7461 bytes .../openstack-cloud-software-vertical-large.png | Bin 0 -> 23062 bytes src/images/openstack-size.jpg | Bin 0 -> 150761 bytes src/images/openstack-software-diagram.png | Bin 0 -> 15515 bytes src/images/original.jpg | Bin 0 -> 14971 bytes src/images/standards.png | Bin 0 -> 24305 bytes src/images/ugly-openstack.jpg | Bin 0 -> 390883 bytes src/images/what-happens.png | Bin 0 -> 52742 bytes src/images/worstcat-dog.jpg | Bin 0 -> 118512 bytes src/images/worstcat-lettuce.jpg | Bin 0 -> 71557 bytes src/js/this.js | 55 +++++++++++++++++++++ 20 files changed, 89 insertions(+), 22 deletions(-) create mode 100644 src/images/gerrit-graph.png create mode 100644 src/images/graphite.openstack.org.png create mode 100644 src/images/hp-logo.png create mode 100644 src/images/image39.jpg create mode 100644 src/images/infra_architecture.jpg create mode 100644 src/images/ironic-nova-layer.jpg create mode 100644 src/images/nodepool-graph.png create mode 100644 src/images/openstack-cloud-software-horizontal-small.png create mode 100644 src/images/openstack-cloud-software-vertical-large.png create mode 100644 src/images/openstack-size.jpg create mode 100644 src/images/openstack-software-diagram.png create mode 100644 src/images/original.jpg create mode 100644 src/images/standards.png create mode 100644 src/images/ugly-openstack.jpg create mode 100644 src/images/what-happens.png create mode 100644 src/images/worstcat-dog.jpg create mode 100644 src/images/worstcat-lettuce.jpg create mode 100644 src/js/this.js diff --git a/gulpfile.js b/gulpfile.js index ccd1732..20ca3b1 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -28,6 +28,8 @@ 'html': dir.src + '/**/*.html', 'hbs': dir.src + '/index.hbs', 'index': dir.src + '/index.hbs', + 'css': dir.src + '/css/**/*.css', + 'js': dir.src + '/js/**/*.js', 'images': [ dir.src + '/**/*.png', dir.src + '/**/*.gif', @@ -103,10 +105,6 @@ .pipe(filter('*.css')) .pipe(gulp.dest(dir.dist + '/css')); - var resolveLocalCSS = gulp.src(dir.src + '/css/**/*') - .pipe(filter('*.css')) - .pipe(gulp.dest(dir.dist + '/css')); - var resolveLESS = gulp.src(bowerFiles) .pipe(filter('*.less')) .pipe(less()) @@ -120,10 +118,6 @@ .pipe(filter('*.js')) .pipe(gulp.dest(dir.dist + '/js')); - var resolveLocalLibs = gulp.src(dir.src + '/js/**/*') - .pipe(filter('*.js')) - .pipe(gulp.dest(dir.dist + '/js')); - // Reveal.js is a special snowflake. var resolveReveal = gulp.src('./bower_components/reveal.js/*/**/*.*', {'base': './bower_components/reveal.js/'}) @@ -137,9 +131,9 @@ ])) .pipe(gulp.dest(dir.dist)); - return streamqueue({'objectMode': true}, resolveCSS, resolveLocalCSS, + return streamqueue({'objectMode': true}, resolveCSS, resolveLESS, resolveReveal, - resolveLibs, resolveLocalLibs, resolveFonts); + resolveLibs, resolveFonts); }); /** @@ -150,6 +144,22 @@ .pipe(gulp.dest(dir.dist)); }); + /** + * Package all css. + */ + gulp.task('package:css', function () { + return gulp.src(paths.css, {'base': dir.src}) + .pipe(gulp.dest(dir.dist)); + }); + + /** + * Package all js. + */ + gulp.task('package:js', function () { + return gulp.src(paths.js, {'base': dir.src}) + .pipe(gulp.dest(dir.dist)); + }); + /** * Package the handlebars files. */ @@ -238,7 +248,7 @@ * Package the entire site into the dist folder. */ gulp.task('package', ['package:html', 'package:hbs', 'package:libs', - 'package:images']); + 'package:images', 'package:css', 'package:js']); gulp.task('rsync', function () { gulp.src('dest/**') @@ -263,6 +273,8 @@ gulp.watch(paths.html, ['package:html']); gulp.watch(paths.images, ['package:images']); gulp.watch(paths.hbs, ['package:hbs']); + gulp.watch(paths.css, ['package:css']); + gulp.watch(paths.js, ['package:js']); return gulp.src(dir.dist) .pipe(webserver({ diff --git a/src/a-vision-for-the-future/index.html b/src/a-vision-for-the-future/index.html index cc5280b..88fdbe5 100644 --- a/src/a-vision-for-the-future/index.html +++ b/src/a-vision-for-the-future/index.html @@ -13,11 +13,11 @@ - - + + - + @@ -56,12 +56,12 @@
- +

Who am I?

- +

Technical Committee

Foundation Board of Directors

Developer Infrastructure Core Team

@@ -70,7 +70,7 @@

Who am I?

- +

Undergrad Degree in Theatre Directing

Grad School at CalArts for Lighting Design

Member of the Satori Group

@@ -488,10 +488,10 @@ - - + + - + diff --git a/src/images/gerrit-graph.png b/src/images/gerrit-graph.png new file mode 100644 index 0000000..5580039 Binary files /dev/null and b/src/images/gerrit-graph.png differ diff --git a/src/images/graphite.openstack.org.png b/src/images/graphite.openstack.org.png new file mode 100644 index 0000000..19ebfe2 Binary files /dev/null and b/src/images/graphite.openstack.org.png differ diff --git a/src/images/hp-logo.png b/src/images/hp-logo.png new file mode 100644 index 0000000..de0b624 Binary files /dev/null and b/src/images/hp-logo.png differ diff --git a/src/images/image39.jpg b/src/images/image39.jpg new file mode 100644 index 0000000..11a46c4 Binary files /dev/null and b/src/images/image39.jpg differ diff --git a/src/images/infra_architecture.jpg b/src/images/infra_architecture.jpg new file mode 100644 index 0000000..072a258 Binary files /dev/null and b/src/images/infra_architecture.jpg differ diff --git a/src/images/ironic-nova-layer.jpg b/src/images/ironic-nova-layer.jpg new file mode 100644 index 0000000..0d78631 Binary files /dev/null and b/src/images/ironic-nova-layer.jpg differ diff --git a/src/images/nodepool-graph.png b/src/images/nodepool-graph.png new file mode 100644 index 0000000..07c4825 Binary files /dev/null and b/src/images/nodepool-graph.png differ diff --git a/src/images/openstack-cloud-software-horizontal-small.png b/src/images/openstack-cloud-software-horizontal-small.png new file mode 100644 index 0000000..0c73701 Binary files /dev/null and b/src/images/openstack-cloud-software-horizontal-small.png differ diff --git a/src/images/openstack-cloud-software-vertical-large.png b/src/images/openstack-cloud-software-vertical-large.png new file mode 100644 index 0000000..8d157aa Binary files /dev/null and b/src/images/openstack-cloud-software-vertical-large.png differ diff --git a/src/images/openstack-size.jpg b/src/images/openstack-size.jpg new file mode 100644 index 0000000..5872db0 Binary files /dev/null and b/src/images/openstack-size.jpg differ diff --git a/src/images/openstack-software-diagram.png b/src/images/openstack-software-diagram.png new file mode 100644 index 0000000..c5e196c Binary files /dev/null and b/src/images/openstack-software-diagram.png differ diff --git a/src/images/original.jpg b/src/images/original.jpg new file mode 100644 index 0000000..8b6ab29 Binary files /dev/null and b/src/images/original.jpg differ diff --git a/src/images/standards.png b/src/images/standards.png new file mode 100644 index 0000000..5d38303 Binary files /dev/null and b/src/images/standards.png differ diff --git a/src/images/ugly-openstack.jpg b/src/images/ugly-openstack.jpg new file mode 100644 index 0000000..051e029 Binary files /dev/null and b/src/images/ugly-openstack.jpg differ diff --git a/src/images/what-happens.png b/src/images/what-happens.png new file mode 100644 index 0000000..65bd157 Binary files /dev/null and b/src/images/what-happens.png differ diff --git a/src/images/worstcat-dog.jpg b/src/images/worstcat-dog.jpg new file mode 100644 index 0000000..78eeee3 Binary files /dev/null and b/src/images/worstcat-dog.jpg differ diff --git a/src/images/worstcat-lettuce.jpg b/src/images/worstcat-lettuce.jpg new file mode 100644 index 0000000..91d763d Binary files /dev/null and b/src/images/worstcat-lettuce.jpg differ diff --git a/src/js/this.js b/src/js/this.js new file mode 100644 index 0000000..57938a9 --- /dev/null +++ b/src/js/this.js @@ -0,0 +1,55 @@ +/*! + * configuation for this presentation + */ + +// Full list of configuration options available here: +// https://github.com/hakimel/reveal.js#configuration +Reveal.initialize({ + controls: true, + progress: true, + history: true, + center: true, + //width: 1500, + + + //theme: Reveal.getQueryHash().theme, // available themes are in /css/theme + //transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none + + // Optional libraries used to extend on reveal.js + dependencies: [ + { + src: '../lib/js/classList.js', condition: function () { + return !document.body.classList; + } + }, + { + src: '../plugin/markdown/marked.js', + condition: function () { + return !!document.querySelector('[data-markdown]'); + } + }, + { + src: '../plugin/markdown/markdown.js', + condition: function () { + return !!document.querySelector('[data-markdown]'); + } + }, + { + src: '../plugin/highlight/highlight.js', + async: true, + condition: function () { + return !!document.querySelector('pre code'); + }, + callback: function () { + hljs.initHighlightingOnLoad(); + } + }, + {src: '../plugin/zoom-js/zoom.js', async: true}, + {src: '../plugin/notes/notes.js', async: true} + ] +}); + +// footer displayed upon load, hides when slide changes +Reveal.addEventListener('slidechanged', function(event) { + document.querySelector('.reveal .footer').style.display = 'none'; +}); -- cgit v1.2.3