Added Bio from GitHub to freecodecamp portfolios
- Removed unneeded code
This commit is contained in:
@ -1161,6 +1161,11 @@ code {
|
||||
background-color: @brand-primary;
|
||||
}
|
||||
|
||||
// user bio
|
||||
.bio {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
@import "chat.less";
|
||||
@import "jobs.less";
|
||||
@import "challenge.less";
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user