forked from AkshaykumarLilani/OnlineBicycleShop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
290 lines (229 loc) · 7.17 KB
/
contact.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
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" />
<link rel="stylesheet" href="./styles/navbar.css">
<link rel="stylesheet" href="./styles/footer.css">
<!-- <link rel="stylesheet" href="./styles/signup.css"> -->
<link rel="stylesheet" href="./styles/login.css">
<link rel="stylesheet" href="./styles/checkout.css">
<link rel="stylesheet" href="./styles/payment.css">
<style>
#contact-body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f7f7f7;
}
.banner {
position: relative;
text-align: center;
padding: 20px 0;
background-image: url("images/banner.png");
background-size: cover;
background-position: center;
height: 30vh;
}
.banner h2 {
font-weight: 600;
font-size: 80px;
color: white;
margin-top: 50px;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.banner-text {
position: relative;
z-index: 2;
}
.content {
display: flex;
justify-content: space-between;
padding: 80px;
}
.left-box {
flex-basis: 35%;
/* box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset; */
margin-left: 70px;
}
.left-box h3 {
font-size: 25px;
color: brown;
font-weight: 900;
margin-left: 40px;
margin-top: 30px;
}
address {
font-size: 20px;
font-weight: 400;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
margin-left: 40px;
}
.right-box {
flex-basis: 45%;
height: 400px;
overflow: hidden;
border: 1px solid #ccc;
margin-left: 2%;
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}
.right-box h2 {
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
color: brown;
}
.right-box p {
font-size: 20px;
line-height: 26px;
}
.left-box img {
width: 100%;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#contact-form {
margin-top: 20px;
margin-left: 40px;
}
.form-group {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
width: 70%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 18px;
}
textarea {
resize: vertical;
height: 100px;
}
button[type="submit"] {
background-color: brown;
color: white;
padding: 10px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button[type="submit"]:hover {
background-color: #8a4b2a;
}
@media (max-width: 768px) {
.banner {
height: 20vh;
}
.banner h2 {
font-size: 50px;
}
.content {
flex-direction: column;
padding: 40px;
}
.left-box,
.right-box {
flex-basis: 100%;
margin: 0;
}
.left-box h3 {
font-size: 20px;
}
.left-box address {
font-size: 16px;
}
.right-box {
margin-top: 20px;
}
}
/* Media query for mobile phones */
@media (max-width: 480px) {
.banner h2 {
font-size: 36px;
}
.content {
padding: 20px;
}
.left-box h3 {
font-size: 18px;
}
address {
font-size: 14px;
}
.right-box {
margin-top: 10px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
width: 100%;
}
}
</style>
</head>
<body id="contact-body">
<section id="header1">
</section>
<section id="top1">
</section>
<div class="banner">
<h2>#Contact Us</h2>
</div>
<div class="content">
<!-- Left Box for the Address and Contact Form -->
<div class="left-box">
<h3>Office Address</h3>
<address>
Specialized Private Limited <br>
Gurugram, 203455 <br>
India <br>
Phone: (123) 456-7890 <br>
Email: [email protected] <br>
</address>
<!-- Contact Form -->
<form id="contact-form" action="#" method="post">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="contact-number">Contact Number:</label>
<input type="tel" id="contact-number" name="contact-number" required>
</div>
<div class="form-group">
<label for="message">Message:</label>
<textarea id="message" name="message" required></textarea>
</div>
<div class="form-group">
<button type="submit">Submit Form</button>
</div>
</form>
</div>
<!-- Right Box for Google Maps Embed -->
<div class="right-box">
<iframe src="https://www.google.com/maps/embed?pb=YOUR_GOOGLE_MAP_EMBED_CODE" width="100%" height="400"
style="border:0;" allowfullscreen="" loading="lazy"></iframe>
</div>
</div>
<footer id="mainFooter">
</footer>
</body>
</html>
<script src="./script/checkout.js"></script>
<script src="./script/payment.js"></script>
<script src="/script/navbar.js" type="module"></script>