diff --git a/.gitignore b/.gitignore
index 6db3c9a5bc..c17ee441a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,9 +7,18 @@
# Ignore bundler config.
/.bundle
+# Ignore the default SQLite database.
+/db/*.sqlite3
+/db/*.sqlite3-journal
+
# Ignore all logfiles and tempfiles.
/log/*
!/log/.keep
/tmp
.DS_Store
+
+/coverage
+
+# Ignore the .env file (it's full of secrets!)
+.env
diff --git a/Gemfile b/Gemfile
index c69f4ddde9..9e544a5bf1 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,10 +1,10 @@
source 'https://rubygems.org'
-ruby '2.3.1'
+# graphing for erd
+gem 'graphviz'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.6'
-# Use postgresql as the database for Active Record
-# gem 'pg', '~> 0.15'
+
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
@@ -23,6 +23,15 @@ gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
+
+# For authentication
+gem 'omniauth'
+
+#google as our authentication instead
+gem "omniauth-google-oauth2", "~> 0.2.1"
+
+#for 5 star reviews
+gem 'ratyrate'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
@@ -32,15 +41,41 @@ gem 'sdoc', '~> 0.4.0', group: :doc
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
+group :test do
+ gem 'minitest-reporters'
+ gem 'simplecov'
+end
+
group :development, :test do
+ # Use sqlite3 as the database for Active Record
+ gem 'sqlite3'
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
+ # for tests
+ gem 'dotenv-rails'
+
+ #for testing
+ gem 'better_errors'
+ gem 'binding_of_caller'
+
+
end
group :development do
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
+ #for erd diagram
+ gem 'rails-erd'
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
end
+
+group :production do
+ # to use postgres in production
+ gem 'pg'
+
+ gem 'rails_12factor'
+end
diff --git a/Gemfile.lock b/Gemfile.lock
index 20975578b8..2405ad8627 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -36,11 +36,19 @@ GEM
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
+ addressable (2.4.0)
+ ansi (1.5.0)
arel (6.0.3)
+ better_errors (2.1.1)
+ coderay (>= 1.0.0)
+ erubis (>= 2.6.6)
+ rack (>= 0.9.0)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
- byebug (8.2.5)
+ byebug (9.0.6)
+ choice (0.2.0)
+ coderay (1.1.1)
coffee-rails (4.1.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.1.x)
@@ -48,33 +56,69 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.10.0)
- concurrent-ruby (1.0.1)
+ concurrent-ruby (1.0.2)
debug_inspector (0.0.2)
+ docile (1.1.5)
+ dotenv (2.1.1)
+ dotenv-rails (2.1.1)
+ dotenv (= 2.1.1)
+ railties (>= 4.0, < 5.1)
erubis (2.7.0)
- execjs (2.6.0)
- globalid (0.3.6)
+ execjs (2.7.0)
+ faraday (0.9.2)
+ multipart-post (>= 1.2, < 3)
+ globalid (0.3.7)
activesupport (>= 4.1.0)
+ graphviz (0.3.0)
+ hashie (3.4.6)
i18n (0.7.0)
- jbuilder (2.4.1)
+ jbuilder (2.6.0)
activesupport (>= 3.0.0, < 5.1)
multi_json (~> 1.2)
- jquery-rails (4.1.1)
+ jquery-rails (4.2.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.3)
+ jwt (1.5.6)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.4)
mime-types (>= 1.16, < 4)
- mime-types (3.0)
+ mime-types (3.1)
mime-types-data (~> 3.2015)
- mime-types-data (3.2016.0221)
- mini_portile2 (2.0.0)
- minitest (5.8.4)
- multi_json (1.11.3)
- nokogiri (1.6.7.2)
- mini_portile2 (~> 2.0.0.rc2)
+ mime-types-data (3.2016.0521)
+ mini_portile2 (2.1.0)
+ minitest (5.9.1)
+ minitest-reporters (1.1.11)
+ ansi
+ builder
+ minitest (>= 5.0)
+ ruby-progressbar
+ multi_json (1.12.1)
+ multi_xml (0.5.5)
+ multipart-post (2.0.0)
+ nokogiri (1.6.8.1)
+ mini_portile2 (~> 2.1.0)
+ oauth2 (1.2.0)
+ faraday (>= 0.8, < 0.10)
+ jwt (~> 1.0)
+ multi_json (~> 1.3)
+ multi_xml (~> 0.5)
+ rack (>= 1.2, < 3)
+ omniauth (1.3.1)
+ hashie (>= 1.2, < 4)
+ rack (>= 1.0, < 3)
+ omniauth-google-oauth2 (0.2.10)
+ addressable (~> 2.3)
+ jwt (~> 1.0)
+ multi_json (~> 1.3)
+ omniauth (>= 1.1.1)
+ omniauth-oauth2 (~> 1.3.1)
+ omniauth-oauth2 (1.3.1)
+ oauth2 (~> 1.0)
+ omniauth (~> 1.2)
+ pg (0.19.0)
rack (1.6.4)
rack-test (0.6.3)
rack (>= 1.0)
@@ -95,42 +139,63 @@ GEM
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
+ rails-erd (1.5.0)
+ activerecord (>= 3.2)
+ activesupport (>= 3.2)
+ choice (~> 0.2.0)
+ ruby-graphviz (~> 1.2)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
+ rails_12factor (0.0.3)
+ rails_serve_static_assets
+ rails_stdout_logging
+ rails_serve_static_assets (0.0.5)
+ rails_stdout_logging (0.0.5)
railties (4.2.6)
actionpack (= 4.2.6)
activesupport (= 4.2.6)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
- rake (11.1.2)
+ rake (11.3.0)
+ ratyrate (1.2.2.alpha)
rdoc (4.2.2)
json (~> 1.4)
+ ruby-graphviz (1.2.2)
+ ruby-progressbar (1.8.1)
sass (3.4.22)
- sass-rails (5.0.4)
- railties (>= 4.0.0, < 5.0)
+ sass-rails (5.0.6)
+ railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
- sdoc (0.4.1)
+ sdoc (0.4.2)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
- spring (1.7.1)
- sprockets (3.6.0)
+ simplecov (0.12.0)
+ docile (~> 1.1.0)
+ json (>= 1.8, < 3)
+ simplecov-html (~> 0.10.0)
+ simplecov-html (0.10.0)
+ spring (2.0.0)
+ activesupport (>= 4.2)
+ sprockets (3.7.0)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
- sprockets-rails (3.0.4)
+ sprockets-rails (3.2.0)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
+ sqlite3 (1.3.12)
thor (0.19.1)
thread_safe (0.3.5)
- tilt (2.0.2)
- turbolinks (2.5.3)
- coffee-rails
+ tilt (2.0.5)
+ turbolinks (5.0.1)
+ turbolinks-source (~> 5)
+ turbolinks-source (5.0.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
- uglifier (3.0.0)
+ uglifier (3.0.2)
execjs (>= 0.3.0, < 3)
web-console (2.3.0)
activemodel (>= 4.0)
@@ -142,20 +207,30 @@ PLATFORMS
ruby
DEPENDENCIES
+ better_errors
+ binding_of_caller
byebug
coffee-rails (~> 4.1.0)
+ dotenv-rails
+ graphviz
jbuilder (~> 2.0)
jquery-rails
+ minitest-reporters
+ omniauth
+ omniauth-google-oauth2 (~> 0.2.1)
+ pg
rails (= 4.2.6)
+ rails-erd
+ rails_12factor
+ ratyrate
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
+ simplecov
spring
+ sqlite3
turbolinks
uglifier (>= 1.3.0)
web-console (~> 2.0)
-RUBY VERSION
- ruby 2.3.1p112
-
BUNDLED WITH
1.13.5
diff --git a/README.rdoc b/README.rdoc
new file mode 100644
index 0000000000..dd4e97e22e
--- /dev/null
+++ b/README.rdoc
@@ -0,0 +1,28 @@
+== README
+
+This README would normally document whatever steps are necessary to get the
+application up and running.
+
+Things you may want to cover:
+
+* Ruby version
+
+* System dependencies
+
+* Configuration
+
+* Database creation
+
+* Database initialization
+
+* How to run the test suite
+
+* Services (job queues, cache servers, search engines, etc.)
+
+* Deployment instructions
+
+* ...
+
+
+Please feel free to use a different markup language if you do not plan to run
+rake doc:app.
diff --git a/app/assets/.DS_Store b/app/assets/.DS_Store
new file mode 100644
index 0000000000..fd1427cb55
Binary files /dev/null and b/app/assets/.DS_Store differ
diff --git a/app/assets/images/almonds.jpg b/app/assets/images/almonds.jpg
new file mode 100644
index 0000000000..dc978d5ed6
Binary files /dev/null and b/app/assets/images/almonds.jpg differ
diff --git a/app/assets/images/basket.jpg b/app/assets/images/basket.jpg
new file mode 100644
index 0000000000..100ba418b3
Binary files /dev/null and b/app/assets/images/basket.jpg differ
diff --git a/app/assets/images/basketcart.png b/app/assets/images/basketcart.png
new file mode 100644
index 0000000000..750814c824
Binary files /dev/null and b/app/assets/images/basketcart.png differ
diff --git a/app/assets/images/blanket.jpg b/app/assets/images/blanket.jpg
new file mode 100644
index 0000000000..b1f085e603
Binary files /dev/null and b/app/assets/images/blanket.jpg differ
diff --git a/app/assets/images/brie.jpg b/app/assets/images/brie.jpg
new file mode 100644
index 0000000000..6d006b22fe
Binary files /dev/null and b/app/assets/images/brie.jpg differ
diff --git a/app/assets/images/categories/almonds.jpg b/app/assets/images/categories/almonds.jpg
new file mode 100644
index 0000000000..cc708317a0
Binary files /dev/null and b/app/assets/images/categories/almonds.jpg differ
diff --git a/app/assets/images/categories/charcuterie.jpg b/app/assets/images/categories/charcuterie.jpg
new file mode 100644
index 0000000000..f5cd5bd87b
Binary files /dev/null and b/app/assets/images/categories/charcuterie.jpg differ
diff --git a/app/assets/images/categories/cheese.jpg b/app/assets/images/categories/cheese.jpg
new file mode 100644
index 0000000000..ad9cacb577
Binary files /dev/null and b/app/assets/images/categories/cheese.jpg differ
diff --git a/app/assets/images/categories/essentials.jpg b/app/assets/images/categories/essentials.jpg
new file mode 100644
index 0000000000..6ebcf1e436
Binary files /dev/null and b/app/assets/images/categories/essentials.jpg differ
diff --git a/app/assets/images/categories/peaches.jpg b/app/assets/images/categories/peaches.jpg
new file mode 100644
index 0000000000..aadd4e3b07
Binary files /dev/null and b/app/assets/images/categories/peaches.jpg differ
diff --git a/app/assets/images/categories/wines.jpg b/app/assets/images/categories/wines.jpg
new file mode 100644
index 0000000000..c43cdd8600
Binary files /dev/null and b/app/assets/images/categories/wines.jpg differ
diff --git a/app/assets/images/chicken.jpeg b/app/assets/images/chicken.jpeg
new file mode 100644
index 0000000000..8243a4c4cf
Binary files /dev/null and b/app/assets/images/chicken.jpeg differ
diff --git a/app/assets/images/favicon.ico b/app/assets/images/favicon.ico
new file mode 100644
index 0000000000..012f3b8e7e
Binary files /dev/null and b/app/assets/images/favicon.ico differ
diff --git a/app/assets/images/goat_cheese.jpeg b/app/assets/images/goat_cheese.jpeg
new file mode 100644
index 0000000000..609a0cf941
Binary files /dev/null and b/app/assets/images/goat_cheese.jpeg differ
diff --git a/app/assets/images/grapes.jpg b/app/assets/images/grapes.jpg
new file mode 100644
index 0000000000..d193e8bd74
Binary files /dev/null and b/app/assets/images/grapes.jpg differ
diff --git a/app/assets/images/gruyere.jpg b/app/assets/images/gruyere.jpg
new file mode 100644
index 0000000000..eef074ffab
Binary files /dev/null and b/app/assets/images/gruyere.jpg differ
diff --git a/app/assets/images/merchant-strawberries.jpg b/app/assets/images/merchant-strawberries.jpg
new file mode 100644
index 0000000000..d0881b703c
Binary files /dev/null and b/app/assets/images/merchant-strawberries.jpg differ
diff --git a/app/assets/images/salami.jpg b/app/assets/images/salami.jpg
new file mode 100644
index 0000000000..6cae79c294
Binary files /dev/null and b/app/assets/images/salami.jpg differ
diff --git a/app/assets/images/sampler.jpg b/app/assets/images/sampler.jpg
new file mode 100644
index 0000000000..dd8663a631
Binary files /dev/null and b/app/assets/images/sampler.jpg differ
diff --git a/app/assets/images/sauternes.jpg b/app/assets/images/sauternes.jpg
new file mode 100644
index 0000000000..a8944e4255
Binary files /dev/null and b/app/assets/images/sauternes.jpg differ
diff --git a/app/assets/images/slicer.jpeg b/app/assets/images/slicer.jpeg
new file mode 100644
index 0000000000..b837cae512
Binary files /dev/null and b/app/assets/images/slicer.jpeg differ
diff --git a/app/assets/javascripts/categories.coffee b/app/assets/javascripts/categories.coffee
new file mode 100644
index 0000000000..24f83d18bb
--- /dev/null
+++ b/app/assets/javascripts/categories.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/javascripts/main.coffee b/app/assets/javascripts/main.coffee
new file mode 100644
index 0000000000..24f83d18bb
--- /dev/null
+++ b/app/assets/javascripts/main.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/javascripts/merchants.coffee b/app/assets/javascripts/merchants.coffee
new file mode 100644
index 0000000000..24f83d18bb
--- /dev/null
+++ b/app/assets/javascripts/merchants.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/javascripts/order_items.coffee b/app/assets/javascripts/order_items.coffee
new file mode 100644
index 0000000000..24f83d18bb
--- /dev/null
+++ b/app/assets/javascripts/order_items.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/javascripts/orders.coffee b/app/assets/javascripts/orders.coffee
new file mode 100644
index 0000000000..24f83d18bb
--- /dev/null
+++ b/app/assets/javascripts/orders.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/javascripts/product_categories.coffee b/app/assets/javascripts/product_categories.coffee
new file mode 100644
index 0000000000..24f83d18bb
--- /dev/null
+++ b/app/assets/javascripts/product_categories.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/javascripts/products.coffee b/app/assets/javascripts/products.coffee
new file mode 100644
index 0000000000..24f83d18bb
--- /dev/null
+++ b/app/assets/javascripts/products.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/javascripts/reviews.coffee b/app/assets/javascripts/reviews.coffee
new file mode 100644
index 0000000000..24f83d18bb
--- /dev/null
+++ b/app/assets/javascripts/reviews.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/javascripts/sessions.coffee b/app/assets/javascripts/sessions.coffee
new file mode 100644
index 0000000000..24f83d18bb
--- /dev/null
+++ b/app/assets/javascripts/sessions.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index f9cd5b3483..6dd163fe90 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -1,15 +1,221 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
+@import url('foundation.css');
+@import url('https://fonts.googleapis.com/css?family=Josefin+Slab');
+
+
+/*HEADER*/
+header section.top-bar {
+ background-color: #5A6070;
+ margin-bottom: 2%;
+}
+
+.basketcart-img {
+ height: 30%;
+}
+
+section.top-bar nav.top-bar-section {
+ font-family: 'Josefin Slab', serif;
+}
+
+ul.menu.top-bar-left, ul.menu.top-bar-right {
+ background-color: transparent;
+ font-family: 'Josefin Slab', serif;
+ color: #ECEBE4;
+ padding: 0 1% 0 1%;
+}
+
+ul.menu.top-bar-right li a{
+ display: inline;
+ text-align: right;
+}
+
+.increase-font2 {
+ font-size: 150%
+}
+
+header article h1#header-title a {
+ font-family: 'Josefin Slab', serif;
+ color: #483C46;
+ background-color: transparent;
+}
+
+header article h4#header-subtitle {
+ font-family: 'Josefin Slab', serif;
+ color: #483C46;
+ background-color: transparent;
+}
+
+header article h1#header-title a:hover {
+ color: #595959;
+}
+
+header section#category-list article.top-bar-section ul {
+ border-top: #5A6070 solid 1px;
+ border-bottom: #5A6070 solid 1px;
+}
+
+.increase-space {
+ padding-bottom: 2%;
+}
+
+.center {
+ text-align: center;
+}
+
+/*FOOTER*/
+footer div {
+ width: 100%;
+ background-color: #5A6070;
+ color: #ECEBE4;
+}
+
+footer div p {
+ padding: .3%;
+}
+
+/*ALL PAGES*/
+.page-title {
+ padding-top: 2%;
+ padding-bottom: 1%;
+ text-align: center;
+ font-family: 'Josefin Slab', serif;
+ color: #5E4E5B;
+}
+
+ul.bullet-none {
+ list-style: none;
+}
+
+
+table, th, td {
+ border: 1px solid darkgrey;
+ font-family: 'Josefin Slab', serif;
+}
+
+.indent {
+ margin-left: 10%;
+}
+
+.add-space {
+ padding-right: 2%;
+}
+
+.change-font {
+ font-family: 'Josefin Slab', serif;
+}
+
+.add-padding-top {
+ padding-top: 1%;
+}
+
+.underline {
+ border-bottom: dotted black 1px;
+}
+
+/*PRODUCT PAGES*/
+.product-img {
+ /*display: block;*/
+ width: 100%;
+ /*margin: auto;*/
+ padding: auto;
+}
+
+.product-link {
+ text-align: center;
+ font-family: 'Josefin Slab', serif;
+ color: #5E4E5B;
+}
+
+.product-image-thumbnail {
+ width: 70%;
+ padding: 2%;
+}
+
+.product-button {
+ text-align: center;
+ font-family: 'Josefin Slab', serif;
+ padding: 3px;
+ margin-top: 5px;
+ border: solid 1px #5A6070;
+ border-radius: 25%;
+ color: #ECEBE4;
+ background-color: #5E4E5B;
+ display: inline-block;
+ }
+
+ .category-link {
+ font-family: 'Josefin Slab', serif;
+}
+
+/*CATEGORY PAGES*/
+.category-img {
+ display: block;
+ width: 50%;
+ margin: auto;
+ padding-bottom: 2%
+}
+.category-img-thumbnail {
+ display: block;
+ padding: 2%
+}
+
+.underline-category {
+ border-bottom: solid 1px #110D0F;
+ margin-bottom: 2%;
+}
+
+.product-categories-link {
+ text-align: center;
+ font-family: 'Josefin Slab', serif;
+ color: #5E4E5B;
+}
+
+.merchant-img-thumbnail {
+ width: 30%;
+}
+
+/*TABLES*/
+.new-table {
+ padding: 2% 15% 0% 15%;
+}
+
+.product-new-table {
+ padding: 2% 15% 0% 15%;
+ background-color: #ECEBE4;
+}
+
+.form-text {
+ font-family: 'Josefin Slab', serif;
+ padding-left: 15%;
+ padding-top: 2%;
+}
+
+#category-options {
+ font-family: 'Josefin Slab', serif;
+ padding-left: 10%;
+}
+
+.cream-background {
+ background-color: #ECEBE4;
+ margin: 0 2% 0 2%;
+}
+
+.top-add-space {
+ padding-top: 2%;
+}
+
+.increase-font {
+ font-size: 110%
+}
+
+.padding-lf-rt {
+ padding: 0 4% 0 4%;
+}
+
+.padding-bot {
+ padding-bottom: 3%;
+}
+
+/*MERCHANT*/
+.merchant-img {
+padding-top: 3%;
+}
diff --git a/app/assets/stylesheets/categories.scss b/app/assets/stylesheets/categories.scss
new file mode 100644
index 0000000000..42976cbc11
--- /dev/null
+++ b/app/assets/stylesheets/categories.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the Categories controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/app/assets/stylesheets/foundation.css b/app/assets/stylesheets/foundation.css
new file mode 100644
index 0000000000..66aca962de
--- /dev/null
+++ b/app/assets/stylesheets/foundation.css
@@ -0,0 +1,4194 @@
+@charset "UTF-8";
+/**
+ * Foundation for Sites by ZURB
+ * Version 6.2.3
+ * foundation.zurb.com
+ * Licensed under MIT Open Source
+ */
+/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
+/**
+ * 1. Set default font family to sans-serif.
+ * 2. Prevent iOS and IE text size adjust after device orientation change,
+ * without disabling user zoom.
+ */
+html {
+ font-family: sans-serif;
+ /* 1 */
+ -ms-text-size-adjust: 100%;
+ /* 2 */
+ -webkit-text-size-adjust: 100%;
+ /* 2 */ }
+
+/**
+ * Remove default margin.
+ */
+body {
+ margin: 0; }
+
+/* HTML5 display definitions
+ ========================================================================== */
+/**
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
+ * and Firefox.
+ * Correct `block` display not defined for `main` in IE 11.
+ */
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+hgroup,
+main,
+menu,
+nav,
+section,
+summary {
+ display: block; }
+
+/**
+ * 1. Correct `inline-block` display not defined in IE 8/9.
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
+ */
+audio,
+canvas,
+progress,
+video {
+ display: inline-block;
+ /* 1 */
+ vertical-align: baseline;
+ /* 2 */ }
+
+/**
+ * Prevent modern browsers from displaying `audio` without controls.
+ * Remove excess height in iOS 5 devices.
+ */
+audio:not([controls]) {
+ display: none;
+ height: 0; }
+
+/**
+ * Address `[hidden]` styling not present in IE 8/9/10.
+ * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
+ */
+[hidden],
+template {
+ display: none; }
+
+/* Links
+ ========================================================================== */
+/**
+ * Remove the gray background color from active links in IE 10.
+ */
+a {
+ background-color: transparent; }
+
+/**
+ * Improve readability of focused elements when they are also in an
+ * active/hover state.
+ */
+a:active,
+a:hover {
+ outline: 0; }
+
+/* Text-level semantics
+ ========================================================================== */
+/**
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
+ */
+abbr[title] {
+ border-bottom: 1px dotted; }
+
+/**
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
+ */
+b,
+strong {
+ font-weight: bold; }
+
+/**
+ * Address styling not present in Safari and Chrome.
+ */
+dfn {
+ font-style: italic; }
+
+/**
+ * Address variable `h1` font-size and margin within `section` and `article`
+ * contexts in Firefox 4+, Safari, and Chrome.
+ */
+h1 {
+ font-size: 2em;
+ margin: 0.67em 0; }
+
+/**
+ * Address styling not present in IE 8/9.
+ */
+mark {
+ background: #ff0;
+ color: #000; }
+
+/**
+ * Address inconsistent and variable font size in all browsers.
+ */
+small {
+ font-size: 80%; }
+
+/**
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
+ */
+sub,
+sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline; }
+
+sup {
+ top: -0.5em; }
+
+sub {
+ bottom: -0.25em; }
+
+/* Embedded content
+ ========================================================================== */
+/**
+ * Remove border when inside `a` element in IE 8/9/10.
+ */
+img {
+ border: 0; }
+
+/**
+ * Correct overflow not hidden in IE 9/10/11.
+ */
+svg:not(:root) {
+ overflow: hidden; }
+
+/* Grouping content
+ ========================================================================== */
+/**
+ * Address margin not present in IE 8/9 and Safari.
+ */
+figure {
+ margin: 1em 40px; }
+
+/**
+ * Address differences between Firefox and other browsers.
+ */
+hr {
+ box-sizing: content-box;
+ height: 0; }
+
+/**
+ * Contain overflow in all browsers.
+ */
+pre {
+ overflow: auto; }
+
+/**
+ * Address odd `em`-unit font size rendering in all browsers.
+ */
+code,
+kbd,
+pre,
+samp {
+ font-family: monospace, monospace;
+ font-size: 1em; }
+
+/* Forms
+ ========================================================================== */
+/**
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
+ * styling of `select`, unless a `border` property is set.
+ */
+/**
+ * 1. Correct color not being inherited.
+ * Known issue: affects color of disabled elements.
+ * 2. Correct font properties not being inherited.
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
+ */
+button,
+input,
+optgroup,
+select,
+textarea {
+ color: inherit;
+ /* 1 */
+ font: inherit;
+ /* 2 */
+ margin: 0;
+ /* 3 */ }
+
+/**
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
+ */
+button {
+ overflow: visible; }
+
+/**
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
+ * All other form control elements do not inherit `text-transform` values.
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
+ * Correct `select` style inheritance in Firefox.
+ */
+button,
+select {
+ text-transform: none; }
+
+/**
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
+ * and `video` controls.
+ * 2. Correct inability to style clickable `input` types in iOS.
+ * 3. Improve usability and consistency of cursor style between image-type
+ * `input` and others.
+ */
+button,
+html input[type="button"],
+input[type="reset"],
+input[type="submit"] {
+ -webkit-appearance: button;
+ /* 2 */
+ cursor: pointer;
+ /* 3 */ }
+
+/**
+ * Re-set default cursor for disabled elements.
+ */
+button[disabled],
+html input[disabled] {
+ cursor: not-allowed; }
+
+/**
+ * Remove inner padding and border in Firefox 4+.
+ */
+button::-moz-focus-inner,
+input::-moz-focus-inner {
+ border: 0;
+ padding: 0; }
+
+/**
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
+ * the UA stylesheet.
+ */
+input {
+ line-height: normal; }
+
+/**
+ * It's recommended that you don't attempt to style these elements.
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
+ *
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
+ * 2. Remove excess padding in IE 8/9/10.
+ */
+input[type="checkbox"],
+input[type="radio"] {
+ box-sizing: border-box;
+ /* 1 */
+ padding: 0;
+ /* 2 */ }
+
+/**
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
+ * `font-size` values of the `input`, it causes the cursor style of the
+ * decrement button to change from `default` to `text`.
+ */
+input[type="number"]::-webkit-inner-spin-button,
+input[type="number"]::-webkit-outer-spin-button {
+ height: auto; }
+
+/**
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
+ */
+input[type="search"] {
+ -webkit-appearance: textfield;
+ /* 1 */
+ box-sizing: content-box;
+ /* 2 */ }
+
+/**
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
+ * Safari (but not Chrome) clips the cancel button when the search input has
+ * padding (and `textfield` appearance).
+ */
+input[type="search"]::-webkit-search-cancel-button,
+input[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none; }
+
+/**
+ * Define consistent border, margin, and padding.
+ * [NOTE] We don't enable this ruleset in Foundation, because we want the