diff --git a/css/resume.css b/css/resume.css index cefdd33..6d282cb 100644 --- a/css/resume.css +++ b/css/resume.css @@ -42,7 +42,8 @@ strong { font-weight: bold; } li { line-height: 24px; border-bottom: 1px solid #ccc; } p.enlarge { font-size: 144%; padding-right: 6.5em; line-height: 24px; } p.enlarge span { color: #000 } -.contact-info { margin-top: 7px; } +.contact-info { margin-top: 7px; text-align: right; font-size: 12px;} +.contact-info img {float: right; border: 1px solid #ccc; width: 150px; height: 150px; margin: -24px 0 14px;} .first h2 { font-style: italic; } .last { border-bottom: 0 } diff --git a/js/githubresume.js b/js/githubresume.js index f9ab676..452fe87 100644 --- a/js/githubresume.js +++ b/js/githubresume.js @@ -51,7 +51,7 @@ var run = function() { var gh_user = gh.user(username); var itemCount = 0, maxItems = 5; - + var res = gh_user.show(function(data) { gh_user.repos(function(data) { repos = data; @@ -77,6 +77,7 @@ var run = function() { email: data.user.email, created_at: data.user.created_at, location: data.user.location, + gravatar_id: data.user.gravatar_id, repos: data.user.public_repo_count, plural: data.user.public_repo_count > 1 ? 'repositories' : 'repository', username: username, diff --git a/views/resume.html b/views/resume.html index 13bc20f..3b3dd19 100644 --- a/views/resume.html +++ b/views/resume.html @@ -4,12 +4,17 @@
-

{{name}}

-

Passionate github user

+
+

{{name}}

+

Passionate github user

+
+ {{#gravatar_id}} + + {{/gravatar_id}}

{{email}}

@@ -30,7 +35,8 @@ {{#location}} based in {{location}} {{/location}} - with {{repos}} public {{plural}}. I've been using github.com since {{since}} + with {{repos}} public {{plural}}. + I've been using github.com since {{since}} {{#blog}} and sometimes I blog at {{blog}} {{/blog}}