Merge pull request #9221 from atjonathan/feature/bio

Added Bio from GitHub to freecodecamp portfolios
This commit is contained in:
Stuart Taylor
2016-06-21 23:49:05 +01:00
committed by GitHub
3 changed files with 8 additions and 0 deletions

View File

@ -1161,6 +1161,11 @@ code {
background-color: @brand-primary;
}
// user bio
.bio {
font-size: 17px;
}
@import "chat.less";
@import "jobs.less";
@import "challenge.less";

View File

@ -27,6 +27,7 @@ export function setProfileFromGithub(
created_at: joinedGithubOn,
blog: website,
location,
bio,
name
}
) {
@ -37,6 +38,7 @@ export function setProfileFromGithub(
email: user.email || githubEmail,
username: username.toLowerCase(),
location,
bio,
joinedGithubOn,
website,
isGithubCool: true,

View File

@ -37,6 +37,7 @@ block content
a.fa.fa-linkedin-square.text-primary(title="@#{username}'s LinkedIn Profile", href=linkedin, target='_blank')
h1.flat-top.wrappable= name
h1.flat-top.wrappable= location
p.flat-top.bio= bio
h1.flat-top.text-primary= "[ " + (progressTimestamps.length) + " ]"
if pledge
.spacer