forked from PriyaGhosal/BuddyTrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
disclaimer.html
491 lines (419 loc) · 14.1 KB
/
disclaimer.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
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
<!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">
<link rel="stylesheet" href="terms.css">
<title>Disclaimer - BuddyTrail</title>
</head>
<style>
/* Resetting margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body styling */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f8f9fa;
color: #333;
line-height: 1.6;
}
/* Full-width container for page */
.container {
display: flex;
width: 100%;
margin: 20px auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
/* Table of contents styling */
.toc {
flex-basis: 25%;
background-color: #e9ecef;
padding:70px 20px;
border-radius: 8px;
margin-right: 20px;
height: fit-content;
position: sticky;
top: 20px;
}
.toc h2 {
font-size: 1.5rem;
color: #004085;
}
.toc ul {
list-style: none;
padding: 0;
}
.toc ul li {
margin-bottom: 10px;
}
.toc ul li a {
text-decoration: none;
color: #007bff;
font-weight: bold;
}
.toc ul li a:hover {
text-decoration: underline;
}
/* Main content styling */
.main-content {
flex-basis: 75%;
}
h1, h2 {
color: #004085;
}
h1 {
font-size: 2.2rem;
text-align: center;
margin: 53px 0;
border-bottom: 2px solid #004085;
padding-bottom: 10px;
}
h2 {
font-size: 1.8rem;
margin-top: 40px;
margin-bottom: 20px;
border-bottom: 1px solid #ddd;
padding-bottom: 10px;
}
p {
font-size: 1rem;
color: #555;
margin-bottom: 20px;
}
ul {
margin-left: 20px;
padding-left: 20px;
list-style: disc;
}
li {
margin-bottom: 10px;
}
/* Button styling for links */
a {
color: #007bff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Smooth scrolling for anchor links */
html {
scroll-behavior: smooth;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.toc {
margin-bottom: 20px;
margin-right: 0;
width: 100%;
position: relative; /* Changed to relative to make TOC non-sticky */
}
.main-content {
width: 100%;
}
h1 {
font-size: 1.8rem;
}
h2 {
font-size: 1.4rem;
}
p {
font-size: 0.95rem;
}
main
a:hover {
text-decoration: underline;
}
/* Smooth scrolling for anchor links */
html {
scroll-behavior: smooth;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.toc {
margin-bottom: 20px;
margin-right: 0;
width: 100%;
position: relative; /* Changed to relative to make TOC non-sticky */
}
.main-content {
width: 100%;
}
h1 {
font-size: 1.8rem;
}
h2 {
font-size: 1.4rem;
}
p {
font-size: 0.95rem;
}
}
</style>
<style>
/* circle styles */
.circle {
height: 24px;
width: 24px;
border-radius: 24px;
background-color: rgb(255, 0, 0);
position: fixed;
top: 0;
left: 0;
pointer-events: none;
z-index: 99999999;
}
</style>
</head>
}
:root {
--bg-color: #fff;
--text-color: #333;
--toc-bg: #e9ecef;
--link-color: #007bff;
}
body {
background-color: var(--bg-color);
color: var(--text-color);
}
a {
color: var(--link-color);
}
/* Dark Mode Variables */
body.dark-mode {
--bg-color: #000;
--text-color: #fff;
--toc-bg: #333;
--link-color: #90caf9;
}
.dark-mode .container {
background-color: var(--bg-color);
}
.dark-mode-toc {
background-color: var(--toc-bg);
}
.dark-mode-toc ul li a,
.dark-mode h1,
.dark-mode h2,
.dark-mode p,
.dark-mode ul li {
color: var(--text-color);
}
.dark-mode-content {
background-color: var(--bg-color);
}
.dark-mode-content h1,
.dark-mode-content h2,
.dark-mode-content p,
.dark-mode-content li {
color: var(--text-color);
}
</style>
main
<body>
<header>
<div class="container3">
<nav>
<div class="logo">
<img src="img/logo.png" id="logo-web" alt="BuddyTrail Logo" />
<h1 id="logo">BuddyTrail</h1>
</div>
<button class="hamburger" id="hamburger">☰</button>
<ul class="nav-links" id="nav-links">
<button class="dropdown-close-btn" id="closeBtn">✖</button>
<li><a href="index.html" class="nav-link">Home</a></li>
<li><a href="about.html" class="nav-link active">About Us</a></li>
<li><a href="team.html" class="nav-link">Team</a></li>
<li><a href="contact.html" class="nav-link">Contact</a></li>
<li><a href="auth.html" class="btn-primary">Sign In</a></li>
</ul>
<button class="mode-toggle" id="modeToggle">
<span class="sun-icon glow"
><img src="day-mode.png" alt="Light mode"
/></span>
<span class="moon-icon glow" style="display: none"
><img src="moon.png" alt="Dark mode"
/></span>
</button>
</nav>
</div>
</header>
<div class="container">
<!-- Table of contents on the left side -->
<div class="toc">
<h2>Table of Contents</h2>
<ul>
<li><a href="#section1">1. General Information</a></li>
<li><a href="#section2">2. No Guarantees</a></li>
<li><a href="#section3">3. External Links</a></li>
<li><a href="#section4">4. Liability</a></li>
<li><a href="#section5">5. Changes to This Disclaimer</a></li>
<li><a href="#section6">6. Contact Us</a></li>
</ul>
</div>
<!-- Main content on the right side -->
<div class="main-content">
<h1>BuddyTrail - Disclaimer</h1>
<!-- Disclaimer sections -->
<h2 id="section1">1. General Information</h2>
<p>The information provided by BuddyTrail is for general informational purposes only. All information on the Site is provided in good faith, however, we make no representation or warranty of any kind, express or implied, regarding the accuracy, adequacy, validity, or reliability of any information on the Site.</p>
<h2 id="section2">2. No Guarantees</h2>
<p>While we strive to provide accurate and up-to-date information, we make no guarantees about the completeness or accuracy of the information, and you should not rely solely on it. Your use of any information on the Site is at your own risk.</p>
<h2 id="section3">3. External Links</h2>
<p>Our Site may contain links to third-party websites or services that are not owned or controlled by BuddyTrail. We have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party websites or services. We strongly advise you to read the terms and conditions and privacy policies of any third-party websites that you visit.</p>
<h2 id="section4">4. Liability</h2>
<p>In no event shall BuddyTrail, nor its directors, employees, partners, agents, suppliers, or affiliates, be liable for any indirect, incidental, special, consequential, or punitive damages, including without limitation, loss of profits, data, use, goodwill, or other intangible losses, resulting from:</p>
<ul>
<li>Your access to or use of (or inability to access or use) the Site;</li>
<li>Any conduct or content of any third party on the Site;</li>
<li>Any content obtained from the Site; and</li>
<li>Unauthorized access, use, or alteration of your transmissions or content.</li>
</ul>
<h2 id="section5">5. Changes to This Disclaimer</h2>
<p>We reserve the right to modify this Disclaimer at any time. Any changes will be posted on this page, and the updated policy will take effect upon posting. We encourage you to check this page periodically to stay informed about our Disclaimer.</p>
<h2 id="section6">6. Contact Us</h2>
<p>If you have any questions or concerns about this Disclaimer, please contact us:</p>
<p>Email: <a href="mailto:[email protected]">[email protected]</a></p>
<p>Phone: <a href="tel:+1234567890" style="color: rgb(103, 115, 212); text-decoration: none;">+123 456 7890</a></p>
</div>
</div>
main
main
<!-- Circles -->
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<script>
// coordinates for the cursor :
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
const colors = [
"#fc5720", "#fc6532", "#fc6532","#fd8b65", "#d5585c", "#fac3b1", "#f4d5cb", "#fefefe", "#fefefe", "#cdf2c5", "#b2eca5", "#95e283", "#7dda68", "#4adc2d", "#69d451", "#54c939", "#34b916", "#28b309", "#1e9c02",
];
circles.forEach(function (circle, index) {
circle.x = 0;
circle.y = 0;
circle.style.backgroundColor = colors[index % colors.length];
});
// update the coordinates when the mouse moves:
window.addEventListener("mousemove", function (e) {
coords.x = e.clientX;
coords.y = e.clientY;
});
// animation function to move the circles:
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
circle.style.left = x - 12 + "px";
circle.style.top = y - 12 + "px";
circle.style.scale = (circles.length - index) / circles.length;
circle.x = x;
circle.y = y;
const nextCircle = circles[index + 1] || circles[0];
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
requestAnimationFrame(animateCircles);
}
animateCircles();
</script>
<footer>
<div class="container2">
<div class="footer-content">
<div class="footer-column">
<h3>About Us</h3>
<p>
Discover and plan affordable trips with BuddyTrail's travel
companion tools.
</p>
</div>
<div class="footer-column">
<h3>Quick Links</h3>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="faq.html" class="faq-link">FAQs</a></li>
<li><a href="/#services">Services</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="team.html">Team</a></li>
<li>
<a href="contributor/contributor.html">Our Contributor</a>
</li>
</ul>
</div>
<div class="footer-column">
<h3>Contact Us</h3>
<p>Email: <a href="mailto:[email protected]" style="color: white; text-decoration: none;">[email protected]</a></p>
<p>Phone: <a href="tel:+1234567890" style="color: white; text-decoration: none;">+123 456 7890</a></p>
</div>
<div class="footer-column">
<h3>Follow Us</h3>
<div class="social-icons">
<a href="https://discord.com/invite/priyaghosal" target="_blank"
><i class="fab fa-discord"></i
></a>
<a href="https://twitter.com/PriyaGhosa39968" target="_blank"
><i class="fab fa-twitter"></i
></a>
<a
href="https://github.com/PriyaGhosal/BuddyTrail"
target="_blank"
><i class="fab fa-github"></i
></a>
<a
href="https://www.linkedin.com/in/priya-ghosal-785771286/"
target="_blank"
><i class="fab fa-linkedin-in"></i
></a>
</div>
</div>
</div>
<p class="copyright">© 2024 BuddyTrail | All rights reserved.</p>
</div>
</footer>
main
<script>
const modeToggle = document.getElementById('modeToggle');
const body = document.body;
const toc = document.querySelector('.toc');
const mainContent = document.querySelector('.main-content');
modeToggle.addEventListener('click', () => {
body.classList.toggle('dark-mode');
toc.classList.toggle('dark-mode-toc');
mainContent.classList.toggle('dark-mode-content');
});
</script>
main
</body>
</html>