-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathcontact.html
277 lines (248 loc) · 10.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tourism Blog</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Lemonada:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous" />
<link rel="stylesheet" href="./Resources/css/style.css" />
<link rel="shortcut icon" href="./Resources/images/LOGO_TOURISM.png" type="image/x-icon">
</head>
<body>
<div class="contact" id="top">
<!-- Nav -->
<nav class="navbar fixed-top navbar-expand-sm">
<a class="navbar-brand" href="index.html"><img
style="padding-left: 1.25rem; width: 4rem; transition: transform 0.3s ease;"
src="./Resources/images/LOGO_TOURISM.png" alt="logo" onmouseover="this.style.transform='scale(1.1)'"
onmouseout="this.style.transform='scale(1)'" />
</a>
<h2
style="margin: 0; padding-left: 1.5rem; font-size: 2rem; color: black; font-family: 'Lemonada', cursive; font-weight: bold; font-style: italic; transition: transform 0.3s ease;"
onmouseover="this.style.transform='scale(1.05)'" onmouseout="this.style.transform='scale(1)'">Tourism Blogs</h2>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon text-danger"><i class="fa fa-bars"></i></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-md-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="blog.html">Blog</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link active" href="contact.html">Contact Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="signup.html">Login</a>
</li>
</ul>
</div>
</nav>
<!-- Nav End -->
<!-- Contact us Start -->
<div class="contact-page">
<div class="intro-section">
<h1>Share Your Adventures with Us!</h1>
<p>Send Your Travel Photos & Reach Out for Top Destination Tips</p>
<button id="scrollToContact">Send Us A Message!</button>
</div>
<div class="contact-form">
<div class="contact-info">
<div class="contact-item copy-to-clipboard" data-clipboard-text="+91956564xxxx">
<div class="icon"><span>📞</span></div>
<p>Phone No.: +91956564xxxx</p>
</div>
<div class="contact-item copy-to-clipboard" data-clipboard-text="tourismblog@mail.com">
<div class="icon"><span>📧</span></div>
<p>Email: tourismblog@mail.com</p>
</div>
<div class="contact-item">
<div class="icon"><span>🌐</span></div>
<p>Website: www.tourismblog.com</p>
</div>
</div>
<div class="contact-container">
<h2>Send Us A Message!</h2>
<p>Please Include Your Information so that we may contact you back!</p>
<form>
<div class="bentorow">
<input type="text" placeholder="Your Name" required>
<input type="email" placeholder="Your Email" required>
</div>
<div class="bentorow">
<input type="phoneno" placeholder="Your Number" required>
<input type="text" placeholder="Subject" required>
</div>
<textarea placeholder="Your Message" required></textarea>
<input type="submit" value="Send Message">
</form>
</div>
</div>
<div class="address">
<div class="container-fluid mx-auto">
<h1 style="text-align: center; padding-bottom: 1rem">Find Us On The Map!</h1>
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2917.2256352292443!2d72.9690624040702!3d19.226906893022814!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3be7b95e68139577%3A0x721a4279514b50d4!2sHiranandani%20Meadows%2C%20Gladys%20Alwares%20Road%2C%20Off%20Pokhran%20Road%20No%2%2C%20Thane%20H.o.%20(east)%2C%20Manpada%2C%20Thane%20West%2C%20Thane%2C%20Maharashtra%20400601!5e0!3m2!1sen!2sin!4v1623170921263!5m2!1sen!2sin"
width="100%" height="100%" style="border: 0"></iframe>
<div>
<address style="padding-bottom: 2rem">
<span>Office:</span> Hiranandani Meadows Gladys Alwares Road, Off
Pokhran Road No 2, Thane H.o. (east), Manpada, Thane West, Thane,
Maharashtra 400601
</address>
</div>
</div>
</div>
</div>
<script>
const copyButtons = document.querySelectorAll('.copy-to-clipboard');
copyButtons.forEach(button => {
button.addEventListener('click', event => {
const textToCopy = button.getAttribute('data-clipboard-text');
navigator.clipboard.writeText(textToCopy)
.then(() => {
alert('Copied to clipboard!');
})
.catch(error => {
console.error('Failed to copy text:', error);
});
});
});
</script>
<!--Contact Us End -->
<!-- Footer -->
<footer>
<div class="footer-container">
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
<div class="footer-col">
<h4>Products</h4>
<ul>
<li><a href="#">teams</a></li>
<li><a href="#">advertising</a></li>
<li><a href="#">talent</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Network</h4>
<ul>
<li><a href="#">technology</a></li>
<li><a href="#">science</a></li>
<li><a href="#">business</a></li>
<li><a href="#">professional</a></li>
<li><a href="#">API</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Company</h4>
<ul>
<li><a href="#">about</a></li>
<li><a href="#">legal</a></li>
<li><a href="#">contact us</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Follow Us</h4>
<div class="links">
<ul>
<a href="#"><i class="fab fa-linkedin-in"></i></a>
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
</ul>
</div>
</div>
<div class="copyright">
© 2024 Tourism Blog
</div>
</div>
</footer>
<!-- Footer End -->
<!-- CC -->
<div class="cc">
<div class="container-fluid">
<p>COPYRIGHT</p>
</div>
</div>
<!-- CC End-->
<!-- Scripts -->
<script>
document.getElementById('scrollToContact').addEventListener('click', function () {
document.querySelector('.contact-form').scrollIntoView({ behavior: 'smooth' });
});
// JavaScript code for button click animation
document.addEventListener("DOMContentLoaded", function () {
const contactContainer = document.querySelector('.contact-container');
const contactItems = document.querySelectorAll('.contact-item');
const sendButton = document.getElementById('scrollToContact');
// Initially hide contact container and items
contactContainer.style.transform = 'translateX(-100%)';
contactContainer.style.opacity = '0';
contactItems.forEach(item => {
item.style.opacity = '0'; // Initially hide items
});
sendButton.addEventListener('click', function (event) {
event.preventDefault(); // Prevent default action if it's in a form
// Animate the contact container
contactContainer.style.transition = 'transform 2s ease, opacity 2s ease';
contactContainer.style.transform = 'translateX(0)';
contactContainer.style.opacity = '1';
// Wait for the container animation to finish before starting the items
setTimeout(() => {
contactItems.forEach((item, index) => {
setTimeout(() => {
item.style.transition = 'opacity 2s ease';
item.style.opacity = '1'; // Animate each item with a delay
}, index * 100); // 0.1 seconds delay for each item
});
}, 500); // Delay to start items after container animation (0.5 seconds)
});
});
// back to top btn js
const backToTopButton = document.getElementById("back-to-top");
// Show the button when the user scrolls down a certain amount
window.addEventListener("scroll", function () {
if (document.documentElement.scrollTop > 100) {
backToTopButton.style.display = "block";
} else {
backToTopButton.style.display = "none";
}
});
// Function for smooth scrolling to the top
function scrollToTop() {
const smoothScrollToTop = () => {
const currentPosition = document.documentElement.scrollTop;
if (currentPosition > 0) {
window.requestAnimationFrame(smoothScrollToTop);
window.scrollTo(0, currentPosition - currentPosition / 10);
}
};
smoothScrollToTop();
}
// Scroll to the top smoothly when the button is clicked
backToTopButton.addEventListener("click", scrollToTop);
//
</script>
<script src="https://kit.fontawesome.com/15a0e7cd00.js" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
crossorigin="anonymous"></script>
</body>
</html>