1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 16:17:37 +00:00
Files
TypeScript-Node-Starter/views/api/facebook.pug
Peter Blazejewicz 4377ad06e8 Add missing alt attr to non-decorative images
These are non visual-only or not decorative-only hence
context information added to alts

Thanks!
2018-01-05 23:05:30 +01:00

32 lines
1.1 KiB
Plaintext

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', alt=(profile.name || profile.username))
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}