Add about page, remove enquete from menu
This commit is contained in:
@@ -0,0 +1,31 @@
|
|||||||
|
- title t('menu.about')
|
||||||
|
= image_tag 'icons/logo-big.png', style: 'float: right'
|
||||||
|
p
|
||||||
|
|
|
||||||
|
Qwaiter is een systeem om bestellingen te doen met je smartphone.
|
||||||
|
Als je wel eens op een terras of een afgelegen deel van een horeca gelegenheid
|
||||||
|
hebt gezeten en vond dat het te lang duurde voordat er iemand aan je kwam vragen
|
||||||
|
wat je wil bestellen dan weet je dat er nog veel te verbeteren is.
|
||||||
|
p
|
||||||
|
|
|
||||||
|
Om horeca gelegenheden te helpen de vraag van klanten beter te kunnen verwerken
|
||||||
|
is Qwaiter ontstaan. Qwaiter is een toevoeging voor horeca gelegenheden om klanten
|
||||||
|
met hun smartphone te laten bestellen. Dit is de focus van Qwaiter! Om het gemak
|
||||||
|
en de sfeer waar mensen aan gewend zijn te handhaven integreert Qwaiter zo goed
|
||||||
|
mogelijk met de ervaring van mensen. Klanten kunnen gewoon op een lijstje bestellen
|
||||||
|
en bij ondersteunde systemen komt de bestelling gewoon achter de bar of in de keuken
|
||||||
|
uitgeprint.
|
||||||
|
p
|
||||||
|
'
|
||||||
|
Qwaiter is gratis om in gebruik te nemen en in een handomdraai toegevoegd als extra dienst.
|
||||||
|
Maak als horeca gelegenheid een
|
||||||
|
=' link_to 'account', new_supplier_registration_path
|
||||||
|
|
|
||||||
|
aan. Richt deze in en je kan aan de slag!
|
||||||
|
p
|
||||||
|
'
|
||||||
|
Heb je een ervaring of idee waardoor we de ervaring voor zowel de horeca bezoeker als
|
||||||
|
de horeca gelegenheid kunnen verbeteren mail dit dan naar:
|
||||||
|
=' mail_to 'ervaringe@qwaiter.com'
|
||||||
|
|
|
||||||
|
dan kunnen wij ervoor zorgen dat het gaan naar een horeca gelegenheid leuk en makkelijk wordt!
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
ul.nav
|
ul.nav
|
||||||
li[class=(current_page?(controller: '/dashboard', action: 'home') ? :active : nil)]= link_to t('menu.home'), root_path
|
li[class=(current_page?(controller: '/dashboard', action: 'home') ? :active : nil)]= link_to t('menu.home'), root_path
|
||||||
|
li[class=(current_page?(controller: '/dashboard', action: 'about') ? :active : nil)]= link_to t('menu.about'), about_path
|
||||||
li[class=(current_page?(controller: '/dashboard', action: 'clients') ? :active : nil)]= link_to t('menu.clients'), clients_path
|
li[class=(current_page?(controller: '/dashboard', action: 'clients') ? :active : nil)]= link_to t('menu.clients'), clients_path
|
||||||
li[class=(current_page?(controller: '/dashboard', action: 'bars_restaurants') ? :active : nil)]= link_to t('menu.bars_restaurants'), bars_restaurants_path
|
li[class=(current_page?(controller: '/dashboard', action: 'bars_restaurants') ? :active : nil)]= link_to t('menu.bars_restaurants'), bars_restaurants_path
|
||||||
li[class=(current_page?(controller: '/dashboard', action: 'enquete') ? :active : nil)]= link_to t('menu.enquete'), enquete_path
|
|
||||||
li[class=(current_page?(controller: '/dashboard', action: 'cartoon') ? :active : nil)]= link_to t('menu.cartoon'), cartoon_path
|
li[class=(current_page?(controller: '/dashboard', action: 'cartoon') ? :active : nil)]= link_to t('menu.cartoon'), cartoon_path
|
||||||
li[class=(current_page?(controller: '/dashboard', action: 'contact') ? :active : nil)]= link_to t('menu.contact'), contact_path
|
li[class=(current_page?(controller: '/dashboard', action: 'contact') ? :active : nil)]= link_to t('menu.contact'), contact_path
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ en:
|
|||||||
hello: "Hello world"
|
hello: "Hello world"
|
||||||
menu:
|
menu:
|
||||||
home: Home
|
home: Home
|
||||||
|
about: About
|
||||||
bars_restaurants: 'Bars & Restaurants'
|
bars_restaurants: 'Bars & Restaurants'
|
||||||
clients: Gebruikers
|
clients: Gebruikers
|
||||||
enquete: Enquete
|
enquete: Enquete
|
||||||
|
|||||||
@@ -3,7 +3,8 @@
|
|||||||
nl:
|
nl:
|
||||||
menu:
|
menu:
|
||||||
home: Home
|
home: Home
|
||||||
bars_restaurants: 'Bars & Restaurants'
|
about: Over Qwaiter
|
||||||
|
bars_restaurants: 'Horeca'
|
||||||
clients: Gebruikers
|
clients: Gebruikers
|
||||||
enquete: Enquete
|
enquete: Enquete
|
||||||
cartoon: Cartoon
|
cartoon: Cartoon
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ Qwaiter::Application.routes.draw do
|
|||||||
|
|
||||||
#match '/show_products' => 'dashboard#show_products', as: :user_products
|
#match '/show_products' => 'dashboard#show_products', as: :user_products
|
||||||
# GENERAL
|
# GENERAL
|
||||||
|
get '/about' => 'dashboard#about'
|
||||||
get '/enquete' => 'dashboard#enquete'
|
get '/enquete' => 'dashboard#enquete'
|
||||||
get '/cartoon' => 'dashboard#cartoon'
|
get '/cartoon' => 'dashboard#cartoon'
|
||||||
get '/bars-restaurants' => 'dashboard#bars_restaurants', as: :bars_restaurants
|
get '/bars-restaurants' => 'dashboard#bars_restaurants', as: :bars_restaurants
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
# encoding: UTF-8
|
||||||
|
require 'spec_helper'
|
||||||
|
|
||||||
|
describe Qwaiter::Distribution do
|
||||||
|
describe 'distribute_lattice' do
|
||||||
|
{
|
||||||
|
[20 , 10, 4] => [10.0, 5.0],
|
||||||
|
[10 , 10, 4] => [ 5.0, 5.0],
|
||||||
|
[20 , 5, 4] => [ 5.0, 5.0],
|
||||||
|
[30 , 10, 4] => [ 7.5, 10.0],
|
||||||
|
[10 , 30, 4] => [10.0, 7.5],
|
||||||
|
[10 , 10, 3] => [ 5.0, 5.0],
|
||||||
|
[13.6, 40, 7] => [ 6.8, 10.0],
|
||||||
|
[13.6, 40, 9] => [ 6.8, 8.0],
|
||||||
|
[13.6, 40, 10] => [ 6.8, 8.0],
|
||||||
|
[40, 40, 23] => [ 8.0, 8.0],
|
||||||
|
}.each do |params, result|
|
||||||
|
it("handles #{params.join(', ')}"){ Qwaiter::Distribution.distribute_lattice(*params).should == result }
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user