Skip to content

Instantly share code, notes, and snippets.

@aaronroberson
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronroberson/9dee9b49de40302a58d6 to your computer and use it in GitHub Desktop.
Save aaronroberson/9dee9b49de40302a58d6 to your computer and use it in GitHub Desktop.
Geekwise2 Day 3
<div class="col-md-3" ng-repeat="item in swag">
<h4 ng-bind="item.title"></h4>
<div class="row">
<div class="col-xs-4 col-md-6">
<a href="#" class="thumbnail">
<img ng-src="item.images[0]" alt="item.title">
</a>
</div>
<p ng-bind="item.description"></p>
</div>
<p><a class="btn btn-default" href="#" role="button">View details <i class="glyphicon glyphicon-chevron-right"></i></a> <a class="btn btn-primary" href="#" role="button"><i class="glyphicon glyphicon-plus"></i> Add to cart</a></p>
</div>
[
{
"id": 0,
"isFeatured": true,
"isActive": true,
"price": 20.00,
"specialPrice": 16.00,
"inventory": 26,
"title": "Geekwise Academy T-Shirt",
"manufacturer": "Bitwise",
"description": "Fast. No fluff. 100% cotton, slim fit T-shirt made by American Apparel. Comes in multiple colors (when in stock).",
"dateCreated": "2014-03-30T08:19:52 +07:00",
"dateUpdated": "2014-02-05T17:45:47 +08:00",
"images": [
"academy-front-gray.png",
"academy-back-gray.png",
"academy-side-gray.png",
"academy-front-white.png",
"academy-back-white.png",
"academy-side-white.png",
"academy-front-orange.png",
"academy-back-orange.png",
"academy-side-orange.png"
],
"colors": [
"gray",
"orange",
"white"
],
"tags": [
"Geekwise",
"Academy",
"T-shirt"
]
},
{
"id": 1,
"isFeatured": true,
"isActive": true,
"price": 20.00,
"specialPrice": 16.00,
"inventory": 26,
"title": "Bitwise T-Shirt",
"manufacturer": "Bitwise",
"description": "Educate. Collaborate. Innovate. 100% cotton, slim fit T-shirt made by American Apparel. Comes in multiple colors (when in stock).",
"dateCreated": "2014-03-30T08:19:52 +07:00",
"dateUpdated": "2014-02-05T17:45:47 +08:00",
"images": [
"bitwise-front-gray.png",
"bitwise-back-gray.png",
"bitwise-side-gray.png",
"bitwise-front-white.png",
"bitwise-back-white.png",
"bitwise-side-white.png",
"bitwise-front-orange.png",
"bitwise-back-orange.png",
"bitwise-side-orange.png"
],
"colors": [
"gray",
"orange",
"white"
],
"tags": [
"Bitwise",
"t-shirt"
]
},
{
"id": 2,
"isFeatured": true,
"isActive": true,
"price": 25.00,
"inventory": 10,
"title": "Geekwise Academy Cap",
"manufacturer": "Bitwise",
"description": "Geekwise Academy flat-bill baseball cap. Comes in multiple colors (when in stock).",
"dateCreated": "2014-03-30T08:19:52 +07:00",
"dateUpdated": "2014-02-05T17:45:47 +08:00",
"images": [
"geekwise-cap-gray.png",
"geekwise-cap-white.png"
],
"colors": [
"gray",
"white"
],
"tags": [
"Geekwise",
"cap"
]
},
{
"id": 3,
"isFeatured": true,
"isActive": true,
"price": 25.00,
"inventory": 26,
"title": "Bitwise Cap",
"manufacturer": "Bitwise",
"description": "Bitwise flat-bill baseball cap. Comes in multiple colors (when in stock).",
"dateCreated": "2014-03-30T08:19:52 +07:00",
"dateUpdated": "2014-02-05T17:45:47 +08:00",
"images": [
"bitwise-cap-gray.png",
"bitwise-cap-green.png",
"bitwise-cap-white.png"
],
"colors": [
"gray",
"green",
"white"
],
"tags": [
"Bitwise",
"cap"
]
},
{
"id": 4,
"isFeatured": false,
"isActive": true,
"price": 10.00,
"inventory": 26,
"title": "Geekwise Academy Mug",
"manufacturer": "Bitwise",
"description": "Geekwise Academy coffee mug.",
"dateCreated": "2014-03-30T08:19:52 +07:00",
"dateUpdated": "2014-02-05T17:45:47 +08:00",
"images": [
"geekwise-mug-white.png"
],
"colors": [
"white"
],
"tags": [
"Geekwise",
"coffee",
"mug"
]
},
{
"id": 5,
"isFeatured": false,
"isActive": true,
"price": 10.00,
"inventory": 26,
"title": "Bitwise Mug",
"manufacturer": "Bitwise",
"description": "Bitwise Academy coffee mug.",
"dateCreated": "2014-03-30T08:19:52 +07:00",
"dateUpdated": "2014-02-05T17:45:47 +08:00",
"images": [
"bitwise-mug-white.png"
],
"colors": [
"white"
],
"tags": [
"Bitwise",
"coffee",
"mug"
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment