-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
439 lines (415 loc) · 19.7 KB
/
index.html
File metadata and controls
439 lines (415 loc) · 19.7 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link href="https://fonts.googleapis.com/css2?family=Montserrat&family=Ubuntu&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Satisfy&display=swap" rel="stylesheet" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Swiper JS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css" />
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/index.css" />
</head>
<body>
<!-- header -->
<header class="header">
<nav class="nav">
<div class="logo">
<div class="img-div">
<img src="images/logo.png" alt="" />
</div>
<div>
<h2>MindFullConnect</h2>
</div>
</div>
<div class="mobile-nav-btn">
<button onclick="openNav()">
<img src="images/Hamburger_icon.svg.png" alt="" />
</button>
</div>
<div id="mobile-nav" class="mobile-nav">
<div class="cross-icon">
<button onclick="closeNav()">
<svg fill="#000000" height="20px" width="20px" version="1.1" id="Capa_1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 490 490" xml:space="preserve">
<polygon points="456.851,0 245,212.564 33.149,0 0.708,32.337 212.669,245.004 0.708,457.678 33.149,490 245,277.443 456.851,490
489.292,457.678 277.331,245.004 489.292,32.337 " />
</svg>
</button>
</div>
<ul>
<li><a href="index.html" class="active">Home</a></li>
<li><a href="resourcelibrary.html">Resources Library</a></li>
<li><a href="interactiveTools.html">Interactive Tools</a></li>
<li><a href="professionalTools.html">Professional Service</a></li>
<li><a href="emergencyService.html">Emergency Service</a></li>
</ul>
</div>
</nav>
</header>
<!--end of header -->
<section>
<!-- Swiper -->
<div class="swiper mySwiper hero-swiper lg:h-[90vh] h-[50vh]">
<div class="swiper-wrapper h-full">
<div class="swiper-slide">
<div class="container">
<div class="content-container">
<div class="content">
<h2>
MindFullConnect
</h2>
<p class="lg:px-24 px-14 mt-5 text-xs md:text-base lg:text-base">
"Empower your mental well-being with MindfulConnect, where you'll find a gateway to
trusted resources, expert guidance, and ongoing support. Let us help you take
control of your mental health journey with confidence and ease."
</p>
</div>
</div>
<div class="img-div">
<img class="" src="images/slider1.jpg" />
</div>
</div>
</div>
<div class="swiper-slide">
<div class="container">
<div class="content-container">
<div class="content">
<h2>
MindFullConnect
</h2>
<p class="lg:px-24 px-14 mt-5 text-xs md:text-base lg:text-base">
"Discover a variety of self-care tools designed to guide you toward a more balanced,
healthier mind. From mood monitors to guided meditations, MindfulConnect provides
everything you need to nurture your mental well-being."
</p>
</div>
</div>
<div class="img-div">
<img class="" src="images/slider2.png" />
</div>
</div>
</div>
<div class="swiper-slide">
<div class="container">
<div class="content-container">
<div class="content">
<h2>
MindFullConnect
</h2>
<p class="lg:px-24 px-14 mt-5 text-xs md:text-base lg:text-base">
"Connect with compassionate mental health professionals who truly understand your
needs and are dedicated to supporting you every step of the way. Whether you're
seeking advice, therapy, or just someone to talk to, MindfulConnect is here to help
you on your journey."
</p>
</div>
</div>
<div class="img-div">
<img class="" src="images/slider3.jpg" />
</div>
</div>
</div>
<div
class="absolute z-10 top-1/2 lg:right-5 right-0.5 border-2 border-white hover:bg-transparent hover:text-white text-black transit duration-300 ease-linear bg-white rounded-full px-2 py-[3px] hero-swiper-button-next">
<i class="fa-solid fa-arrow-right text-3xl"></i>
</div>
<div
class="absolute z-10 top-1/2 lg:left-5 left-0.5 border-2 border-white hover:bg-transparent hover:text-white text-black transit duration-300 ease-linear bg-white rounded-full px-2 py-[3px] hero-swiper-button-prev">
<i class="fa-solid fa-arrow-left text-3xl"></i>
</div>
<div class="swiper-pagination hero-swiper-pagination"></div>
</div>
</section>
<div class="content">
<div class="resources-div">
<div class="videos-container">
<div class="main-title-div">
<h2 class="title main-title">
Videos
</h2>
</div>
<div class="container">
<div class="card">
<div class="img-div">
<video src="videos/Dear Anxiety __ Spoken Word.mp4" controls></video>
</div>
<h2 class="title">Dear Anxiety __ Spoken Word</h2>
</div>
<div class="card">
<div class="img-div">
<video src="videos/Feeling Lost in Your 20s.mp4" controls></video>
</div>
<h2 class="title">Feeling Lost in Your 20s</h2>
</div>
<div class="card">
<div class="img-div">
<video src="videos/How Stop Over Thinking _ Buddhism In English.mp4" controls></video>
</div>
<h2 class="title">How Stop Over Thinking _ Buddhism In English</h2>
</div>
<div class="card">
<div class="img-div">
<video src="videos/Mental Health Awareness.mp4" controls></video>
</div>
<h2 class="title">Mental Health Awareness</h2>
</div>
<div class="card">
<div class="img-div">
<video src="videos/People With Anxiety & Depression Share Advice For Anyone Who s Struggling _ Soul Stories.mp4" controls></video>
</div>
<h2 class="title">People With Anxiety & Depression Share Advice For Anyone Who s Struggling _ Soul Stories</h2>
</div>
<div class="card">
<div class="img-div">
<video src="videos/So, You re Having an Anxiety Attack (The Calm-Down Method for Stopping Anxiety Attacks).mp4" controls></video>
</div>
<h2 class="title">So, You re Having an Anxiety Attack (The Calm-Down Method for Stopping Anxiety Attacks)</h2>
</div>
</div>
</div>
<div class="article-container">
<div class="main-title-div">
<h2 class="title main-title">
Articles
</h2>
</div>
<div class="container">
<div class="card">
<a href="articles/managing-anxiety.html">
<div class="img-div">
<img src="images/article/anxiety.webp" alt="">
</div>
<h2 class="title">Managing Anxiety: Practical Tips to Calm Your Mind</h2>
</a>
</div>
<div class="card">
<a href="articles/overcoming-depression.html">
<div class="img-div">
<img src="images/article/depression.webp" alt="">
</div>
<h2 class="title">Overcoming Depression: Steps to Reclaim Your Life</h2>
</a>
</div>
<div class="card">
<a href="articles/living-with-ocd.html">
<div class="img-div">
<img src="images/article/ocd.webp" alt="">
</div>
<h2 class="title">Living with OCD: Understanding and Managing Obsessive-Compulsive Disorder</h2>
</a>
</div>
<div class="card">
<a href="articles/understanding-ptsd.html">
<div class="img-div">
<img src="images/article/ptsd.webp" alt="">
</div>
<h2 class="title">Understanding PTSD: Pathways to Healing After Trauma</h2>
</a>
</div>
<div class="card">
<a href="articles/managing-bipolar-disorder.html">
<div class="img-div">
<img src="images/article/bipolar.webp" alt="">
</div>
<h2 class="title">Managing Bipolar Disorder: Finding Balance in Mood Swings</h2>
</a>
</div>
<div class="card">
<a href="articles/feeling-like-a-future.html">
<div class="img-div">
<img src="images/article/feeling like a failure.webp" alt="">
</div>
<h2 class="title">Feeling Like a Failure</h2>
</a>
</div>
</div>
</div>
<div class="podcast-container">
<div class="main-title-div">
<h2 class="title main-title">
Podcast
</h2>
</div>
<div class="container">
<div class="card">
<a href="podcast/podcast.html?index=0">
<div class="img-div">
<img src="podcast/assets/images/1.webp" alt="">
</div>
<h2 class="title">Jordan Peterson’s Advice For People With Depression</h2>
</a>
</div>
<div class="card">
<a href="podcast/podcast.html?index=1">
<div class="img-div">
<img src="podcast/assets/images/2.webp" alt="">
</div>
<h2 class="title">Kristen Bell on Living with Depression and Anxiety - Body Stories - SELF</h2>
</a>
</div>
<div class="card">
<a href="podcast/podcast.html?index=2">
<div class="img-div">
<img src="podcast/assets/images/3.webp" alt="">
</div>
<h2 class="title">Are You Okay?</h2>
</a>
</div>
<div class="card">
<a href="podcast/podcast.html?index=3">
<div class="img-div">
<img src="podcast/assets/images/4.webp" alt="">
</div>
<h2 class="title">WHEN YOU FEEL LIKE QUITTING - Best Inspiring Speech on Mental Health</h2>
</a>
</div>
<div class="card">
<a href="podcast/podcast.html?index=4">
<div class="img-div">
<img src="podcast/assets/images/5.webp" alt="">
</div>
<h2 class="title">Complex PTSD in 5 Minutes</h2>
</a>
</div>
<div class="card">
<a href="podcast/podcast.html?index=5">
<div class="img-div">
<img src="podcast/assets/images/6.webp" alt="">
</div>
<h2 class="title">What is Depression? - Helen M. Farrell</h2>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- footer section -->
<div class="footer-section">
<div class="container">
<div class="card">
<div class="first-section">
<div class="img-div">
<img src="images/logo.png" alt="" />
</div>
<h2 class="title">MindFullConnect</h2>
</div>
</div>
<div class="card quick-links-section">
<div>
<h2 class="">QUICK LINKS</h2>
<ul>
<li><a href="index.html" class="active">Home</a></li>
<li><a href="resourcelibrary.html">Resources Library</a></li>
<li><a href="interactiveTools.html">Interactive Tools</a></li>
<li><a href="professionalTools.html">Professional Service</a></li>
<li><a href="emergencyService.html">Emergency Service</a></li>
</ul>
</div>
</div>
<div class="card social-media-section">
<div class="">
<h2 class="">Socials</h2>
<div class="social-medias">
<a href="https://www.facebook.com/profile.php?id=61567334764430" target="_blank">
<i class="fa-brands fa-facebook"></i>
</a>
<div class="instagram-icon">
<a href="https://www.instagram.com/mindfullconnect_45/" target="_blank">
<i class="fa-brands fa-instagram"></i>
</a>
</div>
<div class="twitter-icon">
<i class="fa-brands fa-twitter"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="bottom-footer">
<h2>
Copyright © 2024 <span>MindFullConnect</span>. All Rights Reserved
</h2>
</div>
<!--end of footer section -->
</body>
<script>
var swiper = new Swiper(".hero-swiper", {
spaceBetween: 30,
effect: "fade",
autoplay: {
delay: 5000,
disableOnInteraction: false,
},
navigation: {
nextEl: ".hero-swiper-button-next",
prevEl: ".hero-swiper-button-prev",
},
pagination: {
el: ".hero-swiper-pagination",
clickable: true,
},
});
var swiper = new Swiper(".testimonial-swiper", {
effect: "coverflow",
grabCursor: true,
centeredSlides: true,
slidesPerView: "auto",
loop: true,
coverflowEffect: {
rotate: 0,
stretch: 0,
depth: 100,
modifier: 2.5,
slideShadows: false,
},
pagination: {
el: ".testimonial-pagination",
},
navigation: {
nextEl: ".testimonial-swiper-button-next",
prevEl: ".testimonial-swiper-button-prev",
},
});
</script>
<script>
function closeNav() {
var mobileNav = document.getElementById("mobile-nav");
mobileNav.classList.remove("active");
}
function openNav() {
var mobileNav = document.getElementById("mobile-nav");
mobileNav.classList.add("active");
}
// random services
document.addEventListener("DOMContentLoaded", () => {
// Function to shuffle and select random items
function getRandomItems(container, count) {
const items = Array.from(container.querySelectorAll('.card'));
const shuffledItems = items.sort(() => 0.5 - Math.random()).slice(0, count);
container.innerHTML = ""; // Clear existing items
shuffledItems.forEach(item => container.appendChild(item)); // Append only the selected items
}
// Select and update each container with random 3 items
const videoContainer = document.querySelector('.videos-container .container');
const articleContainer = document.querySelector('.article-container .container');
const podcastContainer = document.querySelector('.podcast-container .container');
// Update each section to show only 3 random items
getRandomItems(videoContainer, 3);
getRandomItems(articleContainer, 3);
getRandomItems(podcastContainer, 3);
});
</script>
</html>