diff --git a/app/assets/stylesheets/scss/entry.scss b/app/assets/stylesheets/scss/entry.scss index 964e2980..4d145256 100644 --- a/app/assets/stylesheets/scss/entry.scss +++ b/app/assets/stylesheets/scss/entry.scss @@ -8,4 +8,8 @@ .entry-text { margin-bottom: 0px; +} + +.entry-about { + margin-top: 0px; } \ No newline at end of file diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 0108b35d..f64b0611 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -52,6 +52,7 @@ module ApplicationHelper def gravatar_url(user) return '//www.gravatar.com/avatar' if user.nil? + return "//www.gravatar.com/avatar/#{Digest::MD5.hexdigest(user)}" if user.is_a? String "//www.gravatar.com/avatar/#{Digest::MD5.hexdigest(user.email)}" end diff --git a/app/views/static/about.html.haml b/app/views/static/about.html.haml index 78a045a4..b5c63f2f 100644 --- a/app/views/static/about.html.haml +++ b/app/views/static/about.html.haml @@ -16,10 +16,20 @@ %h3 The Team The people behind justask! %br/ - %ul - - @admins.each do |user| - %li - %a= link_to user.screen_name, show_user_profile_path(user.screen_name) + .media + .pull-left + %a{href: show_user_profile_path('nilsding')} + %img.img-rounded.answerbox--img{src: gravatar_url('nilsding@nilsding.org')} + .media-body + %h4.entry-text.entry-about nilsding + %h6.entry-subtext Backend, Server & Code + .media + .pull-left + %a{href: show_user_profile_path('pixeldesu')} + %img.img-rounded.answerbox--img{src: gravatar_url('pixeldesu@outlook.com')} + .media-body + %h4.entry-text.entry-about pixeldesu + %h6.entry-subtext Frontend Design & Layout .panel.panel-default .panel-body There are lies, damned lies, and then there are...