-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
242 lines (224 loc) · 7.67 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
<!--
© 2024 Arnab Paul. All rights reserved.
This file is part of Mega Tech Arn_x.b.
Licensed under the MIT License. See LICENSE file in the project root for full license information.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<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"
/>
<title>Contact Page</title>
</head>
<body>
<!-- ========== Start Navbar ========== -->
<header class="section-navbar">
<section class="top_txt">
<div class="head container">
<div class="head_txt">
<p>Free shipping, 30-day return or refund guarantee.</p>
</div>
<div class="sign_in_up">
<a href="login.html" id="loginButton">LOG IN</a>
<span id="username_login" style="display:none;"></span>
</div>
</div>
</section>
<div class="container">
<div class="navbar-brand">
<a href="index.html">
<img
src="./images/log.png"
alt="Arnab eCommerce logo"
class="logo"
width="80%"
height="auto"
/>
</a>
</div>
<nav class="navbar">
<ul>
<li class="nav-item">
<a href="/" class="nav-link">Home </a>
</li>
<li class="nav-item">
<a href="about.html" class="nav-link">about</a>
</li>
<li class="nav-item">
<a href="products.html" class="nav-link">products</a>
</li>
<li class="nav-item">
<a href="contact.html" class="nav-link">contact</a>
</li>
<li class="nav-item">
<a
href="addToCart.html"
class="nav-link add-to-cart-button"
id="cartValue"
>
<i class="fa-solid fa-cart-shopping"></i> 0</a
>
</li>
</ul>
</nav>
</div>
</header>
<!-- ========== End Navbar ========== -->
<!-- ========== Start About Section ========== -->
<section class="section-contact">
<div class="container">
<h2 class="section-common--heading">contact us</h2>
<p class="section-common--subheading">
Get in touch with us. We are always here to help you.
</p>
</div>
<div class="container grid grid-two--cols">
<div class="contact-content">
<form action="#">
<div class="grid grid-two-cols mb-3">
<div>
<label for="username">full name</label>
<input
type="text"
name="username"
id="username"
required
autocomplete="off"
placeholder="enter full name"
/>
</div>
<div>
<label for="email">email address</label>
<input
type="email"
name="email"
id="email"
required
autocomplete="off"
placeholder="[email protected]"
/>
</div>
</div>
<div class="mb-3">
<label for="subject">subject</label>
<input
type="text"
name="subject"
id="subject"
required
autocomplete="off"
placeholder="title of your message"
/>
</div>
<div class="mb-3">
<label for="message">message</label>
<textarea
name="message"
id="message "
cols="30"
rows="10"
placeholder="we are always here to help you."
></textarea>
</div>
<div class="mt-3">
<button type="submit" class="btn contact-btn">
send message
</button>
</div>
</form>
</div>
<div class="contact-map">
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3705.08433759512!2d87.73996393488768!3d21.776996699999994!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3a0326f19d83d6e7%3A0x1ceeaf41c59ea327!2sNEW%20KUMUDINI%20RADIO%20CENTER!5e0!3m2!1sen!2sin!4v1717549991243!5m2!1sen!2sin"
width="100%"
height="auto"
style="border: 0"
allowfullscreen=""
loading="lazy"
referrerpolicy="no-referrer-when-downgrade"
></iframe>
</div>
</div>
</section>
<!--* ========== Start Footer Section ========== -->
<footer class="section-footer">
<div class="footer-container container">
<div class="content_1">
<img src="./images/logo.png" alt="logo" />
<p>
Welcome to Mega Tech EcomStore, your ultimate destination for
cutting-edge gadgets!
</p>
<img src="https://i.postimg.cc/Nj9dgJ98/cards.png" alt="cards" />
</div>
<div class="content_2">
<h4>SHOPPING</h4>
<a href="#">Computer Store</a>
<a href="#">Laptop Store</a>
<a href="#">Accessories</a>
<a href="#">Sales & Discount</a>
</div>
<div class="content_3">
<h4>Experience</h4>
<a href="./contact.html">Contact Us</a>
<a href="" target="_blank">Payment Method</a>
<a href="" target="_blank">Delivery</a>
<a href="" target="_blank">Return and Exchange</a>
</div>
<div class="content_4">
<h4>NEWSLETTER</h4>
<p>Be the first to know about new<br />arrivals, sales & promos!</p>
<div class="f-mail">
<input type="email" placeholder="Your Email" />
<i class="bx bx-envelope"></i>
</div>
<hr />
</div>
<div class="contact-developer">
<button onclick="window.location.href='developerContact.html'">Contact Developer</button>
</div>
</div>
<div class="f-design">
<div class="f-design-txt">
<p>Design and Code by Arnab Paul</p>
</div>
</div>
</footer>
<!-- Include the footer JavaScript file -->
<!--* ========== End Footer Section ========== -->
<!-- ========== End About Section ========== -->
<script type="module" src="/main.js"></script>
<!-- JS SCRIPT -->
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
</script>
<script>
window.onload = function() {
const loggedInUser = localStorage.getItem('loggedInUser');
const loginButton = document.getElementById('loginButton');
const usernameDisplay = document.getElementById('username_login');
if (loggedInUser) {
loginButton.style.display = 'none';
usernameDisplay.style.display = 'inline';
usernameDisplay.textContent = loggedInUser;
} else {
loginButton.style.display = 'inline';
usernameDisplay.style.display = 'none';
}
usernameDisplay.addEventListener('click', function() {
localStorage.removeItem('loggedInUser');
window.location.href = 'index.html';
});
}
</script>
</body>
</html>