move link definition
This commit is contained in:
parent
3a6dd987cc
commit
8c27f40940
|
@ -1,12 +1,12 @@
|
||||||
import Widget from require "lapis.html"
|
import Widget from require "lapis.html"
|
||||||
|
|
||||||
link = (img, url, name) ->
|
|
||||||
div class: "col-md-4", ->
|
|
||||||
img src: "/static/img/contact/" .. img, height: 250, width: 250
|
|
||||||
a class: "lead", href: url, name
|
|
||||||
|
|
||||||
class Index extends Widget
|
class Index extends Widget
|
||||||
content: =>
|
content: =>
|
||||||
|
link = (img, url, name) ->
|
||||||
|
div class: "col-md-4", ->
|
||||||
|
img src: "/static/img/contact/" .. img, height: 250, width: 250
|
||||||
|
a class: "lead", href: url, name
|
||||||
|
|
||||||
style [[ img { padding-top: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px; } ]]
|
style [[ img { padding-top: 25px; padding-right: 25px; padding-bottom: 25px; padding-left: 25px; } ]]
|
||||||
center ->
|
center ->
|
||||||
h1 "Contact Info"
|
h1 "Contact Info"
|
||||||
|
|
Loading…
Reference in New Issue