-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
280 lines (242 loc) Β· 10.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="author" content="harrnish - ig@harrnish">
<link rel="icon" href="yourIconUrl" type="image/gif" sizes="16x16">
<title>Contact - pandora</title>
<!-- external stylesheet -->
<link rel="stylesheet" href="style.css">
<!-- bootstrapcdn -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<!-- Favicon -->
<link rel="icon" href="images\ico.png">
<!-- icon pack -->
<script src="https://unpkg.com/ionicons@4.5.10-0/dist/ionicons.js"></script>
<!-- google font -->
<link href="https://fonts.googleapis.com/css?family=Playfair+Display&display=swap" rel="stylesheet">
<!-- jquery cdn -->
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<!-- tweenmax (greensock) cdn -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.2/TweenMax.min.js"></script>
<!-- for on scroll animations -->
<link rel="stylesheet" href="animate.css">
<script src="wow.min.js"></script>
</head>
<body>
<div class="contact-container">
<!-- NAVIGATION STARTS -->
<div class="nav">
<div class="menu-open">
<ion-icon name="menu"></ion-icon>
</div>
<div class="brand">
<span><a href="index.html">pandora</a></span>
</div>
<div class="cart">
<a href="product.html" class="sicon"><img src="icon.svg"></a>
</div>
<div class="menu">
<div class="menu-close">
<ion-icon name="close"></ion-icon>
</div>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="shop.html">collection</a></li>
<li><a href="product.html">Product</a></li>
<li><a href="about.html">Our story</a></li>
<li><a href="team.html">Team</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
<div class="media-menu">
<ul>
<li><ion-icon name="logo-facebook"></ion-icon></li>
<li><ion-icon name="logo-instagram"></ion-icon></li>
<li><ion-icon name="logo-twitter"></ion-icon></li>
<li><ion-icon name="logo-pinterest"></ion-icon></li>
</ul>
</div>
</div>
</div>
<!-- NAVIGATION ENDS -->
<!-- DATA SECTION STARS -->
<div class="about-hero">
<div class="container-fluid hero wow fadeInUp">
<h1 id="hero-title"><div class="container"><div class="text"></div></div></h1>
</div>
<div class="container content">
<h3 class="wow fadeInUp" data-wow-delay="1s">say hello π</h3><br>
<p class="wow fadeInUp">Weβre here to help and answer any question you might have. Fill out the form and weβll be in touch as soon as possible. We look forward to hearing from you.</p>
<form>
<div class="form-group">
<label>Name</label>
<input type="text" class="form-control wow fadeInUp" data-wow-delay="0.5s">
</div>
<div class="form-group">
<label>E-mail</label>
<input type="email" class="form-control wow fadeInUp" data-wow-delay="0.7s">
</div>
<div class="form-group">
<label>City</label>
<input type="text" class="form-control wow fadeInUp" data-wow-delay="0.7s">
</div>
<div class="form-group">
<label>Message</label>
<textarea rows="3" class="form-control wow fadeInUp" data-wow-delay="0.8s"></textarea>
</div>
<div class="add-prod wow fadeInUp" data-wow-delay="0.2s">
<a href="mailto:mobpsyco250@gmail.com">SUBMIT</a>
</div>
</form>
</div>
</div>
<!-- DATA SECTION ENDS -->
<!-- FOOTER STARTS -->
<div class="container-fluid footer">
<div class="section container">
<footer>
<div class="row">
<div class="col-lg-3 block">
<p>Pandora,locality
<br>
Street,Pin
<br>
country</p>
</div>
<div class="col-lg-3 block">
<p>FAQs
<br>
Return Policy
<br>
Shipping</p>
</div>
<div class="col-lg-3 block">
<p>Careers
<br>
Community
<br>
Wholesale</p>
</div>
<div class="col-lg-3 block">
<div class="media">
<ul>
<li><ion-icon name="logo-facebook"></ion-icon></li>
<li><ion-icon name="logo-instagram"></ion-icon></li>
<li><ion-icon name="logo-twitter"></ion-icon></li>
<li><ion-icon name="logo-pinterest"></ion-icon></li>
</ul>
</div>
</div>
</div>
</footer>
</div>
</div>
<!-- FOOTER ENDS -->
</div>
<script type="text/javascript">
//Scroll reveal animations
new WOW().init();
//Scroll activated background change
$(function() {
$(document).scroll(function() {
var $nav = $(".nav");
$nav.toggleClass('scrolled', $(this).scrollTop() > $nav.height());
});
});
//Toggle MENU
var t1 = new TimelineMax({paused: true});
t1.to(".menu", 0.5, {
left: "0%",
ease: Power2.easeInOut
});
t1.reverse();
$(document).on("click", ".menu-open", function() {
t1.reversed(!t1.reversed());
});
$(document).on("click", ".menu-close", function() {
t1.reversed(!t1.reversed());
});
// ββββββββββββββββββββββββββββββββββββββββββββββββββ
// TextScramble
// ββββββββββββββββββββββββββββββββββββββββββββββββββ
class TextScramble {
constructor(el) {
this.el = el
this.chars = '!<>-_\\/[]{}β=+*^?#________'
this.update = this.update.bind(this)
}
setText(newText) {
const oldText = this.el.innerText
const length = Math.max(oldText.length, newText.length)
const promise = new Promise((resolve) => this.resolve = resolve)
this.queue = []
for (let i = 0; i < length; i++) {
const from = oldText[i] || ''
const to = newText[i] || ''
const start = Math.floor(Math.random() * 40)
const end = start + Math.floor(Math.random() * 40)
this.queue.push({ from, to, start, end })
}
cancelAnimationFrame(this.frameRequest)
this.frame = 0
this.update()
return promise
}
update() {
let output = ''
let complete = 0
for (let i = 0, n = this.queue.length; i < n; i++) {
let { from, to, start, end, char } = this.queue[i]
if (this.frame >= end) {
complete++
output += to
} else if (this.frame >= start) {
if (!char || Math.random() < 0.28) {
char = this.randomChar()
this.queue[i].char = char
}
output += `<span class="dud">${char}</span>`
} else {
output += from
}
}
this.el.innerHTML = output
if (complete === this.queue.length) {
this.resolve()
} else {
this.frameRequest = requestAnimationFrame(this.update)
this.frame++
}
}
randomChar() {
return this.chars[Math.floor(Math.random() * this.chars.length)]
}
}
// ββββββββββββββββββββββββββββββββββββββββββββββββββ
// Example
// ββββββββββββββββββββββββββββββββββββββββββββββββββ
const phrases = [
'Contact Us',
'Contact Us',
'Contact Us',
'Contact Us',
'Contact Us',
'Contact Us',
'Contact Us',
]
const el = document.querySelector('.text')
const fx = new TextScramble(el)
let counter = 0
const next = () => {
fx.setText(phrases[counter]).then(() => {
setTimeout(next, 800)
})
counter = (counter + 1) % phrases.length
}
next()
</script>
</body>
</html>