Skip to content

Commit

Permalink
web lit page
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott committed Mar 26, 2015
1 parent 7297d81 commit 06c8fdf
Show file tree
Hide file tree
Showing 16 changed files with 456 additions and 3 deletions.
18 changes: 18 additions & 0 deletions components/illustration.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
var React = require('react');
var ImageTag = require('./imagetag.jsx');

var Illustration = React.createClass({
render: function() {
return (
<div className="row illustration">
<div className="image-container col-sm-4 col-md-4 col-lg-4">
<ImageTag className="image" src1x={this.props.src1x} src2x={this.props.src2x}
alt={this.props.alt}/>
</div>
<div className="content-container col-sm-8 col-md-8 col-lg-8">{this.props.children}</div>
</div>
);
}
});

module.exports = Illustration;
11 changes: 9 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ var BUILD_TASKS = [
'beautify',
'copy-test-dirs',
'copy-images',
'copy-vendor',
'copy-bootstrap',
'copy-webmaker-app-icons',
'less',
'webpack',
'sitemap'
Expand Down Expand Up @@ -89,7 +90,13 @@ gulp.task('copy-images', function () {
}).pipe(gulp.dest('./dist'));
});

gulp.task('copy-vendor', function () {
gulp.task('copy-webmaker-app-icons', function () {
return gulp.src(['node_modules/webmaker-app-icons/css/**', 'node_modules/webmaker-app-icons/fonts/**'], {
base: 'node_modules/webmaker-app-icons'
}).pipe(gulp.dest('./dist/vendor/webmaker-app-icons'));
});

gulp.task('copy-bootstrap', function () {
return gulp.src(['node_modules/bootstrap/dist/css/**', 'node_modules/bootstrap/dist/fonts/**'], {
base: 'node_modules/bootstrap/dist'
}).pipe(gulp.dest('./dist/vendor/bootstrap'));
Expand Down
28 changes: 28 additions & 0 deletions img/web-literacy-page/icon-contribute.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions img/web-literacy-page/icon-learn-more.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions img/web-literacy-page/icon-mozilla.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 06c8fdf

Please sign in to comment.