fix the about css

This commit is contained in:
Christine Dodrill 2015-01-31 22:17:10 -08:00
parent 83dde746f6
commit 3c851d9cdc
4 changed files with 19 additions and 5 deletions

View File

@ -6,6 +6,7 @@ lapis = require "lapis"
class About extends lapis.Application
[about: "/about"]: =>
@user, err = gh\get_authenticated_user()
@title = "About Me"
if err
@err = err

15
controllers/hire.moon Normal file
View File

@ -0,0 +1,15 @@
gh = require('github').new({access_token: os.getenv "GITHUB_TOKEN", httpclient_driver: 'httpclient.ngx_driver'})
http = require "lapis.nginx.http"
lapis = require "lapis"
class About extends lapis.Application
[about: "/about"]: =>
@user, err = gh\get_authenticated_user()
if err
@err = err
return status: 500, render: "error"
return render: true

View File

@ -5,8 +5,6 @@ img.textwrap-right {
.well {
margin-top:-20px;
background-color:#007FBD;
border:2px solid #0077B2;
text-align:center;
cursor:pointer;
font-size: 25px;
@ -16,8 +14,7 @@ img.textwrap-right {
.well:hover {
margin-top:-20px;
background-color:#0077B2;
border:2px solid #0077B2;
border:2px solid black;
text-align:center;
cursor:pointer;
font-size: 25px;
@ -98,7 +95,6 @@ img.textwrap-right {
background-color: #3D5DE0;
border-color: #adadad;
width: 33.3%;
}
@media (max-width: 767px) {

View File

@ -31,3 +31,5 @@ class About extends Widget
div class: "col-md-4 col-xs-4 well", ->
i class: "fa fa-thumbs-o-up fa-lg"
p @user.following