update homepage

This commit is contained in:
2012-11-21 12:13:58 +01:00
parent f1bc6a6978
commit b9efc6e860
7 changed files with 42 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.
+3
View File
@@ -0,0 +1,3 @@
.home-tablet-phone
float: right
margin-top: -200px
+7
View File
@@ -69,4 +69,11 @@ module ApplicationHelper
def show_boolean(bool)
t("general.boolean.boolean_#{bool.present? ? 'yes' : 'no'}")
end
def facebook_link
link_to 'Facebook', 'https://www.facebook.com/Qwaiter', target: :_blank
end
def twitter_link
link_to 'Twitter', 'https://www.twitter.com/Qwaiter', target: :_blank
end
end
+6 -2
View File
@@ -1,3 +1,7 @@
p
.home-tablet-phone= image_tag 'site/tablet-phone.png'
p.introduction
= image_tag 'qr.png', class: 'home-qr'
|Welcome on the Qwaiter homepage. Qwaiter is an application that lets you place orders by simply scanning a code from a table on a terrace or a restaurant. Then directly the menu appears and you can place your order. See the progress while you wait for your drinks!
= t('site.home.introduction')
p.development= t('site.home.development')
p.enroll= t('site.home.enroll', facebook: facebook_link, twitter: twitter_link).html_safe
.clearing