1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 16:17:37 +00:00

initial commit

This commit is contained in:
Bowden Kelly
2017-05-09 13:28:09 -07:00
parent 352392a682
commit 6625b87b19
171 changed files with 21929 additions and 246 deletions

31
views/api/facebook.pug Normal file
View File

@@ -0,0 +1,31 @@
extends ../layout
block content
.page-header
h2
i.fa.fa-facebook-square(style='color: #335397')
| Facebook API
.btn-group.btn-group-justified
a.btn.btn-primary(href='https://developers.facebook.com/docs/graph-api/quickstart/', target='_blank')
i.fa.fa-check-square-o
| Quickstart
a.btn.btn-primary(href='https://developers.facebook.com/tools/explorer', target='_blank')
i.fa.fa-facebook
| Graph API Explorer
a.btn.btn-primary(href='https://developers.facebook.com/docs/graph-api/reference/', target='_blank')
i.fa.fa-code-fork
| API Reference
h3
i.fa.fa-user
| My Profile
img.thumbnail(src=`https://graph.facebook.com/${profile.id}/picture?type=large`, width='90', height='90')
h4= profile.name
h6 First Name: #{profile.first_name}
h6 Last Name: #{profile.last_name}
h6 Gender: #{profile.gender}
h6 Username: #{profile.username}
h6 Link: #{profile.link}
h6 Email: #{profile.email}
h6 Locale: #{profile.locale}
h6 Timezone: #{profile.timezone}

13
views/api/index.pug Normal file
View File

@@ -0,0 +1,13 @@
extends ../layout
block content
h2 API Examples
hr
.row
.col-sm-4
a(href='/api/facebook', style='color: #fff')
.panel.panel-default(style='background-color: #3b5998')
.panel-body
img(src='http://i.imgur.com/jiztYCH.png', height=40)
| Facebook