Spaces:
Running
Running
Add 2 files
Browse files- index.html +392 -210
- 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>
|
| 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
|
| 11 |
-
|
| 12 |
-
|
|
|
|
| 13 |
}
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
| 16 |
}
|
| 17 |
-
|
| 18 |
-
background: #
|
| 19 |
-
border-radius:
|
| 20 |
}
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
}
|
| 27 |
-
.
|
| 28 |
-
|
|
|
|
| 29 |
}
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
}
|
| 34 |
-
.
|
| 35 |
-
|
| 36 |
}
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
}
|
| 41 |
</style>
|
| 42 |
</head>
|
| 43 |
-
<body class="bg-gray-100 font-sans">
|
| 44 |
-
<!--
|
| 45 |
-
<
|
| 46 |
-
<
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
</
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
</div>
|
| 60 |
-
</header>
|
| 61 |
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 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 |
-
<
|
| 72 |
-
|
| 73 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
</div>
|
| 76 |
</div>
|
|
|
|
| 77 |
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
<
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
</button>
|
| 86 |
-
<p class="text-xs mt-1">Great</p>
|
| 87 |
</div>
|
| 88 |
-
<div class="
|
| 89 |
-
<
|
| 90 |
-
<i class="fas fa-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
</button>
|
| 92 |
-
<p class="text-xs mt-1">Good</p>
|
| 93 |
</div>
|
| 94 |
-
<div class="
|
| 95 |
-
<
|
| 96 |
-
<i class="fas fa-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
</button>
|
| 98 |
-
<p class="text-xs mt-1">Okay</p>
|
| 99 |
</div>
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
</button>
|
| 104 |
-
<p class="text-xs mt-1">Struggling</p>
|
| 105 |
</div>
|
| 106 |
-
<div class="
|
| 107 |
-
<
|
| 108 |
-
<i class="fas fa-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 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">
|
| 136 |
-
<p class="text-
|
| 137 |
</div>
|
| 138 |
</div>
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
<
|
| 144 |
-
</
|
| 145 |
-
<
|
|
|
|
|
|
|
|
|
|
| 146 |
</div>
|
| 147 |
</div>
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 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">
|
| 157 |
-
<p class="text-
|
| 158 |
</div>
|
| 159 |
</div>
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
<
|
| 165 |
-
</
|
| 166 |
-
<
|
|
|
|
|
|
|
|
|
|
| 167 |
</div>
|
| 168 |
</div>
|
| 169 |
</div>
|
| 170 |
</div>
|
| 171 |
|
| 172 |
-
<
|
| 173 |
-
|
| 174 |
-
<
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
<i class="fas fa-book text-blue-500"></i>
|
| 179 |
</div>
|
| 180 |
-
<
|
| 181 |
-
|
| 182 |
-
|
| 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 |
-
<
|
| 188 |
-
|
|
|
|
| 189 |
</div>
|
| 190 |
-
<div class="
|
| 191 |
-
<div class="w-10 h-10 bg-
|
| 192 |
-
<i class="fas fa-
|
| 193 |
</div>
|
| 194 |
-
<
|
| 195 |
-
|
| 196 |
-
|
| 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 |
-
<
|
| 202 |
-
|
|
|
|
| 203 |
</div>
|
| 204 |
</div>
|
| 205 |
</div>
|
| 206 |
-
</
|
|
|
|
| 207 |
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 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 |
-
|
| 229 |
-
|
| 230 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 231 |
</button>
|
| 232 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 233 |
|
| 234 |
<script>
|
| 235 |
-
//
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 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 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 269 |
});
|
| 270 |
|
| 271 |
-
//
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
});
|
| 277 |
|
| 278 |
-
//
|
| 279 |
-
const
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.
|