Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add creamer image

  • Loading branch information...
commit 92f191e43824b944298978a133e0daac64bc64b2 1 parent 5239ab3
@gradus authored
View
6 lib/views/layout.js
@@ -53,7 +53,11 @@ module.exports = function() {
return div('.span4', function() {
return div('.hero-unit', function() {
h2('Creamer');
- return p('A great way to add coffee to flatiron');
+ p('A great way to add coffee to flatiron');
+ return img({
+ width: '200px',
+ src: '/img/creamer.jpg'
+ });
});
});
});
View
4 package.json
@@ -2,7 +2,7 @@
"author": "Kris Windham <kriswindham@gmail.com",
"name": "coffee-with-cream",
"description": "A sample flatiron web app using coffeecup views",
- "version": "0.0.2",
+ "version": "0.0.3",
"repository": {
"type": "git",
"url": "git://github.com/gradus/coffeecup.git"
@@ -22,4 +22,4 @@
"scripts": {
"start": "server.js"
}
-}
+}
View
BIN  public/img/creamer.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
1  src/views/layout.coffee
@@ -32,6 +32,7 @@ module.exports = ->
div '.hero-unit', ->
h2 'Creamer'
p 'A great way to add coffee to flatiron'
+ img width: '200px', src: '/img/creamer.jpg'
script src: 'http://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js'
script src: '/js/bootstrap.min.js'
Please sign in to comment.
Something went wrong with that request. Please try again.