-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
273 lines (252 loc) · 11.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Restaorunt Website</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" integrity="sha512-HK5fgLBL+xu6dm/Ii3z4xhlSUyZgTT9tuc/hSrtw6uzJOvgRr2a9jyxxT1ely+B+xFAmJKVSTbpM/CuL7qxO8w==" crossorigin="anonymous" />
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- Navbar area -->
<nav class="navbar">
<div class="navbar-container container">
<input type="checkbox">
<div class="hamburger-lines">
<span class="line line1"></span>
<span class="line line2"></span>
<span class="line line3"></span>
</div>
<ul class="menu-items">
<li><a href="#showcase">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#food">Category</a></li>
<li><a href="#food-menu">Menu</a></li>
<li><a href="#testimonials">Testemonial</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<h1 class="logo">FW</h1>
</div>
</nav>
<!-- Showcase Section -->
<section class="showcase-area" id="showcase">
<div class="showcase-container">
<h1 class="main-title">Eat Right Food</h1>
<p>Eat healthy food, it is good for your health.</p>
<a href="#food-menu" class="btn btn-primary ">Menus</a>
</div>
</section>
<!-- About Section -->
<section id="about">
<div class="about-wrapper container">
<div class="about-text">
<p class="small">About Us</p>
<h2>We've been making healthy food for last 10 years.</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Magni ut excepturi hic magnam. Quam reiciendis laudantium dolore neque! Fugiat nam rerum maiores quas nostrum deleniti distinctio illo minus dolores placeat ratione iure provident, harum enim. Eius sunt qui at? Quis!</p>
</div>
<div class="about-img">
<img src="./Img/about-photo.jpg" alt="about us image">
</div>
</div>
</section>
<!-- Food Typse -->
<section id="food">
<h2>Types of Food</h2>
<div class="food-container container">
<div class="food-type fruit">
<div class="img-container">
<img src="./Img/food1.jpg" alt="Fruit picture">
<div class="img-content">
<h3>Fruit</h3>
<a href="https://en.wikipedia.org/wiki/Fruit" class="btn btn-primary" target="_blank">Learn More</a>
</div>
</div>
</div>
<div class="food-type vegetable">
<div class="img-container">
<img src="./Img/food2.jpg" alt="Vegetable Picture">
<div class="img-content">
<h3>Vegetable</h3>
<a href="https://en.wikipedia.org/wiki/Vegetable" class="btn btn-primary" target="_blank">Learn More</a>
</div>
</div>
</div>
<div class="food-type grain">
<div class="img-container">
<img src="./Img/food3.jpg" alt="Grain picture">
<div class="img-content">
<h3>Grain</h3>
<a href="https://en.wikipedia.org/wiki/Grains" class="btn btn-primary" target="_blank">Learn More</a>
</div>
</div>
</div>
</div>
</section>
<!-- Food Menu Section -->
<section id="food-menu">
<h2 class="food-menu-heading">
Food Menu
</h2>
<div class="food-menu-container container">
<div class="food-menu-item">
<div class="food-image">
<img src="./Img/food-menu1.jpg" alt="Menu One Image">
</div>
<div class="food-description">
<h2 class="food-title">Food Menu Item 1</h2>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quo, possimus.</p>
<div class="food-price">Price: ₹ 250</div>
</div>
</div>
<div class="food-menu-item">
<div class="food-image">
<img src="./Img/food-menu2.jpg" alt="Menu Two Image">
</div>
<div class="food-description">
<h2 class="food-title">Food Menu Item 2</h2>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quo, possimus.</p>
<div class="food-price">Price: ₹ 320</div>
</div>
</div>
<div class="food-menu-item">
<div class="food-image">
<img src="./Img/food-menu3.jpg" alt="Menu Three Image">
</div>
<div class="food-description">
<h2 class="food-title">Food Menu Item 3</h2>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quo, possimus.</p>
<div class="food-price">Price: ₹ 410</div>
</div>
</div>
<div class="food-menu-item">
<div class="food-image">
<img src="./Img/food-menu4.jpg" alt="Menu Four Image">
</div>
<div class="food-description">
<h2 class="food-title">Food Menu Item 4</h2>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quo, possimus.</p>
<div class="food-price">Price: ₹ 314</div>
</div>
</div>
<div class="food-menu-item">
<div class="food-image">
<img src="./Img/food-menu5.jpg" alt="Menu Five Image">
</div>
<div class="food-description">
<h2 class="food-title">Food Menu Item 5</h2>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quo, possimus.</p>
<div class="food-price">Price: ₹ 623</div>
</div>
</div>
<div class="food-menu-item">
<div class="food-image">
<img src="./Img/food-menu6.jpg" alt="Menu Six Image">
</div>
<div class="food-description">
<h2 class="food-title">Food Menu Item 6</h2>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quo, possimus.</p>
<div class="food-price">Price: ₹ 120</div>
</div>
</div>
</div>
</section>
<!-- TestiMonial HTML -->
<section id="testimonials">
<h2 class="testimonial-title">What our Customers Say</h2>
<div class="testimonial-container">
<div class="testimonial-box">
<div class="star-rating">
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
</div>
<p class="testimonial-test">Lorem ipsum dolor sit amet consectetur adipisicing elit. Labore velit voluptatem sapiente tempore quis aspernatur!</p>
<div class="customer-detail">
<div class="customer-photo">
<img src="./Img/male-photo1.jpg" alt="Customer photo One">
<p class="customer-name">John Smith</p>
</div>
</div>
</div>
<div class="testimonial-box">
<div class="star-rating">
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
</div>
<p class="testimonial-test">Lorem ipsum dolor sit amet consectetur adipisicing elit. Labore velit voluptatem sapiente tempore quis aspernatur!</p>
<div class="customer-detail">
<div class="customer-photo">
<img src="./Img/male-photo2.jpg" alt="Customer photo One">
<p class="customer-name">Mark Miller</p>
</div>
</div>
</div>
<div class="testimonial-box">
<div class="star-rating">
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
</div>
<p class="testimonial-test">Lorem ipsum dolor sit amet consectetur adipisicing elit. Labore velit voluptatem sapiente tempore quis aspernatur!</p>
<div class="customer-detail">
<div class="customer-photo">
<img src="./Img/male-photo3.jpg" alt="Customer photo One">
<p class="customer-name">Jonas Doe</p>
</div>
</div>
</div>
</div>
</section>
<!-- ############# Contact HTML ###### -->
<section id="contact">
<div class="contact-container container">
<div class="contact-image">
<img src="./Img/restraunt-image.jpg" alt="Restauront Image">
</div>
<div class="form-container">
<h2>Contact Us</h2>
<input type="text" name="" id="" placeholder="Name">
<input type="email" name="" id="" placeholder="Email">
<textarea name="" id="" cols="30" rows="10" placeholder="Type Your Message is here."></textarea>
<a href="#" class="btn btn-primary">Submit</a>
</div>
</div>
</section>
<!-- #### Footer HTML ########## -->
<footer class="footer">
<h2>Restraunt website © all rights reserved</h2>
</footer>
<!-- ############ Javascript Code for Smoth Scrolling ################## -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
// Add smooth scrolling to all links
$("a").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Prevent default anchor click behavior
event.preventDefault();
// Store hash
var hash = this.hash;
// Using jQuery's animate() method to add smooth page scroll
// The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 800, function(){
// Add hash (#) to URL when done scrolling (default click behavior)
window.location.hash = hash;
});
} // End if
});
});
</script>
</body>
</html>