diff --git a/app.moon b/app.moon index c2b14c2..24ce2b0 100644 --- a/app.moon +++ b/app.moon @@ -1,4 +1,3 @@ -gh = require('github').new({access_token: os.getenv "GITHUB_TOKEN", httpclient_driver: 'httpclient.ngx_driver'}) lapis = require "lapis" class extends lapis.Application @@ -9,13 +8,6 @@ class extends lapis.Application @include "controllers.go" [index: "/"]: => - @user, err = gh\get_authenticated_user() - - if err - @err = err - - return status: 500, render: "error" - render: true [contact: "/contact"]: => diff --git a/static/img/avatar.png b/static/img/avatar.png new file mode 100644 index 0000000..c2ed955 Binary files /dev/null and b/static/img/avatar.png differ diff --git a/views/index.moon b/views/index.moon index 38ac835..4ee11d9 100644 --- a/views/index.moon +++ b/views/index.moon @@ -9,8 +9,8 @@ class About extends Widget a href: "/contact", class: "follow_btn hidden-xs", "Contact Me" div class: "col-md-8 col-xs-12", -> - img src: @user.avatar_url, class: "img-thumbnail picture hidden-xs" - img src: @user.avatar_url, class: "img-thumbnail picture visible-xs picture_mob" + img src: "/static/img/avatar.png", class: "img-thumbnail picture hidden-xs" + img src: "/static/img/avatar.png", class: "img-thumbnail picture visible-xs picture_mob" div class: "header", -> h1 "Christine Dodrill"