Add contact page
This commit is contained in:
parent
f0fcb0a938
commit
48f274d319
3
app.moon
3
app.moon
|
@ -6,5 +6,8 @@ class extends lapis.Application
|
|||
[index: "/"]: =>
|
||||
render: true
|
||||
|
||||
[contact: "/contact"]: =>
|
||||
render: true
|
||||
|
||||
handle_404: =>
|
||||
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 |
|
@ -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"
|
Loading…
Reference in New Issue