Created
July 8, 2016 21:21
-
-
Save aleedy/0fdf98565dfbeeb0f7a064c23ce78342 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"news_list_item": | |
{"type":"frame","size":{"w":"parent", "h":200}, "padding":{"w":15, "t":8}, "content":[ | |
{"type":"frame","size":"parent","rounding":{"corners":"all","radius":4},"content":[ | |
{"type":"image", "meta-url": "news.thumbnail","size":"parent","pos":{"x":"middle","y":"middle"},"scale-type":"aspect-fill"}, | |
{"type":"widget", "pos":{"x":0,"y":"bottom"},"size":{"w":"parent", "h":{"type":"parent","value":0.5}}, "gradient-fill":{"direction":"vertical", "colors":["#00000000", "#ff000000"]}}, | |
{"type":"text", "meta-text": "news.title","size":{"w":"parent","h":{"type":"parent","value":0.33}},"pos":{"x":0,"y":"bottom"},"padding":{"w":10, "b":18},"font":{"size":15,"weight":"book"},"text-color":"#ffffff","text-align":"left","line-count":3}, | |
{"type":"text", "meta-text": "news.time_since_posted","size":{"w":"parent","h":20},"pos":{"x":0,"y":"bottom"},"padding":{"w":10, "b":5},"font":{"size":13,"weight":"regular"},"text-color":"#ffffff","text-align":"left","line-count":3}, | |
{"type":"image", "url":"News-Icon-Overlay.webp", "size":{"w": 50, "h":50}, "pos":{"x":"right", "y":"top"}, "padding":{"t":5, "w":"10"}}, | |
]}, | |
{"type":"widget","pos":{"x":0,"y":0},"size":"parent","action":{"name":"widgets_panel","params":{"content_source": "news_detail_page","meta_data":[{"thumbnail":{"key":"news.thumbnail"}}, {"title":{"key":"news.title"}}, {"time_since_posted":{"key":"news.time_since_posted"}}, {"author":{"key":"news.author"}}, {"date_posted":{"key":"news.date_posted"}},{"body":{"key":"news.body"}}] }}} | |
]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment