From 04a49be850356e17f6b028b18f4b9b696b046d9a Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 25 Oct 2021 21:54:12 +0200 Subject: [PATCH] [feature] added mobile menu [refactor] moved scripts and css (created lib directory) --- css/style.css | 88 ++ index.html | 1173 ++++++++--------- .../lib/animate-scroll}/animate-scroll.js | 0 .../lib/jquery-ui}/external/jquery/jquery.js | 0 .../images/ui-icons_444444_256x240.png | Bin .../images/ui-icons_555555_256x240.png | Bin .../images/ui-icons_777620_256x240.png | Bin .../images/ui-icons_777777_256x240.png | Bin .../images/ui-icons_cc0000_256x240.png | Bin .../images/ui-icons_ffffff_256x240.png | Bin .../lib/jquery-ui}/jquery-ui.min.css | 0 .../lib/jquery-ui}/jquery-ui.min.js | 0 js/scripts.js | 8 + 13 files changed, 640 insertions(+), 629 deletions(-) create mode 100644 css/style.css rename {animate-scroll => js/lib/animate-scroll}/animate-scroll.js (100%) rename {jquery-ui => js/lib/jquery-ui}/external/jquery/jquery.js (100%) rename {jquery-ui => js/lib/jquery-ui}/images/ui-icons_444444_256x240.png (100%) rename {jquery-ui => js/lib/jquery-ui}/images/ui-icons_555555_256x240.png (100%) rename {jquery-ui => js/lib/jquery-ui}/images/ui-icons_777620_256x240.png (100%) rename {jquery-ui => js/lib/jquery-ui}/images/ui-icons_777777_256x240.png (100%) rename {jquery-ui => js/lib/jquery-ui}/images/ui-icons_cc0000_256x240.png (100%) rename {jquery-ui => js/lib/jquery-ui}/images/ui-icons_ffffff_256x240.png (100%) rename {jquery-ui => js/lib/jquery-ui}/jquery-ui.min.css (100%) rename {jquery-ui => js/lib/jquery-ui}/jquery-ui.min.js (100%) create mode 100644 js/scripts.js diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..2206d39 --- /dev/null +++ b/css/style.css @@ -0,0 +1,88 @@ +* { + background-size: cover; +} +.fa { + transform: scale(1.2,1.3); +} + +.fa-star,.fa-star-half-o { + transform: scale(0.7,0.7); + color: orange; +} + +.h1 { + letter-spacing: 3.5px; + font-weight: 900px; + font-family: "Lucida Console"; +} + +.fon { + font-size: 30px; +} + +.rev { + font-size: 13.5px; + font-weight: 400; +} + +.parallax-window { + background: transparent; +} + +.navbar { + opacity: 0.9; +} + +#faq { + font-size: 40px; + font-family: "Georgia"; + text-align: center; + background: linear-gradient(to right,#0dac97,#64f1df,#cffaf4,#ffffff ); + padding-top: 3em; + padding-bottom: 3em; +} + +.t { + + background: #0dac97!important; + text-align: center; + font-family: "Georgia"; + font-size: 24px; +} + +#acc div{ + background: linear-gradient(to right,#696ddf,#464cf8,#888cfe,#b4b6e5,#ffffff ); +} + +.end { + font-family: "Comic Sans MS"; +} + +.last { + padding-top: 900px; +} + +#menubutton { + display:none; +} + +@media only screen and (max-width: 990px) { + + #menubutton { + display:block; + cursor: pointer; + } + + .navbar-nav { + display:none; + } + + .navbar-nav.active { + display: block; + min-width: 100%; + background: #fff; + margin-left: 0 !important; + margin-right: 0 !important; + } + +} diff --git a/index.html b/index.html index 35ba404..d316c6d 100644 --- a/index.html +++ b/index.html @@ -1,748 +1,663 @@ - - Menu Page - - - - - - - - - - - -
- - - -

Explore Our Menu

- -

Appetizers

- -
- -
- -
-
-
- ... -
-
Chicken Skewers
4.5 (9229 Reviews)
- -

Cost - $5

-
Add to Cart
+ + Menu Page + + + + + + + + + + + + + + + + + + + + + + +
+ + + +

Explore Our Menu

+ +

Appetizers

+ +
+ +
+ +
+
+
+ ... +
+
Chicken Skewers
4.5 (9229 Reviews)
+ +

Cost - $5

+
Add to Cart
+
-
+
+
+
+ ... +
+
Paneer Tikka
4.4 (8200 Reviews)
+ +

Cost - $6

+
Add to Cart
+
+
-
- ... -
-
Paneer Tikka
4.4 (8200 Reviews)
+
+ ... +
+
Bruschetta
4.5 (7000 Reviews)
-

Cost - $6

-
Add to Cart
-
-
+

Cost - $4

+
Add to Cart
+
-
-
- ... -
-
Bruschetta
4.5 (7000 Reviews)
+
+
+
+ +
+
Veg Manchurian
4.5 (7999 Reviews)
-

Cost - $4

-
Add to Cart
+

Cost - $5

+
Add to Cart
+
-
-
-
-
- -
-
Veg Manchurian
4.5 (7999 Reviews)
+
-

Cost - $5

-
Add to Cart
-
-
- -
-
-
-
- -
-
Fish Taco Bites
4.5 (9220 Reviews)
+
+
+
+ +
+
Fish Taco Bites
4.5 (9220 Reviews)
-

Cost - $8

-
Add to Cart
+

Cost - $8

+
Add to Cart
+
-
+
+
+
+ +
+
Avocado Salad
4.6 (8229 Reviews)
+ +

Cost - $7

+
Add to Cart
+
+
-
- -
-
Avocado Salad
4.6 (8229 Reviews)
+
+ ... +
+
Mexican Taco
4.5 (10,229 Reviews)
-

Cost - $7

-
Add to Cart
-
-
+

Cost - $9

+
Add to Cart
+
-
-
- ... -
-
Mexican Taco
4.5 (10,229 Reviews)
+
+
+
+ ... +
+
Paneer Royale
4.3 (9010 Reviews)
-

Cost - $9

-
Add to Cart
+

Cost - $10

+
Add to Cart
+
-
-
-
-
- ... -
-
Paneer Royale
4.3 (9010 Reviews)
+
-

Cost - $10

-
Add to Cart
-
-
+
+
+ -
-
-
- +

Fast Food

-

Fast Food

+
+
-
-
- -
-
-
- ... -
-
Burger with Fries
4.5 (9221 Reviews)
+
+
+
+ ... +
+
Burger with Fries
4.5 (9221 Reviews)
-

Cost - $10

-
Add to Cart
+

Cost - $10

+
Add to Cart
+
-
+
+
+
+ +
+
Paleo Pizza
4.5 (19,808 Reviews)
+ +

Cost - $15

+
Add to Cart
+
+
-
- -
-
Paleo Pizza
4.5 (19,808 Reviews)
+
+ +
+
Nachos
4.5 (9229 Reviews)
-

Cost - $15

-
Add to Cart
-
-
+

Cost - $9

+
Add to Cart
+
-
-
- -
-
Nachos
4.5 (9229 Reviews)
+
+
+
+ +
+
Garlic Bread
4.5 (9267 Reviews)
-

Cost - $9

-
Add to Cart
+

Cost - $7.5

+
Add to Cart
+
-
-
-
-
- -
-
Garlic Bread
4.5 (9267 Reviews)
+
-

Cost - $7.5

-
Add to Cart
-
-
-
+
+
+
+ +
+
Chicken Wings
4.7 (9229 Reviews)
-
-
-
- -
-
Chicken Wings
4.7 (9229 Reviews)
- -

Cost - $11

-
Add to Cart
+

Cost - $11

+
Add to Cart
+
-
+
+
+
+ +
+
Spinach Panini
4.5 (9229 Reviews)
+ +

Cost - $8.9

+
Add to Cart
+
+
-
- -
-
Spinach Panini
4.5 (9229 Reviews)
- -

Cost - $8.9

-
Add to Cart
-
-
-
-
-
- -
-
Cheese Spaghetti
4.6 (9229 Reviews)
- -

Cost - $12

-
Add to Cart
-
-
-
-
-
- ... -
-
Lasagna
4.5 (9229 Reviews)
- -

Cost - $13

-
Add to Cart
-
-
-
- -
-
-
- - -

Beverages

-
- -
- -
-
-
- -
-
Pina Colada
4.5 (9229 Reviews)
- -

Cost - $5.5

-
Add to Cart
-
+
+ +
+
Cheese Spaghetti
4.6 (9229 Reviews)
+ +

Cost - $12

+
Add to Cart
-
-
- -
-
Lagoon Margarita
4.5 (9229 Reviews)
+
+
+
+ ... +
+
Lasagna
4.5 (9229 Reviews)
-

Cost - $6

-
Add to Cart
-
+

Cost - $13

+
Add to Cart
+
+
+ +
+
-
-
- -
-
Virgin Sangria
4.5 (9229 Reviews)
-

Cost - $7

-
Add to Cart
+ +

Beverages

+
+ +
+ +
+
+
+ +
+
Pina Colada
4.5 (9229 Reviews)
+ +

Cost - $5.5

+
Add to Cart
+
-
-
-
- - -
-
- -

Main Course

-
- -
- -
-
-
- ... -
-
Butter Chicken
4.6 (9929 Reviews)
- -

Cost - $15

-
Add to Cart
+
+
+ +
+
Lagoon Margarita
4.5 (9229 Reviews)
+ +

Cost - $6

+
Add to Cart
+
-
-
-
- ... -
-
Chicken Sizzler
4.5 (9229 Reviews)
- -

Cost - $13

-
Add to Cart
+
+
+ +
+
Virgin Sangria
4.5 (9229 Reviews)
+ +

Cost - $7

+
Add to Cart
+
-
-
- ... -
-
Shahi Paneer
4.5 (9229 Reviews)
+
+ + +
+
-

Cost - $11

-
Add to Cart
+

Main Course

+
+ +
+ +
+
+
+ ... +
+
Butter Chicken
4.6 (9929 Reviews)
+ +

Cost - $15

+
Add to Cart
+
+
+
+
+
+ ... +
+
Chicken Sizzler
4.5 (9229 Reviews)
+ +

Cost - $13

+
Add to Cart
+
+
+
+
+
+ ... +
+
Shahi Paneer
4.5 (9229 Reviews)
+ +

Cost - $11

+
Add to Cart
+
-
-
-
-
- ... -
-
Pav Bhaji
4.5 (9229 Reviews)
+
+
+
+ ... +
+
Pav Bhaji
4.5 (9229 Reviews)
-

Cost - $10

-
Add to Cart
+

Cost - $10

+
Add to Cart
+
-
-
-
- ... -
-
Veggies in Black Bean Sauce
4.5 (9029 Reviews)
- -

Cost - $13

-
Add to Cart
+
+
+ ... +
+
Veggies in Black Bean Sauce
4.5 (9029 Reviews)
+ +

Cost - $13

+
Add to Cart
+
-
-
-
- ... -
-
Dal Makhani
4.5 (9229 Reviews)
- -

Cost - $10

-
Add to Cart
+
+
+ ... +
+
Dal Makhani
4.5 (9229 Reviews)
+ +

Cost - $10

+
Add to Cart
+
-
-
- - -
+
+ + +
+ +

Rice/Noodles

+
+ +
-

Rice/Noodles

-
- -
- -
-
-
- ... -
-
Special Veg Biryani
4.5 (9229 Reviews)
+
+
+
+ ... +
+
Special Veg Biryani
4.5 (9229 Reviews)
-

Cost - $15

-
Add to Cart
+

Cost - $15

+
Add to Cart
+
-
-
-
- ... -
-
Chicken Handi Biryani
4.5 (9229 Reviews)
- -

Cost - $17

-
Add to Cart
+
+
+ ... +
+
Chicken Handi Biryani
4.5 (9229 Reviews)
+ +

Cost - $17

+
Add to Cart
+
-
-
-
- ... -
-
Chicken Burnt Garlic Fried Rice
4.5 (9229 Reviews)
- -

Cost - $12

-
Add to Cart
+
+
+ ... +
+
Chicken Burnt Garlic Fried Rice
4.5 (9229 Reviews)
+ +

Cost - $12

+
Add to Cart
+
-
-
-
-
- ... -
-
Triple Schezwan Fried Rice
4.5 (9229 Reviews)
+
+
+
+ ... +
+
Triple Schezwan Fried Rice
4.5 (9229 Reviews)
-

Cost - $16

-
Add to Cart
+

Cost - $16

+
Add to Cart
+
-
-
-
- ... -
-
Schezwan Noodles
4.5 (9229 Reviews)
- -

Cost - $16

-
Add to Cart
+
+
+ ... +
+
Schezwan Noodles
4.5 (9229 Reviews)
+ +

Cost - $16

+
Add to Cart
+
-
-
-
- ... -
-
Chicken Hakka Noodles
4.5 (9229 Reviews)
- -

Cost - $15

-
Add to Cart
+
+
+ ... +
+
Chicken Hakka Noodles
4.5 (9229 Reviews)
+ +

Cost - $15

+
Add to Cart
+
-
-
- - -
+
+ + +
+ +

Breads

+
+ +
-

Breads

-
- -
- -
-
-
- ... -
-
Bread Basket
4.5 (9229 Reviews)
+
+
+
+ ... +
+
Bread Basket
4.5 (9229 Reviews)
-

Cost - $10

-
Add to Cart
+

Cost - $10

+
Add to Cart
+
-
-
-
- ... -
-
Garlic Naan
4.5 (9229 Reviews)
- -

Cost - $5

-
Add to Cart
+
+
+ ... +
+
Garlic Naan
4.5 (9229 Reviews)
+ +

Cost - $5

+
Add to Cart
+
+
+
+ ... +
+
Parathas
4.5 (9229 Reviews)
+ +

Cost - $8

+
Add to Cart
+
+
+
+
-
-
- ... -
-
Parathas
4.5 (9229 Reviews)
+ + +
+
+ + +

Desserts

+
+ +
-

Cost - $8

-
Add to Cart
+
+
+
+ ... +
+
Mousse
4.5 (9229 Reviews)
+ +

Cost - $15

+
Add to Cart
+
-
-
-
- - -
-
- - -

Desserts

-
- -
- -
-
-
- ... -
-
Mousse
4.5 (9229 Reviews)
- -

Cost - $15

-
Add to Cart
+
+
+ ... +
+
Macarons
4.5 (9229 Reviews)
+ +

Cost - $15

+
Add to Cart
+
-
-
-
- ... -
-
Macarons
4.5 (9229 Reviews)
- -

Cost - $15

-
Add to Cart
+
+
+ ... +
+
Tiramisu
4.5 (9229 Reviews)
+ +

Cost - $15

+
Add to Cart
+
-
-
- ... -
-
Tiramisu
4.5 (9229 Reviews)
-

Cost - $15

-
Add to Cart
+
+
+
+ ... +
+
Cheesecake
4.5 (9229 Reviews)
+ +

Cost - $15

+
Add to Cart
+
+
+
+
+
+ ... +
+
Doughnuts
4.5 (9229 Reviews)
+ +

Cost - $15

+
Add to Cart
+
+
+
+
+
+ ... +
+
Waffles n Crepes
4.5 (9229 Reviews)
+ +

Cost - $25

+
Add to Cart
+
-
-
-
-
- ... -
-
Cheesecake
4.5 (9229 Reviews)
+
+ + +
+ +

FAQ'S

+
+ -

Cost - $15

-
Add to Cart
+ +
+

How to sign up as a new customer?

+
+ Customer should register themselves on FoodMania. They can register themselves by few simple clicks. Just click Signup and fill in appropriate information, then login using created id and password and you are good to go.
-
-
-
-
- ... -
-
Doughnuts
4.5 (9229 Reviews)
-

Cost - $15

-
Add to Cart
+

From where we can login to Customer account?

+
+ Customer have to click on Login option on the page to login to their panel.
-
+ +

Can user place order if user is not registered on FoodMania?

+
+ No, user cannot place order unless registered. it is mandatory to create an account inorder to order online to ensure consistency and integrity.
-
-
- ... -
-
Waffles n Crepes
4.5 (9229 Reviews)
-

Cost - $25

-
Add to Cart
+

What steps are taken to ensure Hygiene?

+
Our Chefs at FoodMania give utmost importance to Healthy, hygienic food service. They not only take complete assurance of the hygiene while preparing your food, but also aim at serving you the best quality food, so that you can enjoy your food without worrying about anything.
+ +

How can customer send special request or instruction about food while placing orders?

+
+ FoodMania is providing you facility to send your special request or notes to restaurant with your order. You can write your special notes at the time of placing your order.
-
+ +

Are there offers and discounts available?

+
Yes, for making customers happy and satisfied, we provide numerous offers. But, the minimum order should be Rs. 400 to avail benefits of those offers.
+ + +
+
+
+
+ +
+
+

CONTACT

+

It's food lovers like you who inspire us to do what we do. Your comments, ideas and questions push us to go that extra mile, every time. So drop us a line!

+
+
+
+ +
+

+
+ +

  Food Mania  ©2021

-
- -
- - -
- -

FAQ'S

-
- - - -
-

How to sign up as a new customer?

-
-Customer should register themselves on FoodMania. They can register themselves by few simple clicks. Just click Signup and fill in appropriate information, then login using created id and password and you are good to go. -
- -

From where we can login to Customer account?

-
-Customer have to click on Login option on the page to login to their panel. -
- -

Can user place order if user is not registered on FoodMania?

-
-No, user cannot place order unless registered. it is mandatory to create an account inorder to order online to ensure consistency and integrity. -
- -

What steps are taken to ensure Hygiene?

-
Our Chefs at FoodMania give utmost importance to Healthy, hygienic food service. They not only take complete assurance of the hygiene while preparing your food, but also aim at serving you the best quality food, so that you can enjoy your food without worrying about anything.
- -

How can customer send special request or instruction about food while placing orders?

-
-FoodMania is providing you facility to send your special request or notes to restaurant with your order. You can write your special notes at the time of placing your order. -
- -

Are there offers and discounts available?

-
Yes, for making customers happy and satisfied, we provide numerous offers. But, the minimum order should be Rs. 400 to avail benefits of those offers.
- - -
-
-
-
- -
-
-

CONTACT

-

It's food lovers like you who inspire us to do what we do. Your comments, ideas and questions push us to go that extra mile, every time. So drop us a line!

-
-
-
- -
-

-
- -

  Food Mania  ©2021

-
- - - - - - - - - - - - - - - - - - - + diff --git a/animate-scroll/animate-scroll.js b/js/lib/animate-scroll/animate-scroll.js similarity index 100% rename from animate-scroll/animate-scroll.js rename to js/lib/animate-scroll/animate-scroll.js diff --git a/jquery-ui/external/jquery/jquery.js b/js/lib/jquery-ui/external/jquery/jquery.js similarity index 100% rename from jquery-ui/external/jquery/jquery.js rename to js/lib/jquery-ui/external/jquery/jquery.js diff --git a/jquery-ui/images/ui-icons_444444_256x240.png b/js/lib/jquery-ui/images/ui-icons_444444_256x240.png similarity index 100% rename from jquery-ui/images/ui-icons_444444_256x240.png rename to js/lib/jquery-ui/images/ui-icons_444444_256x240.png diff --git a/jquery-ui/images/ui-icons_555555_256x240.png b/js/lib/jquery-ui/images/ui-icons_555555_256x240.png similarity index 100% rename from jquery-ui/images/ui-icons_555555_256x240.png rename to js/lib/jquery-ui/images/ui-icons_555555_256x240.png diff --git a/jquery-ui/images/ui-icons_777620_256x240.png b/js/lib/jquery-ui/images/ui-icons_777620_256x240.png similarity index 100% rename from jquery-ui/images/ui-icons_777620_256x240.png rename to js/lib/jquery-ui/images/ui-icons_777620_256x240.png diff --git a/jquery-ui/images/ui-icons_777777_256x240.png b/js/lib/jquery-ui/images/ui-icons_777777_256x240.png similarity index 100% rename from jquery-ui/images/ui-icons_777777_256x240.png rename to js/lib/jquery-ui/images/ui-icons_777777_256x240.png diff --git a/jquery-ui/images/ui-icons_cc0000_256x240.png b/js/lib/jquery-ui/images/ui-icons_cc0000_256x240.png similarity index 100% rename from jquery-ui/images/ui-icons_cc0000_256x240.png rename to js/lib/jquery-ui/images/ui-icons_cc0000_256x240.png diff --git a/jquery-ui/images/ui-icons_ffffff_256x240.png b/js/lib/jquery-ui/images/ui-icons_ffffff_256x240.png similarity index 100% rename from jquery-ui/images/ui-icons_ffffff_256x240.png rename to js/lib/jquery-ui/images/ui-icons_ffffff_256x240.png diff --git a/jquery-ui/jquery-ui.min.css b/js/lib/jquery-ui/jquery-ui.min.css similarity index 100% rename from jquery-ui/jquery-ui.min.css rename to js/lib/jquery-ui/jquery-ui.min.css diff --git a/jquery-ui/jquery-ui.min.js b/js/lib/jquery-ui/jquery-ui.min.js similarity index 100% rename from jquery-ui/jquery-ui.min.js rename to js/lib/jquery-ui/jquery-ui.min.js diff --git a/js/scripts.js b/js/scripts.js new file mode 100644 index 0000000..0da44ab --- /dev/null +++ b/js/scripts.js @@ -0,0 +1,8 @@ +$(function() { + $("#acc").accordion(); + $(document).animateScroll(); + $(window).trigger('resize').trigger('scroll'); + $("#menubutton").click(function(){ + $('.navbar-nav').toggleClass('active'); + }) +});