-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.html
232 lines (173 loc) · 8.82 KB
/
about.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>E-Commerce | ABOUT US</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css"
integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" />
<link rel="stylesheet" href="ecom.css">
</head>
<body>
<nav class="nav nav_top">
<div class="logo">
<img src="logo.png" alt="">
</div>
<div class="nav_side">
<a href="about.html"> About Us</a>
<a href="services.html">Services</a>
<a href="soon.html">Blogs</a>
<a href="contact.html">Contact Us</a>
<a href="soon.html">Login/Register</a>
</div>
</nav>
<div class="about">
<h2>ABOUT US</h2>
<div class="about_cont">
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Omnis iusto numquam consequatur,
molestiae ullam itaque quam nulla officia, a quasi atque distinctio! Maxime, aspernatur!
Reiciendis expedita ad doloribus aliquid molestiae id sequi, sunt, optio adipisci deleniti animi
aspernatur consequatur quidem. Explicabo numquam consequatur aliquam obcaecati voluptates quasi,
amet quia? Nulla.
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Id, tempore accusantium eaque harum aliquid
quia earum, officiis rerum rem ipsam error quae quisquam repudiandae placeat in beatae excepturi.
Consectetur aspernatur voluptatibus fugiat ea in tempora, at, dicta minima autem nemo cum facere, a
inventore deleniti soluta mollitia. Reiciendis at rem commodi in fugiat esse blanditiis ipsum enim ex
eligendi sunt, repudiandae harum! Minima minus illum exercitationem distinctio debitis autem, animi quo.
Magnam veniam in mollitia odit hic quibusdam, commodi doloribus, nam voluptas dolor, tempora cumque
quia? Dolorum hic dicta id sequi rem fugit non, enim aliquam rerum quibusdam quam asperiores?</p>
<hr>
<h3>OUR MISSION</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Necessitatibus exercitationem
, dolor similique repellendus pariatur libero unde, animi laborum, nostrum ducimus
consectetur qui quos sit saepe tempora itaque odit quaerat sed veritatis officia incidunt
in. Explicabo sapiente architecto et tenetur quibusdam!lorem60
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Deleniti, debitis quaerat atque quod
voluptate aliquam suscipit! Accusantium, ab modi. Veniam possimus sunt omnis vel eveniet, recusandae
maxime rerum atque veritatis.</p>
</div>
</div>
<div class="feed">
<h2>Write A Review</h2>
<div class="feed_form">
<form method="POST" name="feedback" onsubmit="return validation()">
<input type="email" placeholder="Write your Email" name="email" id="email">
<span id="eemail"></span>
<input type="text" placeholder="Write your name" name="uname" id="uname">
<span id="ename"></span>
<input type="tel" placeholder="Write Mobile no" name="mobile" id="mobile">
<span id="emobile"></span>
<textarea name="review" id="review" cols="20" rows="10" placeholder="Write review........."></textarea>
<span id="erev"></span>
<button type="submit">Submit Review</button>
</form>
</div>
</div>
<footer>
<div class="footer_logo">
<img src="logo.png" height="80px">
</div>
<div class="pages">
<h3>Pages</h3>
<a href="about.html">About Us</a>|
<a href="services.html">Services</a>|
<a href="soon.html">Blogs</a>|
<a href="soon.html">Login</a>|
<a href="soon.html"> Sign up</a>|
</div>
<div class="doc">
<h3>Documents</h3>
<a href="term.pdf">Privacy Policy</a>|
<a href="term.pdf">Terms of Use</a>|
<a href="term.pdf">Refund policy</a>|
</div>
<div class="social">
<h3>Social</h3>
<a href="https://www.facebook.com/pages/category/Education-Website/1Stopai-102490171820303/"
target="_blank"><i class="fab fa-facebook-square"></i></a>
<a href="https://in.linkedin.com/company/1stop-ai" target="_blank"><i class="fab fa-linkedin-in"></i></a>
<a href="https://www.instagram.com/1stop.ai/?hl=en" target="_blank"><i class="fab fa-instagram"></i></a>
</div>
<div class="contact">
<h3>Contact Us</h3>
<a href="tel: +919306608467" target="_blank"><i class="fas fa-phone"></i></a>
<a href="https://api.WhatsApp.com/send?phone=+919306608467"><i class="fab fa-whatsapp"></i></a>
<a href="mailto: [email protected]"><i class="fas fa-envelope"></i></a>
</div>
<hr>
<p>Copyright © 2021 Ecom.All rights reserved</p>
</footer>
<script type="text/javaScript">
var sub=false;
function validation() {
var namecheck = /^[A-Za-z._]{3,30}$/;
var emailcheck = /^[A-Za-z0-9.]{3,}@[A-Za-z]{3,6}[.]{1}[A-A-Za-z]{2,6}$/;
var mobilecheck = /^[6789]{1}[0-9]{9}$/;
var revicheck = /^[A-A-Za-z0-9._?]{3,}$/;
var uname = document.getElementById('uname').value;
var email = document.getElementById('email').value;
var mobile = document.getElementById('mobile').value;
var review = document.getElementById('review').value;
if (namecheck.test(uname)) {
document.getElementById('ename').innerHTML = "";
sub=true;
}
else {
document.getElementById('ename').innerHTML = "***INVALID NAME";
sub=false;
}
if (emailcheck.test(email)) {
document.getElementById('eemail').innerHTML = "";
if(sub!=false){
sub=true;
}
}
else {
document.getElementById('eemail').innerHTML = "***INVALID EMAIL";
sub=false;
}
if (mobilecheck.test(mobile)) {
document.getElementById('emobile').innerHTML = "";
if(sub!=false){
sub=true;
}
}
else {
document.getElementById('emobile').innerHTML = "***INVALID MOBILE";
sub=false;
}
if (revicheck.test(review)) {
document.getElementById('erev').innerHTML = "";
if(sub!=false){
sub=true;
}
}
else {
document.getElementById('erev').innerHTML = "****PLEASE USE VALID CHARACTERS";
sub=false;
}
}
if(sub!=false){
console.log(sub);
const scriptURL = 'https://script.google.com/macros/s/AKfycbzt0yh-6e7oKNQt9OsyRQqMvsLkVdnNCriSF2EAbnNrf0iZMbo4vl9-BkLtnDcTT9UWYg/exec'
const form = document.forms['feedback']
form.addEventListener('submit', e => {
e.preventDefault()
fetch(scriptURL, { method: 'POST', body: new FormData(form)})
.then(response => alert("Thanks for your valueable feedback!!!!!!!!!!!!"))
.catch(error => console.error('Error!', error.message))
})
}
</script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"
integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ"
crossorigin="anonymous"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
crossorigin="anonymous"></script>
</body>
</html>