1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2026-03-23 19:01:17 +00:00

reworked api example page

This commit is contained in:
Bowden
2018-01-03 17:25:31 -08:00
parent f3c533e79d
commit 958d0f5e4b
6 changed files with 1080 additions and 261 deletions

View File

@@ -1,12 +1,13 @@
extends ../layout
block content
h2 API Examples
h2 JSON API Example - Reddit Feed
hr
.row
.col-sm-4
a(href='/api/', style='color: #fff')
.panel.panel-default(style='background-color: #3b5998')
.panel-body
| twitter (TODO)
for url in urls
if url.format == 'gif'
video(preload="auto", autoplay="autoplay", loop="loop", height="300px")
source(src=url.url, type="video/mp4")
else if url.format == 'image'
img(src=url.url, height="300px")
hr