Add contact page

This commit is contained in:
Christine Dodrill 2015-01-31 20:28:06 -08:00
parent f0fcb0a938
commit 48f274d319
5 changed files with 30 additions and 0 deletions

View File

@ -6,5 +6,8 @@ class extends lapis.Application
[index: "/"]: => [index: "/"]: =>
render: true render: true
[contact: "/contact"]: =>
render: true
handle_404: => handle_404: =>
status: 404, render: "notfound" status: 404, render: "notfound"

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

27
views/contact.moon Normal file
View File

@ -0,0 +1,27 @@
import Widget from require "lapis.html"
class Index extends Widget
content: =>
center ->
h1 "Contact Info"
p class: "lead", ->
text "IRC"
p "I am on many IRC networks. On Freenode I am using the nick Xe but elsewhere I will use the nick Xena."
p class: "lead", ->
text "Social Media"
div class: "row", ->
div class: "col-md-4", ->
img src: "/static/img/contact/github.png", height: 350, width: 350
a href: "http://github.com/Xe", "GitHub"
div class: "col-md-4", ->
img src: "/static/img/contact/twitter.png", height: 350, width: 350
a href: "http://twitter.com/theprincessxena", "Twitter"
div class: "col-md-4", ->
img src: "/static/img/contact/medium.jpg", height: 350, width: 350
a href: "http://medium.com/@theprincessxena", "Medium"