-
Notifications
You must be signed in to change notification settings - Fork 433
/
contact_GSSoC_contributed.html
245 lines (219 loc) · 8.79 KB
/
contact_GSSoC_contributed.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link
href="https://fonts.googleapis.com/css2?family=Fuggles&family=Mooli&family=Oswald:wght@600&family=Roboto:wght@100;300&display=swap"
rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Baloo+Bhai|Bree+Serif&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:[email protected]&display=swap" rel="stylesheet">
<link rel="stylesheet" href="../style.css">
<style>
#progressBar {
position: fixed;
top: 0;
left: 0;
width: 0%;
height: 8px;
background-color: #e21f1f;
z-index: 9999;
}
.circle {
position: absolute;
width: 20px;
height: 20px;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(circle, rgba(255, 0, 0, 0.466), rgba(255, 52, 52, 0.5));
transition: transform 0.1s, left 0.1s, top 0.1s;
box-shadow: 0 0 20px #faff64,
0 0 60px #f52323,
0 0 100px #ff0000;
animation: colors 1s infinite;
transform: translate(-50%, -50%);
}
.circle-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999;
}
@media (max-width: 724px) {
.circle-container{
display: none;
}
}
</style>
</head>
<body class="contact_page">
<!-- Progress bar -->
<div id="progressBar"></div>
<script>
window.onscroll = function () {
var winScroll = document.body.scrollTop || document.documentElement.scrollTop;
var height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
var scrolled = (winScroll / height) * 100;
document.getElementById("progressBar").style.width = scrolled + "%";
};
</script>
<!-- end -->
<header class="contact_header">
<nav class="navbar">
<ul id="header-items">
<li><a href="../index.html">Home</a></li>
<li><a href="menu.html">Menu</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="contact_Samarup.html">Contact us</a></li>
<li><a href="cart.html">Cart</a></li>
</ul>
</nav>
</header>
<div class="main_content">
<div class="contact_info">
<h2 class="get_in_touch">Get in Touch</h2>
<p class="contact_message">Hi, thank you so much for choosing Foodies today. Please fill out this form and
we will get back to you ASAP.</p>
<form action="/submit" method="POST" class="contact_form">
<input required class="contact_name" type="text" placeholder="Your Name" />
<input required class="contact_email" type="email" placeholder="You Email" />
<input required class="contact_number" type="number" min="0" max="9999999999" pattern="[0-9]{10,}"
placeholder="Your Mobile No." />
<input required class="contact_textarea" type="textarea" placeholder="Your Query" />
<button class="contact_submit" type="submit">Submit</button>
</form>
</div>
<div class="contact_us">
<h1>Contact Us</h1>
</div>
</div>
<footer>
<div class="foot-panel2">
<ul class="footer-colums">
<p>Our Pages</p>
<a>Home</a>
<a>Menu</a>
<a>Services</a>
<a>Contact</a>
<a>Cart</a>
</ul>
<ul class="footer-colums">
<p> Exclusive Offers</p>
<a>Foodie Discounts</a>
<a>Limited-Time Promotions</a>
<a>Special Event Packages</a>
<a>Membership Benefits</a>
<a>Early Access to New Recipes</a>
<a>VIP Foodie Events</a>
<a>Personalized Culinary Experiences</a>
</ul>
<ul class="footer-colums">
<p>Payment Products</p>
<a>Secure Checkout</a>
<a>Credit/Debit Cards</a>
<a>Online Payment</a>
<a>Mobile Wallets</a>
<a>Contactless Payments</a>
</ul>
<form id="contactForm">
<h3>Contact Us!</h3>
<!-- <label for="name">Name:</label> -->
<!-- <input type="text" id="name" name="name" placeholder="Your Name" required>-->
<!-- <label for="email">Email:</label> -->
<input type="email" id="email" name="email" placeholder="Your Email" required>
<!-- <label for="message">Message:</label> -->
<textarea id="message" name="message" placeholder="Your Message" required></textarea>
<button id="butt" type="submit">Send Message</button>
</form>
</div>
<div class="foot_panel4">
<div class="pages">
<h4>Follow Us</h4>
<div class="social-icons">
<a class="fa-brands fa-facebook"></a>
<a class="fa-brands fa-instagram"></a>
<a class="fa-brands fa-twitter"></a>
<a class="fa-brands fa-github" href="https://github.com/khushi-joshi-05/Food-ordering-website"
target="_blank"></a>
<a class="fa-brands fa-discord" href="https://discord.com/invite/sybYafYA" target="_blank"></a>
</div>
<p>Stay connected with us on social media for the latest updates, recipes, and foodie adventures.
</p>
<div class="copyright">
© 2024 Foodies . All Rights Reserved. | Developed by Khushi Joshi</p>
</div>
</div>
</footer>
<div class="circle-container">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
<script>
document.addEventListener("DOMContentLoaded", function () {
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
circles.forEach(function (circle) {
circle.x = 0;
circle.y = 0;
});
window.addEventListener("mousemove", function (e) {
coords.x = e.pageX;
coords.y = e.pageY - window.scrollY; // Adjust for vertical scroll position
});
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
circle.style.left = `${x - 12}px`;
circle.style.top = `${y - 12}px`;
circle.style.transform = `scale(${(circles.length - index) / circles.length})`;
const nextCircle = circles[index + 1] || circles[0];
circle.x = x;
circle.y = y;
x += (nextCircle.x - x) * 0.25;
y += (nextCircle.y - y) * 0.25;
});
requestAnimationFrame(animateCircles);
}
animateCircles();
});
</script>
</body>
</html>