toppshutter commited on
Commit
a971072
·
verified ·
1 Parent(s): bc9cdb1

Add 2 files

Browse files
Files changed (2) hide show
  1. index.html +392 -210
  2. prompts.txt +1 -0
index.html CHANGED
@@ -3,283 +3,465 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Brotherhood | Men's Mental Health Support</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
  <style>
10
- /* Custom scrollbar */
11
- ::-webkit-scrollbar {
12
- width: 6px;
 
13
  }
14
- ::-webkit-scrollbar-track {
15
- background: #f1f1f1;
 
 
 
16
  }
17
- ::-webkit-scrollbar-thumb {
18
- background: #3b82f6;
19
- border-radius: 3px;
20
  }
21
- /* Pulse animation for urgent help */
22
- @keyframes pulse {
23
- 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
24
- 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
25
- 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
26
  }
27
- .pulse {
28
- animation: pulse 2s infinite;
 
29
  }
30
- /* Custom transition for mood selector */
31
- .mood-option {
32
- transition: all 0.3s ease;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  }
34
- .mood-option:hover {
35
- transform: scale(1.1);
36
  }
37
- /* Gradient background */
38
- .gradient-bg {
39
- background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
40
  }
41
  </style>
42
  </head>
43
- <body class="bg-gray-100 font-sans">
44
- <!-- Main App Container -->
45
- <div class="max-w-md mx-auto bg-white min-h-screen shadow-lg overflow-hidden relative">
46
- <!-- Header -->
47
- <header class="gradient-bg text-white p-4 flex justify-between items-center">
48
- <div class="flex items-center space-x-2">
49
- <i class="fas fa-hands-helping text-2xl"></i>
50
- <h1 class="text-xl font-bold">Brotherhood</h1>
51
- </div>
52
- <div class="flex space-x-3">
53
- <button class="text-white">
54
- <i class="fas fa-bell"></i>
55
- </button>
56
- <button class="text-white">
57
- <i class="fas fa-user-circle text-xl"></i>
58
- </button>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  </div>
60
- </header>
61
 
62
- <!-- Main Content -->
63
- <main class="pb-20">
64
- <!-- Quick Help Section -->
65
- <div class="bg-red-50 p-4 mx-4 mt-4 rounded-lg border border-red-200">
66
- <div class="flex justify-between items-center">
67
- <div>
68
- <h2 class="font-bold text-red-800">Need Immediate Help?</h2>
69
- <p class="text-sm text-red-600">Connect with a peer supporter now</p>
70
  </div>
71
- <button class="pulse bg-red-500 text-white px-4 py-2 rounded-full flex items-center space-x-2">
72
- <i class="fas fa-hand-holding-heart"></i>
73
- <span>Urgent Support</span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  </button>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  </div>
76
  </div>
 
77
 
78
- <!-- Mood Tracker -->
79
- <div class="bg-white mx-4 mt-6 p-4 rounded-lg shadow">
80
- <h2 class="font-bold text-gray-800 mb-3">How are you feeling today?</h2>
81
- <div class="flex justify-between">
82
- <div class="mood-option text-center">
83
- <button class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center">
84
- <i class="fas fa-grin-beam text-blue-500 text-xl"></i>
 
 
 
 
 
 
 
 
85
  </button>
86
- <p class="text-xs mt-1">Great</p>
87
  </div>
88
- <div class="mood-option text-center">
89
- <button class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center">
90
- <i class="fas fa-smile text-green-500 text-xl"></i>
 
 
 
 
 
 
 
91
  </button>
92
- <p class="text-xs mt-1">Good</p>
93
  </div>
94
- <div class="mood-option text-center">
95
- <button class="w-12 h-12 bg-yellow-100 rounded-full flex items-center justify-center">
96
- <i class="fas fa-meh text-yellow-500 text-xl"></i>
 
 
 
 
 
 
 
97
  </button>
98
- <p class="text-xs mt-1">Okay</p>
99
  </div>
100
- <div class="mood-option text-center">
101
- <button class="w-12 h-12 bg-orange-100 rounded-full flex items-center justify-center">
102
- <i class="fas fa-frown text-orange-500 text-xl"></i>
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  </button>
104
- <p class="text-xs mt-1">Struggling</p>
105
  </div>
106
- <div class="mood-option text-center">
107
- <button class="w-12 h-12 bg-red-100 rounded-full flex items-center justify-center">
108
- <i class="fas fa-sad-tear text-red-500 text-xl"></i>
 
 
 
 
 
 
 
109
  </button>
110
- <p class="text-xs mt-1">Bad</p>
111
  </div>
112
  </div>
113
- <button class="w-full mt-4 bg-blue-500 text-white py-2 rounded-lg flex items-center justify-center space-x-2">
114
- <i class="fas fa-journal-whills"></i>
115
- <span>Journal Entry</span>
116
- </button>
117
  </div>
 
118
 
119
- <!-- Community Feed -->
120
- <div class="mx-4 mt-6">
121
- <div class="flex justify-between items-center mb-3">
122
- <h2 class="font-bold text-gray-800">Community Stories</h2>
123
- <button class="text-blue-500 text-sm">See All</button>
124
- </div>
125
-
126
- <!-- Story Cards -->
127
- <div class="space-y-3">
128
- <!-- Story 1 -->
129
- <div class="bg-white p-4 rounded-lg shadow">
130
- <div class="flex items-center space-x-3">
131
- <div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center">
132
- <i class="fas fa-user text-blue-500"></i>
133
  </div>
134
  <div>
135
- <h3 class="font-medium">James, 32</h3>
136
- <p class="text-xs text-gray-500">2 hours ago</p>
137
  </div>
138
  </div>
139
- <p class="mt-3 text-gray-700">"After my divorce, I felt completely alone. This community helped me realize I wasn't the only one going through this. Talking to other guys saved me."</p>
140
- <div class="flex justify-between mt-3">
141
- <button class="text-gray-500 flex items-center space-x-1">
142
- <i class="far fa-heart"></i>
143
- <span>24</span>
144
- </button>
145
- <button class="text-blue-500">Reply</button>
 
 
 
146
  </div>
147
  </div>
148
-
149
- <!-- Story 2 -->
150
- <div class="bg-white p-4 rounded-lg shadow">
151
- <div class="flex items-center space-x-3">
152
- <div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center">
153
- <i class="fas fa-user text-green-500"></i>
154
  </div>
155
  <div>
156
- <h3 class="font-medium">Mike, 28</h3>
157
- <p class="text-xs text-gray-500">5 hours ago</p>
158
  </div>
159
  </div>
160
- <p class="mt-3 text-gray-700">"Dealing with anxiety for years but never talked about it because 'men don't do that'. Found my tribe here and finally getting the help I need."</p>
161
- <div class="flex justify-between mt-3">
162
- <button class="text-gray-500 flex items-center space-x-1">
163
- <i class="far fa-heart"></i>
164
- <span>42</span>
165
- </button>
166
- <button class="text-blue-500">Reply</button>
 
 
 
167
  </div>
168
  </div>
169
  </div>
170
  </div>
171
 
172
- <!-- Resources Section -->
173
- <div class="mx-4 mt-6">
174
- <h2 class="font-bold text-gray-800 mb-3">Resources</h2>
175
- <div class="grid grid-cols-2 gap-3">
176
- <div class="bg-blue-50 p-3 rounded-lg">
177
- <div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center mb-2">
178
- <i class="fas fa-book text-blue-500"></i>
179
  </div>
180
- <h3 class="font-medium text-sm">Guides</h3>
181
- <p class="text-xs text-gray-600">Practical advice</p>
182
- </div>
183
- <div class="bg-green-50 p-3 rounded-lg">
184
- <div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mb-2">
185
- <i class="fas fa-headphones text-green-500"></i>
186
  </div>
187
- <h3 class="font-medium text-sm">Podcasts</h3>
188
- <p class="text-xs text-gray-600">Listen & learn</p>
 
189
  </div>
190
- <div class="bg-purple-50 p-3 rounded-lg">
191
- <div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mb-2">
192
- <i class="fas fa-users text-purple-500"></i>
193
  </div>
194
- <h3 class="font-medium text-sm">Groups</h3>
195
- <p class="text-xs text-gray-600">Find your tribe</p>
196
- </div>
197
- <div class="bg-orange-50 p-3 rounded-lg">
198
- <div class="w-10 h-10 bg-orange-100 rounded-full flex items-center justify-center mb-2">
199
- <i class="fas fa-hand-holding-heart text-orange-500"></i>
200
  </div>
201
- <h3 class="font-medium text-sm">Therapists</h3>
202
- <p class="text-xs text-gray-600">Professional help</p>
 
203
  </div>
204
  </div>
205
  </div>
206
- </main>
 
207
 
208
- <!-- Bottom Navigation -->
209
- <nav class="fixed bottom-0 w-full max-w-md bg-white border-t border-gray-200 flex justify-around py-3">
210
- <button class="text-blue-500 flex flex-col items-center">
211
- <i class="fas fa-home text-xl"></i>
212
- <span class="text-xs mt-1">Home</span>
213
- </button>
214
- <button class="text-gray-500 flex flex-col items-center">
215
- <i class="fas fa-comments text-xl"></i>
216
- <span class="text-xs mt-1">Chat</span>
217
- </button>
218
- <button class="text-gray-500 flex flex-col items-center">
219
- <i class="fas fa-calendar-alt text-xl"></i>
220
- <span class="text-xs mt-1">Events</span>
221
- </button>
222
- <button class="text-gray-500 flex flex-col items-center">
223
- <i class="fas fa-cog text-xl"></i>
224
- <span class="text-xs mt-1">Settings</span>
225
- </button>
226
- </nav>
227
 
228
- <!-- New Post Floating Button -->
229
- <button class="fixed bottom-20 right-4 w-14 h-14 bg-blue-500 text-white rounded-full shadow-lg flex items-center justify-center">
230
- <i class="fas fa-plus text-2xl"></i>
 
 
 
 
 
 
 
 
 
 
231
  </button>
232
- </div>
 
 
 
 
233
 
234
  <script>
235
- // Mood selection functionality
236
- const moodOptions = document.querySelectorAll('.mood-option button');
237
- moodOptions.forEach(option => {
238
- option.addEventListener('click', function() {
239
- // Remove active state from all options
240
- moodOptions.forEach(opt => {
241
- opt.classList.remove('ring-2', 'ring-offset-2');
242
- const icon = opt.querySelector('i');
243
- icon.classList.remove('text-2xl');
244
- icon.classList.add('text-xl');
245
- });
246
-
247
- // Add active state to clicked option
248
- this.classList.add('ring-2', 'ring-offset-2');
249
- const icon = this.querySelector('i');
250
- icon.classList.remove('text-xl');
251
- icon.classList.add('text-2xl');
252
-
253
- // You could add additional logic here to track the selected mood
254
- });
255
  });
256
 
257
- // Like button functionality
258
- const likeButtons = document.querySelectorAll('.fa-heart');
259
- likeButtons.forEach(button => {
260
- button.addEventListener('click', function() {
261
- if (this.classList.contains('far')) {
262
- this.classList.remove('far');
263
- this.classList.add('fas', 'text-red-500');
264
- } else {
265
- this.classList.remove('fas', 'text-red-500');
266
- this.classList.add('far');
267
- }
268
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
269
  });
270
 
271
- // Urgent help button
272
- const urgentHelpBtn = document.querySelector('.pulse');
273
- urgentHelpBtn.addEventListener('click', function() {
274
- alert('Connecting you with a peer supporter now...');
275
- // In a real app, this would initiate a chat with a trained supporter
276
  });
277
 
278
- // New post button
279
- const newPostBtn = document.querySelector('.fixed.bottom-20');
280
- newPostBtn.addEventListener('click', function() {
281
- // This would open a modal for creating a new post
282
- alert('Create a new post to share with the community');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
283
  });
284
  </script>
285
  <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=toppshutter/the-yard" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>BroTalk - Men's Mental Health Support</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
  <style>
10
+ /* Custom CSS for Android-like feel */
11
+ .android-header {
12
+ height: 56px;
13
+ box-shadow: 0 2px 4px rgba(0,0,0,0.1);
14
  }
15
+ .message-bubble {
16
+ max-width: 75%;
17
+ border-radius: 18px;
18
+ padding: 12px 16px;
19
+ margin-bottom: 8px;
20
  }
21
+ .received {
22
+ background-color: #f1f1f1;
23
+ border-bottom-left-radius: 4px;
24
  }
25
+ .sent {
26
+ background-color: #0078ff;
27
+ color: white;
28
+ border-bottom-right-radius: 4px;
29
+ margin-left: auto;
30
  }
31
+ .tab-active {
32
+ color: #0078ff;
33
+ border-bottom: 3px solid #0078ff;
34
  }
35
+ .fab-button {
36
+ position: fixed;
37
+ bottom: 80px;
38
+ right: 24px;
39
+ width: 56px;
40
+ height: 56px;
41
+ border-radius: 28px;
42
+ box-shadow: 0 4px 8px rgba(0,0,0,0.2);
43
+ }
44
+ .emoji-picker {
45
+ position: absolute;
46
+ bottom: 60px;
47
+ right: 0;
48
+ width: 300px;
49
+ height: 300px;
50
+ overflow-y: scroll;
51
+ background: white;
52
+ border-radius: 8px;
53
+ box-shadow: 0 4px 12px rgba(0,0,0,0.15);
54
+ display: none;
55
  }
56
+ .resource-card {
57
+ transition: all 0.3s ease;
58
  }
59
+ .resource-card:hover {
60
+ transform: translateY(-4px);
61
+ box-shadow: 0 6px 12px rgba(0,0,0,0.15);
62
  }
63
  </style>
64
  </head>
65
+ <body class="bg-gray-100 font-sans antialiased">
66
+ <!-- Android-like header -->
67
+ <header class="android-header bg-white flex items-center px-4 fixed top-0 left-0 right-0 z-10">
68
+ <button class="mr-4 text-gray-600">
69
+ <i class="fas fa-bars text-xl"></i>
70
+ </button>
71
+ <h1 class="text-xl font-bold text-gray-800 flex-1">BroTalk</h1>
72
+ <button class="ml-4 text-gray-600">
73
+ <i class="fas fa-search text-xl"></i>
74
+ </button>
75
+ </header>
76
+
77
+ <!-- Main content area -->
78
+ <main class="pt-16 pb-20">
79
+ <!-- Tab navigation -->
80
+ <div class="flex border-b bg-white">
81
+ <button id="chat-tab" class="flex-1 py-3 font-medium text-center tab-active">
82
+ <i class="fas fa-comments mr-2"></i> Chats
83
+ </button>
84
+ <button id="groups-tab" class="flex-1 py-3 font-medium text-center text-gray-500">
85
+ <i class="fas fa-users mr-2"></i> Groups
86
+ </button>
87
+ <button id="resources-tab" class="flex-1 py-3 font-medium text-center text-gray-500">
88
+ <i class="fas fa-book mr-2"></i> Resources
89
+ </button>
90
+ </div>
91
+
92
+ <!-- Chat tab content -->
93
+ <div id="chat-content" class="p-4">
94
+ <!-- Recent chats list -->
95
+ <div class="mb-6">
96
+ <h2 class="text-lg font-semibold text-gray-700 mb-3">Recent Conversations</h2>
97
+ <div class="bg-white rounded-xl shadow-sm overflow-hidden">
98
+ <div class="flex items-center p-3 border-b border-gray-100 hover:bg-gray-50 cursor-pointer">
99
+ <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-3">
100
+ <i class="fas fa-user text-blue-500 text-xl"></i>
101
+ </div>
102
+ <div class="flex-1">
103
+ <h3 class="font-medium">Alex M.</h3>
104
+ <p class="text-sm text-gray-500 truncate">Hey man, thanks for listening yesterday...</p>
105
+ </div>
106
+ <div class="text-xs text-gray-400">2h ago</div>
107
+ </div>
108
+ <div class="flex items-center p-3 border-b border-gray-100 hover:bg-gray-50 cursor-pointer">
109
+ <div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mr-3">
110
+ <i class="fas fa-user text-green-500 text-xl"></i>
111
+ </div>
112
+ <div class="flex-1">
113
+ <h3 class="font-medium">Support Group</h3>
114
+ <p class="text-sm text-gray-500 truncate">Jamie: Has anyone tried mindfulness for...</p>
115
+ </div>
116
+ <div class="text-xs text-gray-400">1d ago</div>
117
+ </div>
118
+ <div class="flex items-center p-3 hover:bg-gray-50 cursor-pointer">
119
+ <div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center mr-3">
120
+ <i class="fas fa-user text-purple-500 text-xl"></i>
121
+ </div>
122
+ <div class="flex-1">
123
+ <h3 class="font-medium">Marcus T.</h3>
124
+ <p class="text-sm text-gray-500 truncate">I think I need to talk to someone about...</p>
125
+ </div>
126
+ <div class="text-xs text-gray-400">3d ago</div>
127
+ </div>
128
+ </div>
129
  </div>
 
130
 
131
+ <!-- Active chat (simulated) -->
132
+ <div class="bg-white rounded-xl shadow-sm p-4">
133
+ <div class="flex items-center mb-4 pb-2 border-b border-gray-100">
134
+ <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-3">
135
+ <i class="fas fa-user text-blue-500"></i>
 
 
 
136
  </div>
137
+ <h3 class="font-medium">Alex M.</h3>
138
+ <div class="ml-auto flex space-x-2">
139
+ <button class="text-gray-400 hover:text-gray-600">
140
+ <i class="fas fa-phone"></i>
141
+ </button>
142
+ <button class="text-gray-400 hover:text-gray-600">
143
+ <i class="fas fa-video"></i>
144
+ </button>
145
+ </div>
146
+ </div>
147
+
148
+ <!-- Chat messages -->
149
+ <div class="space-y-2 mb-4 h-64 overflow-y-auto">
150
+ <div class="message-bubble received">
151
+ <p>Hey man, I've been feeling really down lately. Work stress is getting to me.</p>
152
+ <p class="text-xs text-gray-500 mt-1">10:24 AM</p>
153
+ </div>
154
+ <div class="message-bubble sent">
155
+ <p>I hear you. Work can be overwhelming sometimes. Want to talk about what's specifically bothering you?</p>
156
+ <p class="text-xs text-gray-300 mt-1">10:26 AM</p>
157
+ </div>
158
+ <div class="message-bubble received">
159
+ <p>It's just this constant pressure to perform. I feel like I'm failing as a provider.</p>
160
+ <p class="text-xs text-gray-500 mt-1">10:27 AM</p>
161
+ </div>
162
+ <div class="message-bubble sent">
163
+ <p>That's a heavy burden to carry alone. Remember, your worth isn't just about providing. Have you considered talking to a therapist?</p>
164
+ <p class="text-xs text-gray-300 mt-1">10:29 AM</p>
165
+ </div>
166
+ </div>
167
+
168
+ <!-- Message input -->
169
+ <div class="flex items-center border-t border-gray-200 pt-3 relative">
170
+ <button id="emoji-btn" class="text-gray-400 hover:text-gray-600 mr-2">
171
+ <i class="far fa-smile text-xl"></i>
172
+ </button>
173
+ <input type="text" placeholder="Type a message..." class="flex-1 border border-gray-300 rounded-full py-2 px-4 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent">
174
+ <button class="ml-2 bg-blue-500 text-white rounded-full p-2 w-10 h-10 flex items-center justify-center">
175
+ <i class="fas fa-paper-plane"></i>
176
  </button>
177
+
178
+ <!-- Emoji picker (hidden by default) -->
179
+ <div id="emoji-picker" class="emoji-picker">
180
+ <div class="p-3 grid grid-cols-6 gap-2">
181
+ <span class="text-2xl cursor-pointer hover:bg-gray-100 rounded p-1">😊</span>
182
+ <span class="text-2xl cursor-pointer hover:bg-gray-100 rounded p-1">😢</span>
183
+ <span class="text-2xl cursor-pointer hover:bg-gray-100 rounded p-1">😡</span>
184
+ <span class="text-2xl cursor-pointer hover:bg-gray-100 rounded p-1">😎</span>
185
+ <span class="text-2xl cursor-pointer hover:bg-gray-100 rounded p-1">👍</span>
186
+ <span class="text-2xl cursor-pointer hover:bg-gray-100 rounded p-1">❤️</span>
187
+ <span class="text-2xl cursor-pointer hover:bg-gray-100 rounded p-1">🤔</span>
188
+ <span class="text-2xl cursor-pointer hover:bg-gray-100 rounded p-1">😴</span>
189
+ <span class="text-2xl cursor-pointer hover:bg-gray-100 rounded p-1">🙏</span>
190
+ <span class="text-2xl cursor-pointer hover:bg-gray-100 rounded p-1">💪</span>
191
+ <span class="text-2xl cursor-pointer hover:bg-gray-100 rounded p-1">😅</span>
192
+ <span class="text-2xl cursor-pointer hover:bg-gray-100 rounded p-1">🤗</span>
193
+ </div>
194
+ </div>
195
  </div>
196
  </div>
197
+ </div>
198
 
199
+ <!-- Groups tab content (hidden by default) -->
200
+ <div id="groups-content" class="p-4 hidden">
201
+ <div class="mb-6">
202
+ <h2 class="text-lg font-semibold text-gray-700 mb-3">Your Support Groups</h2>
203
+ <div class="grid grid-cols-1 gap-3">
204
+ <div class="bg-white rounded-xl shadow-sm p-4 flex items-center">
205
+ <div class="w-14 h-14 rounded-full bg-blue-50 flex items-center justify-center mr-3">
206
+ <i class="fas fa-users text-blue-500 text-xl"></i>
207
+ </div>
208
+ <div class="flex-1">
209
+ <h3 class="font-medium">Anxiety Support</h3>
210
+ <p class="text-sm text-gray-500">12 members • Last active: 2h ago</p>
211
+ </div>
212
+ <button class="text-blue-500">
213
+ <i class="fas fa-chevron-right"></i>
214
  </button>
 
215
  </div>
216
+ <div class="bg-white rounded-xl shadow-sm p-4 flex items-center">
217
+ <div class="w-14 h-14 rounded-full bg-green-50 flex items-center justify-center mr-3">
218
+ <i class="fas fa-users text-green-500 text-xl"></i>
219
+ </div>
220
+ <div class="flex-1">
221
+ <h3 class="font-medium">Fatherhood & Stress</h3>
222
+ <p class="text-sm text-gray-500">8 members • Last active: 1d ago</p>
223
+ </div>
224
+ <button class="text-blue-500">
225
+ <i class="fas fa-chevron-right"></i>
226
  </button>
 
227
  </div>
228
+ <div class="bg-white rounded-xl shadow-sm p-4 flex items-center">
229
+ <div class="w-14 h-14 rounded-full bg-purple-50 flex items-center justify-center mr-3">
230
+ <i class="fas fa-users text-purple-500 text-xl"></i>
231
+ </div>
232
+ <div class="flex-1">
233
+ <h3 class="font-medium">Work-Life Balance</h3>
234
+ <p class="text-sm text-gray-500">15 members • Last active: 3h ago</p>
235
+ </div>
236
+ <button class="text-blue-500">
237
+ <i class="fas fa-chevron-right"></i>
238
  </button>
 
239
  </div>
240
+ </div>
241
+ </div>
242
+
243
+ <div>
244
+ <h2 class="text-lg font-semibold text-gray-700 mb-3">Suggested Groups</h2>
245
+ <div class="grid grid-cols-1 gap-3">
246
+ <div class="bg-white rounded-xl shadow-sm p-4 flex items-center">
247
+ <div class="w-14 h-14 rounded-full bg-yellow-50 flex items-center justify-center mr-3">
248
+ <i class="fas fa-users text-yellow-500 text-xl"></i>
249
+ </div>
250
+ <div class="flex-1">
251
+ <h3 class="font-medium">Men's Depression</h3>
252
+ <p class="text-sm text-gray-500">24 members • Join to share experiences</p>
253
+ </div>
254
+ <button class="bg-blue-500 text-white px-3 py-1 rounded-full text-sm">
255
+ Join
256
  </button>
 
257
  </div>
258
+ <div class="bg-white rounded-xl shadow-sm p-4 flex items-center">
259
+ <div class="w-14 h-14 rounded-full bg-red-50 flex items-center justify-center mr-3">
260
+ <i class="fas fa-users text-red-500 text-xl"></i>
261
+ </div>
262
+ <div class="flex-1">
263
+ <h3 class="font-medium">Anger Management</h3>
264
+ <p class="text-sm text-gray-500">18 members • Learn healthy coping</p>
265
+ </div>
266
+ <button class="bg-blue-500 text-white px-3 py-1 rounded-full text-sm">
267
+ Join
268
  </button>
 
269
  </div>
270
  </div>
 
 
 
 
271
  </div>
272
+ </div>
273
 
274
+ <!-- Resources tab content (hidden by default) -->
275
+ <div id="resources-content" class="p-4 hidden">
276
+ <div class="mb-6">
277
+ <h2 class="text-lg font-semibold text-gray-700 mb-3">Mental Health Resources</h2>
278
+ <div class="grid grid-cols-1 gap-4">
279
+ <div class="resource-card bg-white rounded-xl shadow-sm p-4 cursor-pointer">
280
+ <div class="flex items-start">
281
+ <div class="w-12 h-12 rounded-full bg-blue-50 flex items-center justify-center mr-3">
282
+ <i class="fas fa-head-side-virus text-blue-500 text-xl"></i>
 
 
 
 
 
283
  </div>
284
  <div>
285
+ <h3 class="font-medium">Understanding Depression in Men</h3>
286
+ <p class="text-sm text-gray-500 mt-1">Learn about the signs and symptoms that often manifest differently in men.</p>
287
  </div>
288
  </div>
289
+ </div>
290
+ <div class="resource-card bg-white rounded-xl shadow-sm p-4 cursor-pointer">
291
+ <div class="flex items-start">
292
+ <div class="w-12 h-12 rounded-full bg-green-50 flex items-center justify-center mr-3">
293
+ <i class="fas fa-hands-helping text-green-500 text-xl"></i>
294
+ </div>
295
+ <div>
296
+ <h3 class="font-medium">Finding a Therapist</h3>
297
+ <p class="text-sm text-gray-500 mt-1">A guide to finding mental health professionals who specialize in men's issues.</p>
298
+ </div>
299
  </div>
300
  </div>
301
+ <div class="resource-card bg-white rounded-xl shadow-sm p-4 cursor-pointer">
302
+ <div class="flex items-start">
303
+ <div class="w-12 h-12 rounded-full bg-purple-50 flex items-center justify-center mr-3">
304
+ <i class="fas fa-brain text-purple-500 text-xl"></i>
 
 
305
  </div>
306
  <div>
307
+ <h3 class="font-medium">Mindfulness Techniques</h3>
308
+ <p class="text-sm text-gray-500 mt-1">Simple exercises to help manage stress and anxiety in daily life.</p>
309
  </div>
310
  </div>
311
+ </div>
312
+ <div class="resource-card bg-white rounded-xl shadow-sm p-4 cursor-pointer">
313
+ <div class="flex items-start">
314
+ <div class="w-12 h-12 rounded-full bg-yellow-50 flex items-center justify-center mr-3">
315
+ <i class="fas fa-dumbbell text-yellow-500 text-xl"></i>
316
+ </div>
317
+ <div>
318
+ <h3 class="font-medium">Exercise & Mental Health</h3>
319
+ <p class="text-sm text-gray-500 mt-1">How physical activity can significantly improve your mental wellbeing.</p>
320
+ </div>
321
  </div>
322
  </div>
323
  </div>
324
  </div>
325
 
326
+ <div>
327
+ <h2 class="text-lg font-semibold text-gray-700 mb-3">Emergency Contacts</h2>
328
+ <div class="bg-white rounded-xl shadow-sm overflow-hidden">
329
+ <div class="p-4 border-b border-gray-100 flex items-center">
330
+ <div class="w-10 h-10 rounded-full bg-red-100 flex items-center justify-center mr-3">
331
+ <i class="fas fa-phone-alt text-red-500"></i>
 
332
  </div>
333
+ <div class="flex-1">
334
+ <h3 class="font-medium">Suicide Prevention Lifeline</h3>
335
+ <p class="text-sm text-gray-500">Call 988 for immediate help</p>
 
 
 
336
  </div>
337
+ <button class="text-blue-500">
338
+ <i class="fas fa-chevron-right"></i>
339
+ </button>
340
  </div>
341
+ <div class="p-4 flex items-center">
342
+ <div class="w-10 h-10 rounded-full bg-orange-100 flex items-center justify-center mr-3">
343
+ <i class="fas fa-comment-medical text-orange-500"></i>
344
  </div>
345
+ <div class="flex-1">
346
+ <h3 class="font-medium">Crisis Text Line</h3>
347
+ <p class="text-sm text-gray-500">Text HOME to 741741</p>
 
 
 
348
  </div>
349
+ <button class="text-blue-500">
350
+ <i class="fas fa-chevron-right"></i>
351
+ </button>
352
  </div>
353
  </div>
354
  </div>
355
+ </div>
356
+ </main>
357
 
358
+ <!-- Floating action button -->
359
+ <button class="fab-button bg-blue-500 text-white flex items-center justify-center">
360
+ <i class="fas fa-plus text-xl"></i>
361
+ </button>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
362
 
363
+ <!-- Bottom navigation -->
364
+ <nav class="fixed bottom-0 left-0 right-0 bg-white shadow-lg flex justify-around py-2">
365
+ <button class="flex flex-col items-center text-blue-500">
366
+ <i class="fas fa-home text-xl"></i>
367
+ <span class="text-xs mt-1">Home</span>
368
+ </button>
369
+ <button class="flex flex-col items-center text-gray-500">
370
+ <i class="fas fa-comment-medical text-xl"></i>
371
+ <span class="text-xs mt-1">Therapists</span>
372
+ </button>
373
+ <button class="flex flex-col items-center text-gray-500">
374
+ <i class="fas fa-calendar-alt text-xl"></i>
375
+ <span class="text-xs mt-1">Schedule</span>
376
  </button>
377
+ <button class="flex flex-col items-center text-gray-500">
378
+ <i class="fas fa-user text-xl"></i>
379
+ <span class="text-xs mt-1">Profile</span>
380
+ </button>
381
+ </nav>
382
 
383
  <script>
384
+ // Tab switching functionality
385
+ document.getElementById('chat-tab').addEventListener('click', function() {
386
+ this.classList.add('tab-active');
387
+ this.classList.remove('text-gray-500');
388
+ document.getElementById('groups-tab').classList.remove('tab-active');
389
+ document.getElementById('groups-tab').classList.add('text-gray-500');
390
+ document.getElementById('resources-tab').classList.remove('tab-active');
391
+ document.getElementById('resources-tab').classList.add('text-gray-500');
392
+
393
+ document.getElementById('chat-content').classList.remove('hidden');
394
+ document.getElementById('groups-content').classList.add('hidden');
395
+ document.getElementById('resources-content').classList.add('hidden');
 
 
 
 
 
 
 
 
396
  });
397
 
398
+ document.getElementById('groups-tab').addEventListener('click', function() {
399
+ this.classList.add('tab-active');
400
+ this.classList.remove('text-gray-500');
401
+ document.getElementById('chat-tab').classList.remove('tab-active');
402
+ document.getElementById('chat-tab').classList.add('text-gray-500');
403
+ document.getElementById('resources-tab').classList.remove('tab-active');
404
+ document.getElementById('resources-tab').classList.add('text-gray-500');
405
+
406
+ document.getElementById('chat-content').classList.add('hidden');
407
+ document.getElementById('groups-content').classList.remove('hidden');
408
+ document.getElementById('resources-content').classList.add('hidden');
409
+ });
410
+
411
+ document.getElementById('resources-tab').addEventListener('click', function() {
412
+ this.classList.add('tab-active');
413
+ this.classList.remove('text-gray-500');
414
+ document.getElementById('chat-tab').classList.remove('tab-active');
415
+ document.getElementById('chat-tab').classList.add('text-gray-500');
416
+ document.getElementById('groups-tab').classList.remove('tab-active');
417
+ document.getElementById('groups-tab').classList.add('text-gray-500');
418
+
419
+ document.getElementById('chat-content').classList.add('hidden');
420
+ document.getElementById('groups-content').classList.add('hidden');
421
+ document.getElementById('resources-content').classList.remove('hidden');
422
+ });
423
+
424
+ // Emoji picker functionality
425
+ const emojiBtn = document.getElementById('emoji-btn');
426
+ const emojiPicker = document.getElementById('emoji-picker');
427
+
428
+ emojiBtn.addEventListener('click', function() {
429
+ if (emojiPicker.style.display === 'block') {
430
+ emojiPicker.style.display = 'none';
431
+ } else {
432
+ emojiPicker.style.display = 'block';
433
+ }
434
  });
435
 
436
+ // Close emoji picker when clicking outside
437
+ document.addEventListener('click', function(event) {
438
+ if (!emojiBtn.contains(event.target) && !emojiPicker.contains(event.target)) {
439
+ emojiPicker.style.display = 'none';
440
+ }
441
  });
442
 
443
+ // Add emoji to input when clicked
444
+ const emojis = document.querySelectorAll('#emoji-picker span');
445
+ const messageInput = document.querySelector('input[type="text"]');
446
+
447
+ emojis.forEach(emoji => {
448
+ emoji.addEventListener('click', function() {
449
+ messageInput.value += this.textContent;
450
+ messageInput.focus();
451
+ });
452
+ });
453
+
454
+ // Resource card hover effect
455
+ const resourceCards = document.querySelectorAll('.resource-card');
456
+ resourceCards.forEach(card => {
457
+ card.addEventListener('mouseenter', function() {
458
+ this.style.transform = 'translateY(-4px)';
459
+ this.style.boxShadow = '0 6px 12px rgba(0,0,0,0.15)';
460
+ });
461
+ card.addEventListener('mouseleave', function() {
462
+ this.style.transform = '';
463
+ this.style.boxShadow = '';
464
+ });
465
  });
466
  </script>
467
  <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=toppshutter/the-yard" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
prompts.txt CHANGED
@@ -0,0 +1 @@
 
 
1
+ Create an android app where men can communicate with each regarding mental health issues.