forked from The-MindSpace/MindSpace-Web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.html
231 lines (219 loc) · 11.2 KB
/
dashboard.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
<!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">
<link rel="icon" href="./img/Favicon.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<script src="https://kit.fontawesome.com/c17b038730.js", crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="dashboard.css">
<!-- aos stylesheet -->
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<title>MindSpace</title>
</head>
<body>
<nav data-aos="fade-down" data-aos-duration="1000" >
<ul>
<li><img src="img/logo.png" alt="logo" class="logo"></li>
<li><a href="#app">Applications</a></li>
<li><a href="#book">Books</a></li>
<li><a href="#org">Organizations</a></li>
<li><a href="#art">Articles</a></li>
<li><a href="#conf">Talks and Podcasts</a></li>
</ul>
</nav>
<!-- Grid Links -->
<main>
<!-- <h1 class="heading">Enter your Space</h1> -->
<div id="app">
<h1 class="heading">Applications</h1>
<div class="grid">
<div data-tilt class="left">Nyxo</div>
<div data-tilt class="left">Sanvello</div>
<div data-tilt class="left">Wrabit</div>
<div data-tilt class="left">Three Good Things</div>
<div data-tilt class="right">Calm</div>
<div data-tilt class="right">HeadSpace</div>
<div data-tilt class="right">Wake Up Time</div>
<div data-tilt class="right">Anxio.us</div>
</div>
</div>
<h1 id="book" class="heading">Books</h1>
<div class="grid2">
<div data-tilt class="left"><a href="https://www.amazon.in/Technology-Mental-Health-Applications-Supervision/dp/0398091056"><img src="https://m.media-amazon.com/images/I/51wHgzyRe0L._SY466_.jpg" id="bookimg"></a></div>
<div data-tilt class="left"><a href="https://www.amazon.in/Use-Technology-Mental-Health-Applications/dp/0398079544"><img src="https://m.media-amazon.com/images/I/51hBkqxS71L._SY466_.jpg" id="bookimg"></a></div>
<div data-tilt class="right"><a href="https://www.amazon.in/Technology-Mental-Health-Foundations-Routledge/dp/0367773597"><img src="https://m.media-amazon.com/images/P/0367773597.01._SCLZZZZZZZ_SX500_.jpg" id="bookimg"></a></div>
<div data-tilt class="right"><a href="https://arcus-www.amazon.in/Therapy-Tech-Digital-Transformation-Healthcare-ebook/dp/B09FYRYLXF"><img src="https://m.media-amazon.com/images/P/B09FYRYLXF.01._SCLZZZZZZZ_SX500_.jpg" id="bookimg"></a></div>
</div>
<h1 id="org" class="heading">Organizations</h1>
<div class="grid">
<div data-tilt class="left">Black Minds Matter</div>
<div data-tilt class="left">Brown Sisters Speak</div>
<div data-tilt class="left">OSMI</div>
<div data-tilt class="left">SelfCare.tech</div>
<div data-tilt class="right">MHPrompt</div>
<div data-tilt class="right">If Me</div>
<div data-tilt class="right">7 Cups</div>
<div data-tilt class="right">Therapy Karo</div>
</div>
<h1 id="art" class="heading">Articles</h1>
<div class="grid">
<div data-tilt class="left">Click Here</div>
<div data-tilt class="left">Click Here</div>
<div data-tilt class="left">Click Here</div>
<div data-tilt class="left">Click Here</div>
<div data-tilt class="right">Click Here</div>
<div data-tilt class="right">Click Here</div>
<div data-tilt class="right">Click Here</div>
<div data-tilt class="right">Click Here</div>
</div>
<h1 id="conf" class="heading">Talks and Conferences</h1>
<div class="grid">
<div data-tilt class="left">Click Here</div>
<div data-tilt class="left">Click Here</div>
<div data-tilt class="left">Click Here</div>
<div data-tilt class="left">Click Here</div>
<div data-tilt class="right">Click Here</div>
<div data-tilt class="right">Click Here</div>
<div data-tilt class="right">Click Here</div>
<div data-tilt class="right">Click Here</div>
<div data-tilt class="left">Click Here</div>
<div data-tilt class="left">Click Here</div>
<div data-tilt class="left">Click Here</div>
<div data-tilt class="left">Click Here</div>
<div data-tilt class="right">Click Here</div>
<div data-tilt class="right">Click Here</div>
<div data-tilt class="right">Click Here</div>
<div data-tilt class="right">Click Here</div>
</div>
</main>
<!-- Back to Top Button -->
<div class="back-to-top" onclick="scrollToTop()">
<span>↑</span>
</div>
<div class="foot">
<div class="col2">
<div data-aos="fade-left" data-aos-duration="1000" class="about-section">
<h1>About Us</h1>
<p>
Hi there! Welcome to our platform dedicated to mental fitness. We provide various links and resources
to help you embark on your journey to mental well-being.
<br><br>
Our mission is to create a supportive community where users can share their thoughts, feelings, and experiences with others.
<br><br>
This app is a prototype for a larger project we are working on. Stay tuned for more updates!
<br><br>
We wish you a joyful and enthusiastic journey towards improving your mental health, creating space for happiness and well-being.
</p>
</div>
<div class="developer-section">
<h1>Developers</h1>
<ul class="foot-names">
<li>
<a target="_blank" href="https://github.com/bhaskar1001101">
<img src="img/bhasky.jpg" alt="Bhaskar's Profile Picture">
<h3>Bhaskar Metiya</h3>
</a>
</li>
<li>
<a target="_blank" href="https://github.com/TeeWrath">
<img src="img/sub.jpg" alt="Subroto's Profile Picture">
<h3>Subroto Banerjee</h3>
</a>
</li>
</ul>
</div>
</div>
</div>
<!-- aos script -->
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
// array on 10 random links fill them up
const links = [
// apps
// "https://www.mentalhealth.org.uk/campaigns/mental-health-awareness-week", // placeholder
"https://nyxo.app",
"https://sanvello.com/",
"https://writewithwrabit.com",
// "https://www.quirk.fyi/",
"https://three-good-things.glitch.me/",
"https://www.calm.com/",
"https://www.headspace.com/",
"http://wakeupti.me/",
"http://weareanxio.us",
// "https://www.mentalhealth.org.uk/campaigns/mental-health-awareness-week", // placeholder
// books
"https://leanpub.com/osmi-mental-wellness-in-the-workplace",
"https://leanpub.com/osmi-guidelines-for-employers",
"https://leanpub.com/osmi-mental-wellness-in-the-workplace",
"https://www.academia.edu/43313933/Ikigai_The_Japanese_Secret_to_a_Long_and_Happy_Life",
// organizations
"https://www.youtube.com/watch?v=Xfs03Va5pAY", // placeholder
"https://twitter.com/BrownSistersSpk",
"https://osmihelp.org",
"https://selfcare.tech",
"http://mhprompt.org",
"https://www.if-me.org",
"https://www.7cups.com/",
"https://therapykaro.com/",
"https://www.talkspace.com/",
"https://www.youtube.com/watch?v=Xfs03Va5pAY", // placeholder
// articles
"https://mymoodpath.com/en/",
"http://blackmindsmatter.co.uk/",
"https://dev.to/desi/encouraging-wellness-in-a-remote-workplace-17m5",
"https://freeonlinetherapy.org/",
"https://www.reddit.com/r/catpictures/",
"https://dev.to/andrew/its-okay-to-not-be-okay",
"https://mentalhealthhackers.org/",
"http://everybodyhasabrain.com/",
"https://compassionatecoding.com",
"https://mymoodpath.com/en/",
"https://www.youtube.com/watch?v=jGG6Wip_PGg",
"http://happyporchradio.com/season-4-episode-3-april-wensel/",
"https://www.youtube.com/watch?v=Xfs03Va5pAY", // do not remove this link :P
"http://ardentdev.com/011-jerk-programmer-compassionate-coder-april-wensel",
"https://mentalhealth-kb.net/",
"https://www.baatn.org.uk/",
"https://www.blacktherapistsrock.com/",
"https://www.youtube.com/watch?v=P4wWbHvNAvY",
"https://mobile.va.gov/app/ptsd-coach",
"https://play.google.com/store/apps/details?id=com.smilingmind.app&gl=US&pli=1",
"https://www.onlinecounselling4u.com/",
"https://mymoodpath.com/en/",
"https://writewithwrabit.com",
"https://www.youtube.com/watch?v=jGG6Wip_PGg",
"http://happyporchradio.com/season-4-episode-3-april-wensel/",
"https://www.youtube.com/watch?v=Xfs03Va5pAY", // do not remove this link :P
"http://ardentdev.com/011-jerk-programmer-compassionate-coder-april-wensel",
"https://mentalhealth-kb.net/",
"https://www.baatn.org.uk/",
"https://www.blacktherapistsrock.com/",
];
// add event listeners to all the grid items and map them to the links such on on clicking the grid item it opens the link
const gridItems = document.querySelectorAll(".grid div");
gridItems.forEach((item, index) => {
// randomize index between 0 to
item.addEventListener("click", () => {
// get style of the grid item and animate scale to 2 and then open the link
item.style.transform = "scale(25)";
item.style.zIndex = "10";
item.style.color = "#72D34F";
// wait for 0.5s and then open the link
setTimeout(() => {
window.open(links[index]);
item.style.transform = "scale(1)";
item.style.zIndex = "1";
}, 500);
});
});
</script>
<!-- JavaScript -->
<script src="dashbboard.js"></script>
<script type="text/javascript" src="vanilla-tilt.js"></script>
</body>
</html>