Added Bio from GitHub to freecodecamp portfolios

- Removed unneeded code
This commit is contained in:
Jonathan
2016-06-18 18:57:36 +01:00
parent 3fe5e79e52
commit ecd1f628e2
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