-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
242 lines (214 loc) · 8.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>College Canteen</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
</head>
<body>
<header>
<nav>
<div class="logo">
<img src="mits-low-resolution-logo-color-on-transparent-background.png" alt="Logo">
</div>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#menu">Menu</a></li>
<li><a href="book.html">Book Table</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<div class=" navv" id="navv">
<div onclick = "openMenu()"class="menu-icon"><i class="bi-list"></i></div>
<div class="nav-list">
<a href="#Home">Home</a>
<a href="#about">About</a>
<a href="#menu">Menu</a>
<a href="book.html">Book Table</a>
<a href="#Contact">Contact</a>
</div>
</div>
</nav>
</header>
<section id="home">
<div class="video-container">
<video autoplay loop muted playsinline>
<source src="vid1.mp4" type="video/mp4">
</div>
<h1 class="text-h">Welcome <br>to </h1>
<img src="mts-removebg-preview.png" class="mtimg">
</section>
<section id="about">
<div class="container">
<h2>About Us</h2>
<div class="about-content">
<div class="about-description">
<p>
Mits Canteen is a renowned and beloved food destination that has been serving delicious meals and satisfying cravings for over a decade. Located in the heart of the city, our canteen offers a diverse and mouthwatering menu that caters to various tastes and preferences.
</p>
<p>
At Mits Canteen, we believe in providing our customers with high-quality and flavorful dishes made from fresh, locally sourced ingredients. Our talented chefs craft each meal with passion and attention to detail, ensuring a delightful dining experience for everyone.
</p>
<p>
Join us at Mits Canteen and indulge in a culinary journey that delights the senses and leaves you craving for more. We look forward to serving you and creating unforgettable dining experiences.
</p>
</div>
<div class="about-image">
<img src="mits-low-resolution-logo-color-on-transparent-background.png" alt="About Us Image">
</div>
</div>
</div>
</section>
<section id="menu">
<div class="container">
<h2>Menu</h2>
<div class="menu-categories">
<div class="category">
<img src="img2.avif" alt="Category 1">
<h3>Veg</h3>
<p>Description for veg category...</p>
<!-- Add more content as needed -->
</div>
<div class="category">
<img src="img4.webp" alt="Category 2">
<h3>Non-Veg</h3>
<p>Description for non-veg category...</p>
<!-- Add more content as needed -->
</div>
<div class="category">
<img src="sn.jpg" alt="Category 3">
<h3>Snacks</h3>
<p>Description for breakfast category...</p>
<!-- Add more content as needed -->
</div>
<div class="category">
<img src="bf.jpg" alt="Category 4">
<h3>breakfast</h3>
<p>Description for lunch category...</p>
<!-- Add more content as needed -->
</div>
<div class="category">
<img src="lun.webp" alt="Category 5">
<h3>Lunch</h3>
<p>Description for dinner category...</p>
<!-- Add more content as needed -->
</div>
<div class="category">
<img src="img6.jpg" alt="Category 6">
<h3>Dinner</h3>
<p>Description for snacks category...</p>
<!-- Add more content as needed -->
</div>
</div>
</div>
</section>
<section id="todays-special">
<div class="container">
<h2>Today's Special</h2>
<div class="special-items">
<div class="item">
<img src="sp1.webp" alt="Special 1">
<h3>Chicken Biriyani</h3>
<!-- <p>Description for special item 1...</p> -->
</div>
<div class="item">
<img src="mt.webp" alt="Special 2">
<h3>Mutton Biriyani</h3>
<!-- <p>Description for special item 2...</p> -->
</div>
<div class="item">
<img src="sp3.webp" alt="Special 3">
<h3>Special Somosa</h3>
<!-- <p>Description for special item 3...</p> -->
</div>
<div class="item">
<img src="sp4.webp" alt="Special 3">
<h3>Milk Shakes</h3>
<!-- <p>Description for special item 3...</p> -->
</div>
<div class="item">
<img src="sp5.jpg" alt="Special 3">
<h3>StarBucks Special</h3>
<!-- <p>Description for special item 3...</p> -->
</div>
<div class="item">
<img src="sp6.jpg" alt="Special 3">
<h3>Ice Cake</h3>
<!-- <p>Description for special item 3...</p> -->
</div>
<!-- Add more special items as needed -->
</div>
</div>
</section>
<section id="chefs">
<div class="container">
<h2 class="section-title">Our Chefs</h2>
<div class="chef-wrapper">
<div class="chef">
<img src="c6.jpg" alt="Chef 1">
<h3> Chef Sophia Mitchell</h3>
</div>
<div class="chef">
<img src="c2.jpg" alt="Chef 2">
<h3>Chef Isabella Rodriguez
</h3>
</div>
<div class="chef">
<img src="c7.jpg" alt="Chef 3">
<h3> Chef Emily Chen</h3>
</div>
<div class="chef">
<img src="c8.jpeg" alt="Chef 4">
<h3>Chef Olivia Thompson</h3>
</div>
</div>
</div>
</section>
<footer>
<!- <section id="contact">
<div class="containerr">
<h2 class="section-title">Contact</h2>
<div class="contact-container">
<div class="contact-info">
<div class="contact-item">
<i class="fas fa-map-marker-alt"></i>
<p>123 Street, City, Country</p>
</div>
</div>
<div class="social-media">
<a href="#" target="_blank" class="social-icon"><i class="fab fa-facebook"></i></a>
<a href="#" target="_blank" class="social-icon"><i class="fab fa-twitter"></i></a>
<a href="#" target="_blank" class="social-icon"><i class="fab fa-instagram"></i></a>
</div>
</div>
<p class="copy-info">© 2023 Mits Canteen. All rights reserved.</p>
</div>
</section>
</footer>
<script>
// Automatic scrolling function
function autoScroll() {
const container = document.querySelector('.special-items');
const itemWidth = document.querySelector('.item').offsetWidth;
const scrollAmount = itemWidth + 20; // Consider margin-right value
// Scroll to the next item
container.scrollBy({ left: scrollAmount, behavior: 'smooth' });
// Reset scroll position after reaching the end
if (container.scrollLeft + container.offsetWidth >= container.scrollWidth) {
container.scrollTo({ left: 0, behavior: 'smooth' });
}
}
// Set interval for automatic scrolling
setInterval(autoScroll, 5000); // Adjust the interval duration as needed
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/js/all.min.js"></script>
<script>
function openMenu(){
document.getElementById('navv')?.classList.toggle('active')
}
</script>
</body>
</html>