From 8c27f409409458148e12560ce9e9c9ea6d1969a3 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 31 Jan 2015 20:44:51 -0800 Subject: [PATCH] move link definition --- views/contact.moon | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/views/contact.moon b/views/contact.moon index 16a89ab..89ed0f0 100644 --- a/views/contact.moon +++ b/views/contact.moon @@ -1,12 +1,12 @@ 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 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; } ]] center -> h1 "Contact Info"