-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
581 lines (466 loc) · 21.2 KB
/
index.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
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
<!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>Your Friend's - Be free to share!</title>
<link rel="stylesheet" href="./css/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="shortcut icon" href="./assets/images/icons8-consultant-64.png" type="image/svg+xml">
<link
href="https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Comforter+Brush&family=Heebo:wght@400;500;600;700&display=swap"
rel="stylesheet">
</head>
<body id="top">
<!--
- #HEADER
-->
<header class="header" data-header>
<div class="container">
<a href="#">
<h1 class="logo">Your Friend's</h1>
</a>
<button class="nav-toggle-btn" data-nav-toggle-btn aria-label="Toggle Menu">
<ion-icon name="menu-outline" class="open"></ion-icon>
<ion-icon name="close-outline" class="close"></ion-icon>
</button>
<nav class="navbar">
<ul class="navbar-list">
<li>
<a href="#" class="navbar-link">Home</a>
</li>
<li>
<a href="#aboutpage" class="navbar-link">About Us</a>
</li>
<li>
<a href="#Pricing" class="navbar-link">Pricing</a>
</li>
<li class="dropdown">
<a class="navbar-link">Test</a>
<ul class="dropdown-menu">
<li><a href="anxiety_test.html">Anxiety Test</a></li>
<li><a href="depression_test.html">Depression Test</a></li>
<li><a href="depression_test.html">Depression Test</a></li>
<!-- Add more options as needed -->
</ul>
</li>
</ul>
<a href="./Game/game_index.html" class="btn btn-secondary">Play Games</a>
</nav>
</div>
</header>
<main>
<article>
<!--
- #HERO
-->
<section class="section hero"
style="background-image: url('./assets/images/hero-bg-bottom.png') url('./assets/images/hero-bg-top.png')">
<div class="container">
<img src="./assets/images/shape-1.png" width="61" height="61" alt="Vector Shape" class="shape shape-1">
<img src="./assets/images/shape-2.png" width="56" height="74" alt="Vector Shape" class="shape shape-2">
<img src="./assets/images/shape-3.png" width="57" height="72" alt="Vector Shape" class="shape shape-3">
<div class="hero-content">
<p class="section-subtitle">Discover Your Path</p>
<h2 class="hero-title">Your Trusted Guides</h2>
<p class="hero-text">
Let's not just find answers; let's explore together. Consulting isn't just about fixing things—it's about
moving forward. At Your Friend's, progress is our adventure.
</p>
<div class="btn-group">
<a href="#" class="btn btn-primary1" id="contactButton">Contact Us</a>
<div class="popup-container" id="popupContainer">
<div class="popup-content">
<span class="close" onclick="closePopup()">×</span>
<form id="contactForm" action="./php/contact-from.php" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="subject">Subject:</label>
<input type="text" id="subject" name="subject" required>
<label for="message">Message:</label>
<textarea id="message" name="message" required></textarea>
<button type="submit">Submit</button>
</form>
<span class="popup-close close" onclick="closePopup()">×</span> <!-- Close button -->
</div>
</div>
<a href="./redirection/register.html" id="registerLink" class="btn btn-outline" onclick="openPopup(event)">Register</a>
</div>
<script>
function openPopup(event) {
event.preventDefault();
document.getElementById("popupContainer").style.display = "block";
}
function closePopup() {
document.getElementById("popupContainer").style.display = "none";
}
</script>
</div>
<figure class="hero-banner">
<img src="./assets/videos,gif/Home GIF.gif" width="686" height="750" loading="lazy" alt="hero banner"
class="w-100" style="margin-left: 100px; margin-top: -50px; ">
</figure>
</div>
</section>
<script>// Function to open the popup when either "Contact Us" or "Register" button is clicked
function openPopup(event) {
event.preventDefault(); // Prevent default link behavior
const popupContainer = event.target.nextElementSibling; // Get the next sibling, which is the popup container
popupContainer.style.display = 'block';
}
// Function to close the popup when the close button is clicked
function closePopup(event) {
event.target.closest('.popup-container').style.display = 'none'; // Close the closest popup container
}
// Add event listeners to the "Contact Us" and "Register" buttons
document.getElementById('contactButton').addEventListener('click', openPopup);
document.getElementById('registerLink').addEventListener('click', openPopup);
// Add event listener to close the popup when the close button is clicked
document.querySelectorAll('.close').forEach(function(closeButton) {
closeButton.addEventListener('click', closePopup);
});
// Prevent the default form submission behavior
document.getElementById('contactForm').addEventListener('submit', function(event) {
event.preventDefault();
// Here you can add your form submission logic (e.g., send the form data via AJAX)
});
</script>
<!--
- #SPAM
-->
<div class="section-spam">
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="slide-container">
<div class="slide" data-slide-no="1"></div>
<div class="slide" data-slide-no="2"></div>
<div class="slide" data-slide-no="3"></div>
<div class="slide" data-slide-no="4"></div>
<div class="slide" data-slide-no="5"></div>
<div class="slide" data-slide-no="6"></div>
<div class="slide" data-slide-no="7"></div>
<div class="slide" data-slide-no="8"></div>
</div>
</div>
<!-- Add pagination -->
<div class="swiper-pagination"></div>
</div>
<div class="content">
<h1 class="club-name">Welcome To The<br />Your Friend's</h1>
<p class="club-info">We're here to be the friend who's got your back, no matter what. Think of us as your
sidekick, guiding you through the ups and downs while giving you a comfy spot to figure things out. Our
goal? To be the buddy you can count on, whether the journey's easy-peasy or a bit rocky.</p>
<p class="additional-info">Here, we're like your helpful buddy, giving you top-notch advice while making you
feel all warm and fuzzy inside. Your journey means everything to us, and we're here to solve problems and
cheer you on, side by side. At Your Friend's, your story guides us as we march toward your dreams together.
</p>
<a href="#instagram" aria-label="JOIN US" target="_self" rel="noreferrer" class="joining">Join Us</a>
</div>
</div>
<!--
- #ABOUT
-->
<section id="aboutpage" class="section about">
<div class="container">
<div class="about-content">
<p class="section-subtitle">About Us</p>
<h2 class="h2 section-title">Discover endless paths with us.</h2>
<p class="about-text">
Join us for a supportive chat—think of us as your decision-making buddies. We're here to make things easy
and fun while guiding you towards your best choices!
</p>
<ul class="about-list">
<li class="about-item">
<div class="about-item-icon">
<ion-icon name="compass"></ion-icon>
</div>
<div class="about-item-content">
<h3 class="h3 about-item-title">Life Helpers</h3>
<p class="about-item-text">
Let's navigate life together – your go-to pals for all things decisions, support, and smiles!
</p>
</div>
</li>
<li class="about-item">
<div class="about-item-icon">
<ion-icon name="briefcase"></ion-icon>
</div>
<div class="about-item-content">
<h3 class="h3 about-item-title">Friendly price</h3>
<p class="about-item-text">
Easy pricing designed for you. No fuss, just straightforward options to match what you need.
</p>
</div>
</li>
<li class="about-item">
<div class="about-item-icon">
<ion-icon name="umbrella"></ion-icon>
</div>
<div class="about-item-content">
<h3 class="h3 about-item-title">Trustworthy Guidance</h3>
<p class="about-item-text">
Dependable advice every step of the way, ensuring your journey's success.
</p>
</div>
</li>
</ul>
<a href="./Game/game_index.html" class="btn btn-primary1">Play Games</a>
</div>
<figure class="about-banner">
<img src="./assets/images/Consult.png" width="756" height="842" loading="lazy" alt="" class="w-100">
</figure>
</div>
</section>
<!--
- #Pricing
-->
<section class="section popular">
<div class="container">
<p id="Pricing" class="section-subtitle">Pricing</p>
<h2 class="h2 section-title">Most Popular Packages</h2>
<ul class="popular-list">
<li>
<div class="popular-card" id="package1">
<figure class="card-banner">
<img src="./assets/images/chat.png" width="740" height="518" loading="lazy" alt="Kuala Lumpur, Malaysia" class="img-cover">
</figure>
<div class="card-content">
<div class="card-wrapper">
<span class="card-price">₹199</span>
<div class="card-price"><del>₹499</del></div>
<div class="card-rating">
<ion-icon name="star"></ion-icon>
<ion-icon name="star"></ion-icon>
<ion-icon name="star"></ion-icon>
<ion-icon name="star"></ion-icon>
<ion-icon name="star-outline"></ion-icon>
<data value="2">(2)</data>
</div>
</div>
<h3 class="card-title">Instant Support, Friendly Chat.</h3>
<div class="payment-form-container" style="display: none;">
<form action="process_payment.php" method="post" class="payment-form">
<input type="hidden" name="package_id" value="package1">
<input type="hidden" name="price" value="₹199">
<button type="submit" class="pay-now-btn" style="border-radius: 10px; background-color: #C70039; height: 4vh; width: 30vh;"><h3>Pay Now</h3></button>
</form>
</div>
</div>
</div>
</li>
<div class="popular-card" id="package3">
<figure class="card-banner">
<img src="./assets/images/call.png" width="740" height="518" loading="lazy" alt="Kuala Lumpur, Malaysia" class="img-cover">
</figure>
<div class="card-content">
<div class="card-wrapper">
<span class="card-price">₹299</span>
<div class="card-price"><del>₹599</del></div>
<div class="card-rating">
<ion-icon name="star"></ion-icon>
<ion-icon name="star"></ion-icon>
<ion-icon name="star"></ion-icon>
<ion-icon name="star"></ion-icon>
<ion-icon name="star-outline"></ion-icon>
<data value="4">(4)</data>
</div>
</div>
<h3 class="card-title">Instant Support, Friendly Chat.</h3>
<div class="payment-form-container" style="display: none;">
<form action="process_payment.php" method="post" class="payment-form">
<input type="hidden" name="package_id" value="package3">
<input type="hidden" name="price" value="₹299">
<button type="submit" class="pay-now-btn" style="border-radius: 10px; background-color: #C70039; height: 4vh; width: 30vh;"><h3>Pay Now</h3></button>
</form>
</div>
</div>
</div>
</li>
<li>
<div class="popular-card" id="premium-package">
<figure class="card-banner">
<img src="./assets/images/subscription.png" width="740" height="518" loading="lazy" alt="premium-package" class="img-cover">
</figure>
<div class="card-content">
<div class="card-wrapper">
<span class="card-price">₹999</span>
<div class="card-price"><del>₹1499</del></div>
<div class="card-rating">
<ion-icon name="star"></ion-icon>
<ion-icon name="star"></ion-icon>
<ion-icon name="star"></ion-icon>
<ion-icon name="star"></ion-icon>
<ion-icon name="star"></ion-icon>
<data value="5">(5)</data>
</div>
</div>
<h3 class="card-title">Premium Support, VIP Chat.</h3>
<div class="payment-form-container" style="display: none;">
<form action="process_payment.php" method="post" class="payment-form">
<input type="hidden" name="package_id" value="premium-package">
<input type="hidden" name="price" value="₹999">
<button type="submit" class="pay-now-btn" style="border-radius: 10px; background-color: #C70039; height: 4vh; width: 30vh;"><h3>Pay Now</h3></button>
</form>
</div>
</div>
</div>
</li>
</ul>
</div>
</section>
<script>
document.addEventListener('DOMContentLoaded', function () {
// Add event listeners to each package card
var packageCards = document.querySelectorAll('.popular-card');
packageCards.forEach(function (card) {
card.addEventListener('click', function () {
// Toggle visibility of payment form container
var paymentFormContainer = card.querySelector('.payment-form-container');
paymentFormContainer.style.display = (paymentFormContainer.style.display === 'none') ? 'block' : 'none';
});
});
});
</script>
<!--
- #FOOTER
-->
<footer id="footer" class="footer" style="background-image: url('./assets/images/footer-bg.png')">
<div class="container">
<div class="footer-top">
<ul class="footer-list">
<li>
<p class="footer-list-title">Quick links</p>
</li>
<li>
<a href="#aboutpage" class="footer-link">About</a>
</li>
<li>
<a href="#Pricing" class="footer-link">Pricing</a>
</li>
<li>
<a href="#" class="footer-link" data-target="refund-policy">Refund Policy</a>
</li>
<li>
<a href="#" class="footer-link" data-target="privacy-policy">Privacy Policy</a>
</li>
<li>
<a href="#" class="footer-link" data-target="terms-conditions">Terms & Conditions</a>
</li>
</ul>
<ul class="footer-list">
<li>
<p class="footer-list-title">Categories</p>
</li>
<li>
<a href="#" class="footer-link">Call</a>
</li>
<li>
<a href="#" class="footer-link">Chatting</a>
</li>
<li>
<a href="#" class="footer-link">Subscription</a>
</li>
</ul>
<ul class="footer-list">
<li>
<p class="footer-list-title">Our Team</p>
</li>
<li>
<a href="#" class="footer-link">...</a>
</li>
<li>
<a href="#" class="footer-link"></a>
</li>
<li>
<a href="#" class="footer-link"></a>
</li>
</ul>
<div class="footer-list">
<p class="footer-list-title">Get a newsletter</p>
<p class="newsletter-text">
For the latest deals and tips, travel no further than your inbox
</p>
<form action="./php/newslatter.php" method="post" class="newsletter-form">
<input type="email" name="email" required placeholder="Email address" class="newsletter-input">
<button type="submit" class="btn btn-primary">Subscribe</button>
</form>
</div>
</div>
<div class="footer-bottom">
<a href="#" class="logo">Your Friend's</a>
<p class="copyright">
© 2024 <a href="#" class="copyright-link">Your Friend's</a>. All Rights Reserved
</p>
<ul class="social-list">
<li>
<a href="#" class="social-link">
<ion-icon name="logo-instagram"></ion-icon>
</a>
</li>
<li>
<a href="./Game/game_index.html" class="social-link">
<ion-icon name="game-controller-outline"></ion-icon>
</a>
</li>
<li>
<a href="#" class="social-link">
<ion-icon name="logo-google"></ion-icon>
</a>
</li>
</ul>
</div>
</div>
</footer>
<script>
// Function to show the popup
function showPopup(target) {
var popup = document.getElementById(target);
popup.style.display = "block";
popup.querySelector('.overlay').style.display = "block";
}
// Function to hide the popup
function hidePopup(target) {
var popup = document.getElementById(target);
popup.style.display = "none";
popup.querySelector('.overlay').style.display = "none";
}
// Add click event listeners to all footer links
var footerLinks = document.querySelectorAll('.footer-link');
footerLinks.forEach(function(link) {
link.addEventListener('click', function(e) {
e.preventDefault();
var target = this.getAttribute('data-target');
showPopup(target);
});
});
// Add click event listeners to all overlays to close the popup
var overlays = document.querySelectorAll('.overlay');
overlays.forEach(function(overlay) {
overlay.addEventListener('click', function() {
var target = this.parentElement.getAttribute('id');
hidePopup(target);
});
});
</script>
<!-- register -->
<!--
- #GO TO TOP
-->
<a href="#top" class="go-top" data-go-top aria-label="Go To Top">
<ion-icon name="chevron-up-outline"></ion-icon>
</a>
<!--
- custom js link
-->
<script src="./javascript/script.js"></script>
<!--
- ionicon link
-->
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
</body>
</html>