Skip to content

Instantly share code, notes, and snippets.

@justinpeterman
Created November 2, 2011 05:26
Show Gist options
  • Save justinpeterman/1332963 to your computer and use it in GitHub Desktop.
Save justinpeterman/1332963 to your computer and use it in GitHub Desktop.
data
{
"app": "BMW App",
"cards":[
{
"card": "landingCard",
"title": "BMW",
"elements": [
{
"instance": "joImg",
"attributes": [
{
"src": "images/logo.png",
"style": {
"float": "right"
}
}
]
},
{
"instance": "joText",
"tagName": "h1",
"value": "Drive It.",
"style": {
"font-size": "black",
"font-family": "sans-serif",
"color": "black"
}
},
{
"instance": "joText",
"tagName": "h3",
"value": "Ready for the Ultimate Driving Experience? Tap a vehicle below to get started.",
"style": {}
},
{
"instance": "joImgGallery",
"items": [
{
"title" : "Z4 Series",
"thumb" : "images/spotlight_z4_c.jpg",
"file" : "images/z4_full.mp4",
"duration" : "2:47",
"description" : "Introducing BMW's first roadster with a retractable hardtop. Now available for your driving creations on the canvas we call road.",
"keywords": "bmw z4"
},
{
"title": "X6 Series",
"thumb" : "images/spotlight_x6_c.jpg",
"file" : "images/z4_full.mp4",
"duration" : "3:11",
"description" : "A coupe never had such capacity. An activity vehicle, never such adrenaline. The X6 Sports Activity Coupe has broken all barriers and found itself in a class all its own.",
"keywords": "bmw x6"
}
]
}
],
"style": {}
},
{
"card": "videoGalleryCard",
"title": "Videos",
"elements": [
{
"instance": "joImgGallery",
"items": [
{
"title" : "Z4 Series",
"thumb" : "images/spotlight_z4_c.jpg",
"file" : "images/z4_full.mp4",
"duration" : "2:47",
"description" : "Introducing BMW's first roadster with a retractable hardtop. Now available for your driving creations on the canvas we call road."
},
{
"title": "X6 Series",
"thumb" : "images/spotlight_x6_c.jpg",
"file" : "images/z4_full.mp4",
"duration" : "3:11",
"description" : "A coupe never had such capacity. An activity vehicle, never such adrenaline. The X6 Sports Activity Coupe has broken all barriers and found itself in a class all its own."
},
{
"title" : "Z4 Series",
"thumb" : "images/spotlight_z4_c.jpg",
"file" : "images/z4_full.mp4",
"duration" : "2:47",
"description" : "Introducing BMW's first roadster with a retractable hardtop. Now available for your driving creations on the canvas we call road."
},
{
"title": "X6 Series",
"thumb" : "images/spotlight_x6_c.jpg",
"file" : "images/z4_full.mp4",
"duration" : "3:11",
"description" : "A coupe never had such capacity. An activity vehicle, never such adrenaline. The X6 Sports Activity Coupe has broken all barriers and found itself in a class all its own."
},
{
"title" : "Z4 Series",
"thumb" : "images/spotlight_z4_c.jpg",
"file" : "images/z4_full.mp4",
"duration" : "2:47",
"description" : "Introducing BMW's first roadster with a retractable hardtop. Now available for your driving creations on the canvas we call road."
},
{
"title": "X6 Series",
"thumb" : "images/spotlight_x6_c.jpg",
"file" : "images/z4_full.mp4",
"duration" : "3:11",
"description" : "A coupe never had such capacity. An activity vehicle, never such adrenaline. The X6 Sports Activity Coupe has broken all barriers and found itself in a class all its own."
}
]
}
],
"style": {}
},
{
"card": "videoCard",
"title": "Video",
"style": {}
},
{
"card": "tweetCard",
"instance": "tweetList",
"title": "Tweets",
"user":"BMWGroup",
"count": "30",
"style": {}
},
{
"card": "aboutCard",
"title":"About",
"elements":[
{
"instance":"joTitle",
"tagName": "h5",
"value": "Header Title Here"
},
{
"instance":"joHTML",
"tagName": "p",
"value": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
},
{
"instance":"joTitle",
"tagName": "h5",
"value": "Header Title Here"
},
{
"instance":"joHTML",
"tagName": "p",
"value": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
}
],
"style": {}
}
],
"footer": [
{
"instance": "joButton",
"tagName": "img",
"src": "images/icon_car.png",
"title": "Drive",
"links": "landingCard"
},
{
"instance": "joButton",
"tagName": "img",
"src": "images/icon_video.png",
"title": "Videos",
"links": "videoGalleryCard"
},
{
"instance": "joButton",
"tagName": "img",
"src": "images/icon_twitter.png",
"title": "Tweets",
"links": "tweetCard"
},
{
"instance": "joButton",
"tagName": "img",
"src": "images/icon_info.png",
"title": "About",
"links": "aboutCard"
}
],
"social": {
"instance": "joSocialButton",
"services": [
{
"type": "facebook",
"base_url": "http://www.facebook.com/dialog/feed?app_id=201383466561130&",
"link": "http://giz.io/bmw",
"picture": "http://scdev.gizmo.com/images/bmw_logo.png",
"name": "BMW App",
"description": "Check out the BMW App.",
"redirect_uri": "http://dev.tappmedia.com/response",
"display": "touch"
},
{
"type": "twitter",
"base_url": "https://twitter.com/share?",
"url": "http://giz.io/bmw",
"via": "gizmo",
"text": "Check out the BMW App."
},
{
"type": "email",
"subject": "BMW App",
"body": "Check out the BMW App."
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment