From d49b303de30cf52d4e50594ed8cd712da10dcfbc Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Fri, 21 Aug 2015 22:52:09 -0700 Subject: [PATCH] update look of profile --- server/views/account/show.jade | 45 +++++++++++++--------------------- 1 file changed, 17 insertions(+), 28 deletions(-) diff --git a/server/views/account/show.jade b/server/views/account/show.jade index 4c837f828dd..ed7221e68c4 100644 --- a/server/views/account/show.jade +++ b/server/views/account/show.jade @@ -17,34 +17,23 @@ block content .spacer .row .col-xs-12 - .col-xs-12.col-sm-12.col-md-5 - if picture - img.img-center.img-responsive.public-profile-img(src=picture) - else - img.img-center.img-responsive.public-profile-img(src='https://s3.amazonaws.com/freecodecamp/camper-image-placeholder.png') - h1.text-center.negative-5.profile-social-icons - if (twitter) - a.fa.fa-twitter-square.text-primary(title="@#{username}'s Twitter Profile", href=twitter, target='_blank') - if (github) - a.fa.fa-github-square.text-primary(title="@#{username}'s GitHub Profile", href=github, target='_blank') - if (linkedin) - a.fa.fa-linkedin-square.text-primary(title="@#{username}'s LinkedIn Profile", href=linkedin, target='_blank') - if (facebook) - a.fa.fa-facebook-square.text-primary(title="@#{username}'s Facebook Profile", href=facebook, target='_blank') - if (google) - a.fa.fa-google-square.text-primary(title="@#{username}'s Google Profile", href=google, target='_blank') - .visible-md.visible-lg - .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) + " ]" + img.img-center.img-responsive.public-profile-img.img-center(src=picture) + h1.text-center.negative-5.profile-social-icons + if (twitter) + a.fa.fa-twitter-square.text-primary(title="@#{username}'s Twitter Profile", href=twitter, target='_blank') + if (github) + a.fa.fa-github-square.text-primary(title="@#{username}'s GitHub Profile", href=github, target='_blank') + if (linkedin) + a.fa.fa-linkedin-square.text-primary(title="@#{username}'s LinkedIn Profile", href=linkedin, target='_blank') + if (facebook) + a.fa.fa-facebook-square.text-primary(title="@#{username}'s Facebook Profile", href=facebook, target='_blank') + if (google) + a.fa.fa-google-square.text-primary(title="@#{username}'s Google Profile", href=google, target='_blank') + .col-xs-12.col-sm-12.text-center + h1.flat-top.wrappable= name + h3.flat-top.bolded.wrappable= location + .col-xs-12.col-sm-12.text-center + = "[ " + (progressTimestamps.length) + " ]" .spacer .hidden-xs.hidden-sm.col-md-12 #cal-heatmap.d3-centered