Merge pull request #9221 from atjonathan/feature/bio
Added Bio from GitHub to freecodecamp portfolios
This commit is contained in:
		| @@ -1161,6 +1161,11 @@ code { | |||||||
|     background-color: @brand-primary; |     background-color: @brand-primary; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | // user bio | ||||||
|  | .bio { | ||||||
|  |   font-size: 17px; | ||||||
|  | } | ||||||
|  |  | ||||||
| @import "chat.less"; | @import "chat.less"; | ||||||
| @import "jobs.less"; | @import "jobs.less"; | ||||||
| @import "challenge.less"; | @import "challenge.less"; | ||||||
|   | |||||||
| @@ -27,6 +27,7 @@ export function setProfileFromGithub( | |||||||
|     created_at: joinedGithubOn, |     created_at: joinedGithubOn, | ||||||
|     blog: website, |     blog: website, | ||||||
|     location, |     location, | ||||||
|  |     bio, | ||||||
|     name |     name | ||||||
|   } |   } | ||||||
| ) { | ) { | ||||||
| @@ -37,6 +38,7 @@ export function setProfileFromGithub( | |||||||
|       email: user.email || githubEmail, |       email: user.email || githubEmail, | ||||||
|       username: username.toLowerCase(), |       username: username.toLowerCase(), | ||||||
|       location, |       location, | ||||||
|  |       bio, | ||||||
|       joinedGithubOn, |       joinedGithubOn, | ||||||
|       website, |       website, | ||||||
|       isGithubCool: true, |       isGithubCool: true, | ||||||
|   | |||||||
| @@ -37,6 +37,7 @@ block content | |||||||
|                     a.fa.fa-linkedin-square.text-primary(title="@#{username}'s LinkedIn Profile", href=linkedin, target='_blank') |                     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= name | ||||||
|             h1.flat-top.wrappable= location |             h1.flat-top.wrappable= location | ||||||
|  |             p.flat-top.bio= bio | ||||||
|             h1.flat-top.text-primary= "[ " + (progressTimestamps.length) + " ]" |             h1.flat-top.text-primary= "[ " + (progressTimestamps.length) + " ]" | ||||||
|             if pledge |             if pledge | ||||||
|                 .spacer |                 .spacer | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user