update look of profile

This commit is contained in:
Quincy Larson
2015-08-21 22:52:09 -07:00
parent 538e48e237
commit d49b303de3

View File

@ -17,34 +17,23 @@ block content
.spacer .spacer
.row .row
.col-xs-12 .col-xs-12
.col-xs-12.col-sm-12.col-md-5 img.img-center.img-responsive.public-profile-img.img-center(src=picture)
if picture h1.text-center.negative-5.profile-social-icons
img.img-center.img-responsive.public-profile-img(src=picture) if (twitter)
else a.fa.fa-twitter-square.text-primary(title="@#{username}'s Twitter Profile", href=twitter, target='_blank')
img.img-center.img-responsive.public-profile-img(src='https://s3.amazonaws.com/freecodecamp/camper-image-placeholder.png') if (github)
h1.text-center.negative-5.profile-social-icons a.fa.fa-github-square.text-primary(title="@#{username}'s GitHub Profile", href=github, target='_blank')
if (twitter) if (linkedin)
a.fa.fa-twitter-square.text-primary(title="@#{username}'s Twitter Profile", href=twitter, target='_blank') a.fa.fa-linkedin-square.text-primary(title="@#{username}'s LinkedIn Profile", href=linkedin, target='_blank')
if (github) if (facebook)
a.fa.fa-github-square.text-primary(title="@#{username}'s GitHub Profile", href=github, target='_blank') a.fa.fa-facebook-square.text-primary(title="@#{username}'s Facebook Profile", href=facebook, target='_blank')
if (linkedin) if (google)
a.fa.fa-linkedin-square.text-primary(title="@#{username}'s LinkedIn Profile", href=linkedin, target='_blank') a.fa.fa-google-square.text-primary(title="@#{username}'s Google Profile", href=google, target='_blank')
if (facebook) .col-xs-12.col-sm-12.text-center
a.fa.fa-facebook-square.text-primary(title="@#{username}'s Facebook Profile", href=facebook, target='_blank') h1.flat-top.wrappable= name
if (google) h3.flat-top.bolded.wrappable= location
a.fa.fa-google-square.text-primary(title="@#{username}'s Google Profile", href=google, target='_blank') .col-xs-12.col-sm-12.text-center
.visible-md.visible-lg = "[ " + (progressTimestamps.length) + " ]"
.col-xs-12.col-sm-12.col-md-4.text-justify
h1.flat-top.wrappable= name
h3.flat-top.bolded.wrappable= location
.visible-xs.visible-sm
.col-xs-12.col-sm-12.col-md-4.text-center
h1.flat-top.wrappable= name
h3.flat-top.bolded.wrappable= location
.col-xs-12.col-sm-12.col-md-3.text-center
.background-svg.img-center
.points-on-top
= "[ " + (progressTimestamps.length) + " ]"
.spacer .spacer
.hidden-xs.hidden-sm.col-md-12 .hidden-xs.hidden-sm.col-md-12
#cal-heatmap.d3-centered #cal-heatmap.d3-centered