update homepage
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 103 KiB |
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
.home-tablet-phone
|
||||
float: right
|
||||
margin-top: -200px
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user