Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +1501 -19
- prompts.txt +2 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: fertility
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: yellow
|
| 5 |
+
colorTo: red
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,1501 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>IVF Companion - Your Fertility Journey 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 |
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
| 11 |
+
|
| 12 |
+
:root {
|
| 13 |
+
--lavender: #E2D4F3;
|
| 14 |
+
--blush: #F8D7DA;
|
| 15 |
+
--mint: #D1E7DD;
|
| 16 |
+
--soft-blue: #D4E4F7;
|
| 17 |
+
--peach: #FFE8D6;
|
| 18 |
+
--theme-color: #9C7ADE;
|
| 19 |
+
--theme-dark: #7B5DBF;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
body {
|
| 23 |
+
font-family: 'Poppins', sans-serif;
|
| 24 |
+
background-color: #fafafa;
|
| 25 |
+
color: #333;
|
| 26 |
+
transition: all 0.3s ease;
|
| 27 |
+
overflow-x: hidden;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
/* Animations */
|
| 31 |
+
@keyframes float {
|
| 32 |
+
0% { transform: translateY(0px); }
|
| 33 |
+
50% { transform: translateY(-10px); }
|
| 34 |
+
100% { transform: translateY(0px); }
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
@keyframes pulse {
|
| 38 |
+
0% { transform: scale(1); }
|
| 39 |
+
50% { transform: scale(1.05); }
|
| 40 |
+
100% { transform: scale(1); }
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
@keyframes fadeIn {
|
| 44 |
+
from { opacity: 0; transform: translateY(10px); }
|
| 45 |
+
to { opacity: 1; transform: translateY(0); }
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
@keyframes heartBeat {
|
| 49 |
+
0% { transform: scale(1); }
|
| 50 |
+
14% { transform: scale(1.3); }
|
| 51 |
+
28% { transform: scale(1); }
|
| 52 |
+
42% { transform: scale(1.3); }
|
| 53 |
+
70% { transform: scale(1); }
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
@keyframes confetti {
|
| 57 |
+
0% { transform: translateY(0) rotate(0deg); opacity: 1; }
|
| 58 |
+
100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
@keyframes slideIn {
|
| 62 |
+
from { transform: translateX(100%); }
|
| 63 |
+
to { transform: translateX(0); }
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
@keyframes slideUp {
|
| 67 |
+
from { transform: translateY(100%); }
|
| 68 |
+
to { transform: translateY(0); }
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
@keyframes bloom {
|
| 72 |
+
0% { transform: scale(0.5); opacity: 0; }
|
| 73 |
+
100% { transform: scale(1); opacity: 1; }
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
@keyframes orbit {
|
| 77 |
+
0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
|
| 78 |
+
100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
.floating {
|
| 82 |
+
animation: float 6s ease-in-out infinite;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.pulse {
|
| 86 |
+
animation: pulse 2s ease-in-out infinite;
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
.fade-in {
|
| 90 |
+
animation: fadeIn 0.5s ease-in forwards;
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
.heart-beat {
|
| 94 |
+
animation: heartBeat 1.3s ease-in-out;
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
.confetti {
|
| 98 |
+
position: absolute;
|
| 99 |
+
width: 10px;
|
| 100 |
+
height: 10px;
|
| 101 |
+
background-color: #f00;
|
| 102 |
+
opacity: 0;
|
| 103 |
+
animation: confetti 3s linear forwards;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.slide-up {
|
| 107 |
+
animation: slideUp 0.5s ease-out forwards;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
.bloom {
|
| 111 |
+
animation: bloom 1s ease-out forwards;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
/* Onboarding */
|
| 115 |
+
.onboarding-screen {
|
| 116 |
+
position: fixed;
|
| 117 |
+
top: 0;
|
| 118 |
+
left: 0;
|
| 119 |
+
width: 100%;
|
| 120 |
+
height: 100%;
|
| 121 |
+
background-color: white;
|
| 122 |
+
z-index: 9998;
|
| 123 |
+
display: flex;
|
| 124 |
+
flex-direction: column;
|
| 125 |
+
justify-content: space-between;
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
.onboarding-slide {
|
| 129 |
+
flex: 1;
|
| 130 |
+
display: flex;
|
| 131 |
+
flex-direction: column;
|
| 132 |
+
justify-content: center;
|
| 133 |
+
align-items: center;
|
| 134 |
+
padding: 20px;
|
| 135 |
+
text-align: center;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
.onboarding-image {
|
| 139 |
+
width: 200px;
|
| 140 |
+
height: 200px;
|
| 141 |
+
margin-bottom: 30px;
|
| 142 |
+
background-color: var(--lavender);
|
| 143 |
+
border-radius: 20px;
|
| 144 |
+
display: flex;
|
| 145 |
+
justify-content: center;
|
| 146 |
+
align-items: center;
|
| 147 |
+
font-size: 3rem;
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
.onboarding-dots {
|
| 151 |
+
display: flex;
|
| 152 |
+
justify-content: center;
|
| 153 |
+
margin: 20px 0;
|
| 154 |
+
}
|
| 155 |
+
|
| 156 |
+
.onboarding-dot {
|
| 157 |
+
width: 10px;
|
| 158 |
+
height: 10px;
|
| 159 |
+
border-radius: 50%;
|
| 160 |
+
background-color: #ddd;
|
| 161 |
+
margin: 0 5px;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.onboarding-dot.active {
|
| 165 |
+
background-color: var(--theme-color);
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
/* Login/Signup */
|
| 169 |
+
.auth-screen {
|
| 170 |
+
position: fixed;
|
| 171 |
+
top: 0;
|
| 172 |
+
left: 0;
|
| 173 |
+
width: 100%;
|
| 174 |
+
height: 100%;
|
| 175 |
+
background-color: white;
|
| 176 |
+
z-index: 9997;
|
| 177 |
+
display: none;
|
| 178 |
+
flex-direction: column;
|
| 179 |
+
justify-content: center;
|
| 180 |
+
padding: 30px;
|
| 181 |
+
}
|
| 182 |
+
|
| 183 |
+
.theme-selector {
|
| 184 |
+
display: flex;
|
| 185 |
+
justify-content: space-between;
|
| 186 |
+
margin: 20px 0;
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
.theme-option {
|
| 190 |
+
width: 50px;
|
| 191 |
+
height: 50px;
|
| 192 |
+
border-radius: 50%;
|
| 193 |
+
cursor: pointer;
|
| 194 |
+
display: flex;
|
| 195 |
+
justify-content: center;
|
| 196 |
+
align-items: center;
|
| 197 |
+
font-size: 1.5rem;
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
.theme-option.selected {
|
| 201 |
+
transform: scale(1.1);
|
| 202 |
+
box-shadow: 0 0 0 3px white, 0 0 0 5px var(--theme-color);
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
+
/* Journey Tracker */
|
| 206 |
+
.journey-stage {
|
| 207 |
+
position: relative;
|
| 208 |
+
padding-left: 30px;
|
| 209 |
+
margin-bottom: 20px;
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
.journey-stage:before {
|
| 213 |
+
content: '';
|
| 214 |
+
position: absolute;
|
| 215 |
+
left: 0;
|
| 216 |
+
top: 0;
|
| 217 |
+
width: 20px;
|
| 218 |
+
height: 20px;
|
| 219 |
+
border-radius: 50%;
|
| 220 |
+
background-color: var(--lavender);
|
| 221 |
+
border: 4px solid white;
|
| 222 |
+
box-shadow: 0 0 0 2px var(--lavender);
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
.journey-stage.completed:before {
|
| 226 |
+
background-color: #4CAF50;
|
| 227 |
+
box-shadow: 0 0 0 2px #4CAF50;
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
.journey-stage.current:before {
|
| 231 |
+
background-color: var(--blush);
|
| 232 |
+
box-shadow: 0 0 0 2px var(--blush);
|
| 233 |
+
animation: pulse 2s infinite;
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
.journey-stage:after {
|
| 237 |
+
content: '';
|
| 238 |
+
position: absolute;
|
| 239 |
+
left: 9px;
|
| 240 |
+
top: 20px;
|
| 241 |
+
width: 2px;
|
| 242 |
+
height: calc(100% + 10px);
|
| 243 |
+
background-color: #e0e0e0;
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
+
.journey-stage:last-child:after {
|
| 247 |
+
display: none;
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
/* Stimulation Calendar */
|
| 251 |
+
.stimulation-day {
|
| 252 |
+
aspect-ratio: 1;
|
| 253 |
+
display: flex;
|
| 254 |
+
flex-direction: column;
|
| 255 |
+
align-items: center;
|
| 256 |
+
justify-content: center;
|
| 257 |
+
border-radius: 8px;
|
| 258 |
+
background-color: #f5f5f5;
|
| 259 |
+
font-size: 0.8rem;
|
| 260 |
+
position: relative;
|
| 261 |
+
transition: all 0.2s ease;
|
| 262 |
+
}
|
| 263 |
+
|
| 264 |
+
.stimulation-day.active {
|
| 265 |
+
background-color: var(--lavender);
|
| 266 |
+
font-weight: bold;
|
| 267 |
+
}
|
| 268 |
+
|
| 269 |
+
.stimulation-day.today {
|
| 270 |
+
box-shadow: 0 0 0 2px var(--blush);
|
| 271 |
+
transform: scale(1.1);
|
| 272 |
+
}
|
| 273 |
+
|
| 274 |
+
.stimulation-day.injection::after {
|
| 275 |
+
content: '💉';
|
| 276 |
+
position: absolute;
|
| 277 |
+
bottom: 2px;
|
| 278 |
+
font-size: 0.7rem;
|
| 279 |
+
}
|
| 280 |
+
|
| 281 |
+
.stimulation-day.scan::after {
|
| 282 |
+
content: '🩺';
|
| 283 |
+
position: absolute;
|
| 284 |
+
bottom: 2px;
|
| 285 |
+
font-size: 0.7rem;
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
/* Oocyte Visualization */
|
| 289 |
+
.oocyte-visualization {
|
| 290 |
+
display: flex;
|
| 291 |
+
flex-wrap: wrap;
|
| 292 |
+
justify-content: center;
|
| 293 |
+
gap: 10px;
|
| 294 |
+
margin: 20px 0;
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
.oocyte-item {
|
| 298 |
+
width: 40px;
|
| 299 |
+
height: 40px;
|
| 300 |
+
background-color: var(--peach);
|
| 301 |
+
border-radius: 50%;
|
| 302 |
+
display: flex;
|
| 303 |
+
align-items: center;
|
| 304 |
+
justify-content: center;
|
| 305 |
+
position: relative;
|
| 306 |
+
overflow: hidden;
|
| 307 |
+
}
|
| 308 |
+
|
| 309 |
+
.oocyte-item::before {
|
| 310 |
+
content: '';
|
| 311 |
+
position: absolute;
|
| 312 |
+
width: 30px;
|
| 313 |
+
height: 30px;
|
| 314 |
+
background-color: white;
|
| 315 |
+
border-radius: 50%;
|
| 316 |
+
opacity: 0.3;
|
| 317 |
+
}
|
| 318 |
+
|
| 319 |
+
.oocyte-item::after {
|
| 320 |
+
content: '';
|
| 321 |
+
position: absolute;
|
| 322 |
+
width: 15px;
|
| 323 |
+
height: 15px;
|
| 324 |
+
background-color: white;
|
| 325 |
+
border-radius: 50%;
|
| 326 |
+
opacity: 0.5;
|
| 327 |
+
top: 10px;
|
| 328 |
+
left: 10px;
|
| 329 |
+
}
|
| 330 |
+
|
| 331 |
+
/* Embryo Visualization */
|
| 332 |
+
.embryo-visualization {
|
| 333 |
+
display: flex;
|
| 334 |
+
flex-direction: column;
|
| 335 |
+
align-items: center;
|
| 336 |
+
margin: 20px 0;
|
| 337 |
+
}
|
| 338 |
+
|
| 339 |
+
.embryo-stage {
|
| 340 |
+
width: 100px;
|
| 341 |
+
height: 100px;
|
| 342 |
+
background-color: var(--mint);
|
| 343 |
+
border-radius: 50%;
|
| 344 |
+
display: flex;
|
| 345 |
+
align-items: center;
|
| 346 |
+
justify-content: center;
|
| 347 |
+
position: relative;
|
| 348 |
+
margin-bottom: 20px;
|
| 349 |
+
overflow: hidden;
|
| 350 |
+
}
|
| 351 |
+
|
| 352 |
+
.embryo-stage::before {
|
| 353 |
+
content: '';
|
| 354 |
+
position: absolute;
|
| 355 |
+
width: 80px;
|
| 356 |
+
height: 80px;
|
| 357 |
+
background-color: white;
|
| 358 |
+
border-radius: 50%;
|
| 359 |
+
opacity: 0.3;
|
| 360 |
+
}
|
| 361 |
+
|
| 362 |
+
.embryo-stage::after {
|
| 363 |
+
content: '';
|
| 364 |
+
position: absolute;
|
| 365 |
+
width: 40px;
|
| 366 |
+
height: 40px;
|
| 367 |
+
background-color: white;
|
| 368 |
+
border-radius: 50%;
|
| 369 |
+
opacity: 0.5;
|
| 370 |
+
top: 30px;
|
| 371 |
+
left: 30px;
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
/* Support Circle */
|
| 375 |
+
.support-orbit {
|
| 376 |
+
width: 200px;
|
| 377 |
+
height: 200px;
|
| 378 |
+
position: relative;
|
| 379 |
+
margin: 40px auto;
|
| 380 |
+
}
|
| 381 |
+
|
| 382 |
+
.support-person {
|
| 383 |
+
position: absolute;
|
| 384 |
+
width: 50px;
|
| 385 |
+
height: 50px;
|
| 386 |
+
border-radius: 50%;
|
| 387 |
+
background-color: white;
|
| 388 |
+
display: flex;
|
| 389 |
+
align-items: center;
|
| 390 |
+
justify-content: center;
|
| 391 |
+
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
|
| 392 |
+
animation: orbit 20s linear infinite;
|
| 393 |
+
transform-origin: center;
|
| 394 |
+
}
|
| 395 |
+
|
| 396 |
+
.support-person:nth-child(1) { animation-delay: 0s; }
|
| 397 |
+
.support-person:nth-child(2) { animation-delay: -4s; }
|
| 398 |
+
.support-person:nth-child(3) { animation-delay: -8s; }
|
| 399 |
+
.support-person:nth-child(4) { animation-delay: -12s; }
|
| 400 |
+
.support-person:nth-child(5) { animation-delay: -16s; }
|
| 401 |
+
|
| 402 |
+
/* Patient Stories */
|
| 403 |
+
.story-card {
|
| 404 |
+
background-color: white;
|
| 405 |
+
border-radius: 12px;
|
| 406 |
+
overflow: hidden;
|
| 407 |
+
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
|
| 408 |
+
margin-bottom: 15px;
|
| 409 |
+
transition: all 0.3s ease;
|
| 410 |
+
}
|
| 411 |
+
|
| 412 |
+
.story-card:hover {
|
| 413 |
+
transform: translateY(-5px);
|
| 414 |
+
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
|
| 415 |
+
}
|
| 416 |
+
|
| 417 |
+
.story-thumbnail {
|
| 418 |
+
height: 120px;
|
| 419 |
+
background-color: var(--lavender);
|
| 420 |
+
display: flex;
|
| 421 |
+
justify-content: center;
|
| 422 |
+
align-items: center;
|
| 423 |
+
font-size: 2rem;
|
| 424 |
+
color: white;
|
| 425 |
+
}
|
| 426 |
+
|
| 427 |
+
/* Learning Library */
|
| 428 |
+
.learning-card {
|
| 429 |
+
background-color: white;
|
| 430 |
+
border-radius: 12px;
|
| 431 |
+
padding: 15px;
|
| 432 |
+
margin-bottom: 15px;
|
| 433 |
+
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
|
| 434 |
+
transition: all 0.3s ease;
|
| 435 |
+
}
|
| 436 |
+
|
| 437 |
+
.learning-card:hover {
|
| 438 |
+
transform: translateY(-3px);
|
| 439 |
+
box-shadow: 0 8px 15px rgba(0,0,0,0.1);
|
| 440 |
+
}
|
| 441 |
+
|
| 442 |
+
/* Celebration */
|
| 443 |
+
.celebration-screen {
|
| 444 |
+
position: fixed;
|
| 445 |
+
top: 0;
|
| 446 |
+
left: 0;
|
| 447 |
+
width: 100%;
|
| 448 |
+
height: 100%;
|
| 449 |
+
background-color: rgba(255,255,255,0.95);
|
| 450 |
+
z-index: 9996;
|
| 451 |
+
display: none;
|
| 452 |
+
flex-direction: column;
|
| 453 |
+
justify-content: center;
|
| 454 |
+
align-items: center;
|
| 455 |
+
}
|
| 456 |
+
|
| 457 |
+
.baby-socks {
|
| 458 |
+
font-size: 4rem;
|
| 459 |
+
margin-bottom: 20px;
|
| 460 |
+
animation: heartBeat 1.5s ease-in-out infinite;
|
| 461 |
+
}
|
| 462 |
+
|
| 463 |
+
/* Custom scrollbar */
|
| 464 |
+
::-webkit-scrollbar {
|
| 465 |
+
width: 6px;
|
| 466 |
+
}
|
| 467 |
+
|
| 468 |
+
::-webkit-scrollbar-track {
|
| 469 |
+
background: #f1f1f1;
|
| 470 |
+
}
|
| 471 |
+
|
| 472 |
+
::-webkit-scrollbar-thumb {
|
| 473 |
+
background: var(--lavender);
|
| 474 |
+
border-radius: 3px;
|
| 475 |
+
}
|
| 476 |
+
|
| 477 |
+
::-webkit-scrollbar-thumb:hover {
|
| 478 |
+
background: #c7b1e6;
|
| 479 |
+
}
|
| 480 |
+
|
| 481 |
+
/* All other existing styles from previous implementation */
|
| 482 |
+
/* ... (all the existing styles from the previous code) ... */
|
| 483 |
+
</style>
|
| 484 |
+
</head>
|
| 485 |
+
<body class="relative">
|
| 486 |
+
<!-- Onboarding Screens -->
|
| 487 |
+
<div class="onboarding-screen" id="onboardingScreen">
|
| 488 |
+
<div class="onboarding-slide">
|
| 489 |
+
<div class="onboarding-image">
|
| 490 |
+
<i class="fas fa-robot"></i>
|
| 491 |
+
</div>
|
| 492 |
+
<h2 class="text-xl font-bold mb-2">We're here for your journey</h2>
|
| 493 |
+
<p class="text-gray-600 px-4">Your personal IVF companion will guide you through every step of the process</p>
|
| 494 |
+
</div>
|
| 495 |
+
|
| 496 |
+
<div class="onboarding-slide" style="display: none;">
|
| 497 |
+
<div class="onboarding-image">
|
| 498 |
+
<i class="fas fa-calendar-check"></i>
|
| 499 |
+
</div>
|
| 500 |
+
<h2 class="text-xl font-bold mb-2">Track every stage with confidence</h2>
|
| 501 |
+
<p class="text-gray-600 px-4">Never miss an appointment or medication with our intuitive tracking system</p>
|
| 502 |
+
</div>
|
| 503 |
+
|
| 504 |
+
<div class="onboarding-slide" style="display: none;">
|
| 505 |
+
<div class="onboarding-image">
|
| 506 |
+
<i class="fas fa-hands-helping"></i>
|
| 507 |
+
</div>
|
| 508 |
+
<h2 class="text-xl font-bold mb-2">Feel heard, feel supported</h2>
|
| 509 |
+
<p class="text-gray-600 px-4">Journal your thoughts and connect with others who understand your journey</p>
|
| 510 |
+
</div>
|
| 511 |
+
|
| 512 |
+
<div class="onboarding-dots">
|
| 513 |
+
<div class="onboarding-dot active"></div>
|
| 514 |
+
<div class="onboarding-dot"></div>
|
| 515 |
+
<div class="onboarding-dot"></div>
|
| 516 |
+
</div>
|
| 517 |
+
|
| 518 |
+
<div class="p-4">
|
| 519 |
+
<button class="w-full py-3 bg-purple-600 text-white rounded-full font-medium" id="nextOnboarding">Next</button>
|
| 520 |
+
<button class="w-full py-3 mt-2 text-purple-600 rounded-full font-medium" id="skipOnboarding" style="display: none;">Skip</button>
|
| 521 |
+
</div>
|
| 522 |
+
</div>
|
| 523 |
+
|
| 524 |
+
<!-- Login/Signup Screen -->
|
| 525 |
+
<div class="auth-screen" id="authScreen">
|
| 526 |
+
<h1 class="text-2xl font-bold mb-6 text-center">Welcome to IVF Companion</h1>
|
| 527 |
+
|
| 528 |
+
<div class="mb-4">
|
| 529 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Name</label>
|
| 530 |
+
<input type="text" class="w-full border border-gray-300 rounded-lg p-3 focus:ring-2 focus:ring-purple-200 focus:border-purple-400" placeholder="Your name">
|
| 531 |
+
</div>
|
| 532 |
+
|
| 533 |
+
<div class="mb-4">
|
| 534 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Mobile Number</label>
|
| 535 |
+
<input type="tel" class="w-full border border-gray-300 rounded-lg p-3 focus:ring-2 focus:ring-purple-200 focus:border-purple-400" placeholder="+1 (___) ___-____">
|
| 536 |
+
</div>
|
| 537 |
+
|
| 538 |
+
<div class="mb-6">
|
| 539 |
+
<label class="block text-sm font-medium text-gray-700 mb-2">Choose Your Theme</label>
|
| 540 |
+
<div class="theme-selector">
|
| 541 |
+
<div class="theme-option bg-purple-100 selected" data-theme="purple">
|
| 542 |
+
<i class="fas fa-palette"></i>
|
| 543 |
+
</div>
|
| 544 |
+
<div class="theme-option bg-blue-100" data-theme="blue">
|
| 545 |
+
<i class="fas fa-palette"></i>
|
| 546 |
+
</div>
|
| 547 |
+
<div class="theme-option bg-pink-100" data-theme="pink">
|
| 548 |
+
<i class="fas fa-palette"></i>
|
| 549 |
+
</div>
|
| 550 |
+
<div class="theme-option bg-green-100" data-theme="green">
|
| 551 |
+
<i class="fas fa-palette"></i>
|
| 552 |
+
</div>
|
| 553 |
+
</div>
|
| 554 |
+
</div>
|
| 555 |
+
|
| 556 |
+
<button class="w-full py-3 bg-purple-600 text-white rounded-full font-medium mb-3" id="loginBtn">Continue with OTP</button>
|
| 557 |
+
<p class="text-center text-sm text-gray-500">By continuing, you agree to our Terms of Service</p>
|
| 558 |
+
</div>
|
| 559 |
+
|
| 560 |
+
<!-- Welcome Screen -->
|
| 561 |
+
<div class="auth-screen" id="welcomeScreen" style="display: none;">
|
| 562 |
+
<div class="text-center">
|
| 563 |
+
<div class="w-24 h-24 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-6">
|
| 564 |
+
<i class="fas fa-heart text-purple-500 text-3xl"></i>
|
| 565 |
+
</div>
|
| 566 |
+
<h1 class="text-2xl font-bold mb-2" id="welcomeMessage">Hi Sarah, we're honored to walk with you</h1>
|
| 567 |
+
<p class="text-gray-600 mb-8">Let's personalize your experience</p>
|
| 568 |
+
|
| 569 |
+
<div class="mb-6">
|
| 570 |
+
<label class="block text-sm font-medium text-gray-700 mb-2">Choose your favorite emoji</label>
|
| 571 |
+
<div class="flex justify-center space-x-4">
|
| 572 |
+
<div class="emoji-option text-3xl" data-emoji="🌸">🌸</div>
|
| 573 |
+
<div class="emoji-option text-3xl selected" data-emoji="🌻">🌻</div>
|
| 574 |
+
<div class="emoji-option text-3xl" data-emoji="🌺">🌺</div>
|
| 575 |
+
<div class="emoji-option text-3xl" data-emoji="🌼">🌼</div>
|
| 576 |
+
</div>
|
| 577 |
+
</div>
|
| 578 |
+
|
| 579 |
+
<div class="mb-6">
|
| 580 |
+
<label class="block text-sm font-medium text-gray-700 mb-2">Add a personal quote</label>
|
| 581 |
+
<input type="text" class="w-full border border-gray-300 rounded-lg p-3 focus:ring-2 focus:ring-purple-200 focus:border-purple-400" placeholder="E.g. 'One day at a time'">
|
| 582 |
+
</div>
|
| 583 |
+
|
| 584 |
+
<button class="w-full py-3 bg-purple-600 text-white rounded-full font-medium" id="startJourneyBtn">Start My Journey</button>
|
| 585 |
+
</div>
|
| 586 |
+
</div>
|
| 587 |
+
|
| 588 |
+
<!-- Main App Container (initially hidden) -->
|
| 589 |
+
<div id="appContainer" class="max-w-md mx-auto pb-20" style="display: none;">
|
| 590 |
+
<!-- Header -->
|
| 591 |
+
<header class="bg-gradient-to-r from-purple-100 to-pink-100 p-4 rounded-b-3xl shadow-sm sticky top-0 z-10">
|
| 592 |
+
<div class="flex justify-between items-center">
|
| 593 |
+
<div>
|
| 594 |
+
<h1 class="text-xl font-bold text-purple-800">IVF Companion</h1>
|
| 595 |
+
<p class="text-sm text-purple-600" id="currentDate">Day 5 of your journey</p>
|
| 596 |
+
</div>
|
| 597 |
+
<div class="flex items-center space-x-3">
|
| 598 |
+
<button id="notificationsBtn" class="relative">
|
| 599 |
+
<i class="fas fa-bell text-purple-600 text-xl"></i>
|
| 600 |
+
<span class="notification-badge">3</span>
|
| 601 |
+
</button>
|
| 602 |
+
<div class="relative">
|
| 603 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-10 h-10 rounded-full border-2 border-white shadow cursor-pointer" id="profileBtn">
|
| 604 |
+
</div>
|
| 605 |
+
</div>
|
| 606 |
+
</div>
|
| 607 |
+
</header>
|
| 608 |
+
|
| 609 |
+
<!-- Main Content -->
|
| 610 |
+
<main class="px-4 mt-4">
|
| 611 |
+
<!-- Welcome Section with Personalized Message -->
|
| 612 |
+
<div class="bg-white rounded-2xl p-4 shadow-sm mb-4 fade-in">
|
| 613 |
+
<div class="flex items-center">
|
| 614 |
+
<div class="flex-1">
|
| 615 |
+
<h2 class="text-lg font-semibold text-purple-800" id="welcomeGreeting">Welcome back, Sarah!</h2>
|
| 616 |
+
<p class="text-sm text-gray-600" id="dailyMessage">You're stronger than you think. Today is a new opportunity in your journey.</p>
|
| 617 |
+
</div>
|
| 618 |
+
<div class="w-16 h-16 rounded-full bg-gradient-to-r from-purple-200 to-pink-200 flex items-center justify-center overflow-hidden">
|
| 619 |
+
<span class="text-3xl" id="userEmoji">🌻</span>
|
| 620 |
+
</div>
|
| 621 |
+
</div>
|
| 622 |
+
</div>
|
| 623 |
+
|
| 624 |
+
<!-- Daily Tip -->
|
| 625 |
+
<div class="daily-tip mb-4 fade-in">
|
| 626 |
+
<div class="flex items-start">
|
| 627 |
+
<div class="mr-3">
|
| 628 |
+
<i class="fas fa-lightbulb text-xl text-yellow-200"></i>
|
| 629 |
+
</div>
|
| 630 |
+
<div>
|
| 631 |
+
<h3 class="font-semibold mb-1">Today's Tip</h3>
|
| 632 |
+
<p class="text-sm opacity-90">Stay hydrated during stimulation - aim for 8-10 glasses of water daily to help with bloating.</p>
|
| 633 |
+
</div>
|
| 634 |
+
</div>
|
| 635 |
+
</div>
|
| 636 |
+
|
| 637 |
+
<!-- Quick Actions -->
|
| 638 |
+
<div class="grid grid-cols-4 gap-2 mb-6 fade-in">
|
| 639 |
+
<button class="bg-purple-50 text-purple-600 p-3 rounded-xl flex flex-col items-center hover:bg-purple-100 transition">
|
| 640 |
+
<i class="fas fa-calendar-day text-lg mb-1"></i>
|
| 641 |
+
<span class="text-xs">Today</span>
|
| 642 |
+
</button>
|
| 643 |
+
<button class="bg-pink-50 text-pink-600 p-3 rounded-xl flex flex-col items-center hover:bg-pink-100 transition">
|
| 644 |
+
<i class="fas fa-pills text-lg mb-1"></i>
|
| 645 |
+
<span class="text-xs">Meds</span>
|
| 646 |
+
</button>
|
| 647 |
+
<button class="bg-blue-50 text-blue-600 p-3 rounded-xl flex flex-col items-center hover:bg-blue-100 transition">
|
| 648 |
+
<i class="fas fa-heartbeat text-lg mb-1"></i>
|
| 649 |
+
<span class="text-xs">Check-in</span>
|
| 650 |
+
</button>
|
| 651 |
+
<button class="bg-green-50 text-green-600 p-3 rounded-xl flex flex-col items-center hover:bg-green-100 transition">
|
| 652 |
+
<i class="fas fa-book-open text-lg mb-1"></i>
|
| 653 |
+
<span class="text-xs">Resources</span>
|
| 654 |
+
</button>
|
| 655 |
+
</div>
|
| 656 |
+
|
| 657 |
+
<!-- Journey Tracker -->
|
| 658 |
+
<div class="bg-white rounded-2xl p-4 shadow-sm mb-4 fade-in">
|
| 659 |
+
<div class="flex justify-between items-center mb-3">
|
| 660 |
+
<h3 class="font-semibold text-purple-800">Your IVF Journey</h3>
|
| 661 |
+
<span class="text-xs bg-purple-100 text-purple-600 px-2 py-1 rounded-full">Day 5/28</span>
|
| 662 |
+
</div>
|
| 663 |
+
|
| 664 |
+
<div class="progress-tracker mb-3">
|
| 665 |
+
<div class="progress-fill" style="width: 18%;"></div>
|
| 666 |
+
</div>
|
| 667 |
+
|
| 668 |
+
<div class="flex justify-between text-xs text-gray-500">
|
| 669 |
+
<span>Started</span>
|
| 670 |
+
<span>Embryo Transfer</span>
|
| 671 |
+
</div>
|
| 672 |
+
|
| 673 |
+
<button id="viewTimeline" class="w-full mt-4 py-2 bg-purple-50 text-purple-600 rounded-lg text-sm font-medium hover:bg-purple-100 transition">
|
| 674 |
+
View Full Timeline
|
| 675 |
+
</button>
|
| 676 |
+
</div>
|
| 677 |
+
|
| 678 |
+
<!-- Today's Tasks -->
|
| 679 |
+
<div class="bg-white rounded-2xl p-4 shadow-sm mb-4 fade-in">
|
| 680 |
+
<div class="flex justify-between items-center mb-3">
|
| 681 |
+
<h3 class="font-semibold text-purple-800">Today's Tasks</h3>
|
| 682 |
+
<button class="text-xs text-purple-600">View all</button>
|
| 683 |
+
</div>
|
| 684 |
+
|
| 685 |
+
<div class="space-y-3">
|
| 686 |
+
<div class="flex items-center p-2 rounded-lg bg-blue-50 task-item">
|
| 687 |
+
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-3">
|
| 688 |
+
<i class="fas fa-syringe text-blue-500"></i>
|
| 689 |
+
</div>
|
| 690 |
+
<div class="flex-1">
|
| 691 |
+
<h4 class="text-sm font-medium">Morning Injection</h4>
|
| 692 |
+
<p class="text-xs text-gray-500">8:00 AM - Gonal-F 225IU</p>
|
| 693 |
+
</div>
|
| 694 |
+
<button class="complete-task text-xs bg-blue-100 text-blue-600 px-3 py-1 rounded-full hover:bg-blue-200 transition" data-task="injection">
|
| 695 |
+
Pending
|
| 696 |
+
</button>
|
| 697 |
+
</div>
|
| 698 |
+
|
| 699 |
+
<div class="flex items-center p-2 rounded-lg bg-green-50 task-item">
|
| 700 |
+
<div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center mr-3">
|
| 701 |
+
<i class="fas fa-stethoscope text-green-500"></i>
|
| 702 |
+
</div>
|
| 703 |
+
<div class="flex-1">
|
| 704 |
+
<h4 class="text-sm font-medium">Doctor Appointment</h4>
|
| 705 |
+
<p class="text-xs text-gray-500">2:30 PM - Ultrasound & Bloodwork</p>
|
| 706 |
+
</div>
|
| 707 |
+
<button class="complete-task text-xs bg-green-100 text-green-600 px-3 py-1 rounded-full hover:bg-green-200 transition" data-task="appointment">
|
| 708 |
+
Upcoming
|
| 709 |
+
</button>
|
| 710 |
+
</div>
|
| 711 |
+
|
| 712 |
+
<div class="flex items-center p-2 rounded-lg bg-purple-50 task-item">
|
| 713 |
+
<div class="w-8 h-8 rounded-full bg-purple-100 flex items-center justify-center mr-3">
|
| 714 |
+
<i class="fas fa-heart text-purple-500"></i>
|
| 715 |
+
</div>
|
| 716 |
+
<div class="flex-1">
|
| 717 |
+
<h4 class="text-sm font-medium">Emotional Check-in</h4>
|
| 718 |
+
<p class="text-xs text-gray-500">Anytime today</p>
|
| 719 |
+
</div>
|
| 720 |
+
<button id="checkInBtn" class="complete-task text-xs bg-purple-100 text-purple-600 px-3 py-1 rounded-full hover:bg-purple-200 transition" data-task="checkin">
|
| 721 |
+
Check-in
|
| 722 |
+
</button>
|
| 723 |
+
</div>
|
| 724 |
+
</div>
|
| 725 |
+
</div>
|
| 726 |
+
|
| 727 |
+
<!-- Water Intake Tracker -->
|
| 728 |
+
<div class="bg-white rounded-2xl p-4 shadow-sm mb-4 fade-in">
|
| 729 |
+
<div class="flex justify-between items-center mb-3">
|
| 730 |
+
<h3 class="font-semibold text-purple-800">Water Intake</h3>
|
| 731 |
+
<span class="text-xs text-purple-600">3/8 cups</span>
|
| 732 |
+
</div>
|
| 733 |
+
|
| 734 |
+
<div class="water-tracker">
|
| 735 |
+
<div class="water-cup" data-cup="1">
|
| 736 |
+
<div class="water-fill" style="height: 30%"></div>
|
| 737 |
+
</div>
|
| 738 |
+
<div class="water-cup" data-cup="2">
|
| 739 |
+
<div class="water-fill" style="height: 60%"></div>
|
| 740 |
+
</div>
|
| 741 |
+
<div class="water-cup" data-cup="3">
|
| 742 |
+
<div class="water-fill" style="height: 90%"></div>
|
| 743 |
+
</div>
|
| 744 |
+
<div class="water-cup" data-cup="4">
|
| 745 |
+
<div class="water-fill" style="height: 0%"></div>
|
| 746 |
+
</div>
|
| 747 |
+
<div class="water-cup" data-cup="5">
|
| 748 |
+
<div class="water-fill" style="height: 0%"></div>
|
| 749 |
+
</div>
|
| 750 |
+
</div>
|
| 751 |
+
|
| 752 |
+
<button class="w-full mt-3 py-2 bg-blue-50 text-blue-600 rounded-lg text-sm font-medium hover:bg-blue-100 transition">
|
| 753 |
+
Log Water Intake
|
| 754 |
+
</button>
|
| 755 |
+
</div>
|
| 756 |
+
|
| 757 |
+
<!-- Daily Quote (Rotating) -->
|
| 758 |
+
<div class="bg-white rounded-2xl p-4 shadow-sm mb-4 fade-in">
|
| 759 |
+
<div class="flex items-start">
|
| 760 |
+
<div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mr-3">
|
| 761 |
+
<i class="fas fa-quote-left text-purple-500"></i>
|
| 762 |
+
</div>
|
| 763 |
+
<div>
|
| 764 |
+
<p class="text-sm italic text-gray-700 mb-2" id="dailyQuote">"The journey of a thousand miles begins with a single step."</p>
|
| 765 |
+
<div class="flex justify-between items-center">
|
| 766 |
+
<span class="text-xs text-gray-500">- Lao Tzu</span>
|
| 767 |
+
<button class="text-xs bg-purple-100 text-purple-600 px-2 py-1 rounded hover:bg-purple-200 transition" onclick="changeQuote()">
|
| 768 |
+
<i class="fas fa-sync-alt"></i> New Quote
|
| 769 |
+
</button>
|
| 770 |
+
</div>
|
| 771 |
+
</div>
|
| 772 |
+
</div>
|
| 773 |
+
</div>
|
| 774 |
+
|
| 775 |
+
<!-- Wellness Resources -->
|
| 776 |
+
<div class="bg-white rounded-2xl p-4 shadow-sm fade-in">
|
| 777 |
+
<div class="flex justify-between items-center mb-3">
|
| 778 |
+
<h3 class="font-semibold text-purple-800">Wellness Resources</h3>
|
| 779 |
+
<button class="text-xs text-purple-600">See all</button>
|
| 780 |
+
</div>
|
| 781 |
+
|
| 782 |
+
<div class="grid grid-cols-2 gap-3">
|
| 783 |
+
<div class="resource-card bg-gradient-to-br from-purple-50 to-blue-50 p-3 rounded-xl hover:shadow-md transition">
|
| 784 |
+
<div class="w-10 h-10 bg-purple-100 rounded-lg flex items-center justify-center mb-2">
|
| 785 |
+
<i class="fas fa-headphones text-purple-500"></i>
|
| 786 |
+
</div>
|
| 787 |
+
<h4 class="text-sm font-medium mb-1">Guided Meditation</h4>
|
| 788 |
+
<p class="text-xs text-gray-500">5 min stress relief</p>
|
| 789 |
+
</div>
|
| 790 |
+
|
| 791 |
+
<div class="resource-card bg-gradient-to-br from-pink-50 to-purple-50 p-3 rounded-xl hover:shadow-md transition">
|
| 792 |
+
<div class="w-10 h-10 bg-pink-100 rounded-lg flex items-center justify-center mb-2">
|
| 793 |
+
<i class="fas fa-book text-pink-500"></i>
|
| 794 |
+
</div>
|
| 795 |
+
<h4 class="text-sm font-medium mb-1">Journal Prompts</h4>
|
| 796 |
+
<p class="text-xs text-gray-500">Reflect on your journey</p>
|
| 797 |
+
</div>
|
| 798 |
+
|
| 799 |
+
<div class="resource-card bg-gradient-to-br from-green-50 to-blue-50 p-3 rounded-xl hover:shadow-md transition">
|
| 800 |
+
<div class="w-10 h-10 bg-green-100 rounded-lg flex items-center justify-center mb-2">
|
| 801 |
+
<i class="fas fa-video text-green-500"></i>
|
| 802 |
+
</div>
|
| 803 |
+
<h4 class="text-sm font-medium mb-1">Patient Stories</h4>
|
| 804 |
+
<p class="text-xs text-gray-500">Hear from others</p>
|
| 805 |
+
</div>
|
| 806 |
+
|
| 807 |
+
<div class="resource-card bg-gradient-to-br from-blue-50 to-purple-50 p-3 rounded-xl hover:shadow-md transition">
|
| 808 |
+
<div class="w-10 h-10 bg-blue-100 rounded-lg flex items-center justify-center mb-2">
|
| 809 |
+
<i class="fas fa-utensils text-blue-500"></i>
|
| 810 |
+
</div>
|
| 811 |
+
<h4 class="text-sm font-medium mb-1">Nutrition Guide</h4>
|
| 812 |
+
<p class="text-xs text-gray-500">Fertility-friendly foods</p>
|
| 813 |
+
</div>
|
| 814 |
+
</div>
|
| 815 |
+
</div>
|
| 816 |
+
</main>
|
| 817 |
+
|
| 818 |
+
<!-- Floating Action Button -->
|
| 819 |
+
<div class="fab tooltip" id="quickAddBtn">
|
| 820 |
+
<i class="fas fa-plus"></i>
|
| 821 |
+
<span class="tooltip-text">Add new item</span>
|
| 822 |
+
</div>
|
| 823 |
+
|
| 824 |
+
<!-- Chat Bot -->
|
| 825 |
+
<div class="chat-bot tooltip" id="chatBotBtn">
|
| 826 |
+
<i class="fas fa-comment-dots text-white text-2xl"></i>
|
| 827 |
+
<span class="tooltip-text">Need help? Chat with us</span>
|
| 828 |
+
</div>
|
| 829 |
+
|
| 830 |
+
<!-- Chat Interface -->
|
| 831 |
+
<div class="chat-container" id="chatContainer">
|
| 832 |
+
<div class="chat-header">
|
| 833 |
+
<span>IVF Companion</span>
|
| 834 |
+
<button id="closeChat"><i class="fas fa-times"></i></button>
|
| 835 |
+
</div>
|
| 836 |
+
<div class="chat-messages" id="chatMessages">
|
| 837 |
+
<div class="message bot-message">
|
| 838 |
+
Hi there! I'm your IVF Companion. How can I help you today?
|
| 839 |
+
</div>
|
| 840 |
+
</div>
|
| 841 |
+
<div class="chat-input">
|
| 842 |
+
<input type="text" placeholder="Type your message..." id="chatInput">
|
| 843 |
+
<button id="sendMessage"><i class="fas fa-paper-plane"></i></button>
|
| 844 |
+
</div>
|
| 845 |
+
</div>
|
| 846 |
+
|
| 847 |
+
<!-- Sidebar Overlay -->
|
| 848 |
+
<div class="sidebar-overlay" id="sidebarOverlay"></div>
|
| 849 |
+
|
| 850 |
+
<!-- Sidebar Menu -->
|
| 851 |
+
<div class="sidebar" id="sidebarMenu">
|
| 852 |
+
<div class="p-4">
|
| 853 |
+
<div class="flex items-center mb-6">
|
| 854 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-12 h-12 rounded-full border-2 border-white shadow mr-3">
|
| 855 |
+
<div>
|
| 856 |
+
<h3 class="font-semibold">Sarah Johnson</h3>
|
| 857 |
+
<p class="text-sm text-gray-500">Day 5 of IVF Cycle</p>
|
| 858 |
+
</div>
|
| 859 |
+
</div>
|
| 860 |
+
|
| 861 |
+
<div class="mb-6">
|
| 862 |
+
<div class="flex items-center justify-between mb-2">
|
| 863 |
+
<span class="text-sm font-medium">Cycle Progress</span>
|
| 864 |
+
<span class="text-xs bg-purple-100 text-purple-600 px-2 py-1 rounded-full">18%</span>
|
| 865 |
+
</div>
|
| 866 |
+
<div class="progress-tracker">
|
| 867 |
+
<div class="progress-fill" style="width: 18%;"></div>
|
| 868 |
+
</div>
|
| 869 |
+
</div>
|
| 870 |
+
|
| 871 |
+
<nav class="space-y-2">
|
| 872 |
+
<a href="#" class="flex items-center p-2 rounded-lg text-purple-700 bg-purple-50">
|
| 873 |
+
<i class="fas fa-home mr-3"></i>
|
| 874 |
+
<span>Dashboard</span>
|
| 875 |
+
</a>
|
| 876 |
+
<a href="#" class="flex items-center p-2 rounded-lg text-gray-600 hover:bg-gray-50">
|
| 877 |
+
<i class="fas fa-calendar-alt mr-3"></i>
|
| 878 |
+
<span>Calendar</span>
|
| 879 |
+
</a>
|
| 880 |
+
<a href="#" class="flex items-center p-2 rounded-lg text-gray-600 hover:bg-gray-50">
|
| 881 |
+
<i class="fas fa-pills mr-3"></i>
|
| 882 |
+
<span>Medications</span>
|
| 883 |
+
</a>
|
| 884 |
+
<a href="#" class="flex items-center p-2 rounded-lg text-gray-600 hover:bg-gray-50">
|
| 885 |
+
<i class="fas fa-heartbeat mr-3"></i>
|
| 886 |
+
<span>Symptoms</span>
|
| 887 |
+
</a>
|
| 888 |
+
<a href="#" class="flex items-center p=2 rounded-lg text-gray-600 hover:bg-gray-50">
|
| 889 |
+
<i class="fas fa-book mr-3"></i>
|
| 890 |
+
<span>Journal</span>
|
| 891 |
+
</a>
|
| 892 |
+
<a href="#" class="flex items-center p-2 rounded-lg text-gray-600 hover:bg-gray-50">
|
| 893 |
+
<i class="fas fa-chart-line mr-3"></i>
|
| 894 |
+
<span>Statistics</span>
|
| 895 |
+
</a>
|
| 896 |
+
<a href="#" class="flex items-center p-2 rounded-lg text-gray-600 hover=bg-gray-50">
|
| 897 |
+
<i class="fas fa-cog mr-3"></i>
|
| 898 |
+
<span>Settings</span>
|
| 899 |
+
</a>
|
| 900 |
+
</nav>
|
| 901 |
+
|
| 902 |
+
<div class="mt-8 pt-4 border-t border-gray-100">
|
| 903 |
+
<button class="w-full py-2 bg-purple-600 text-white rounded-lg font-medium hover:bg-purple-700 transition">
|
| 904 |
+
<i class="fas fa-sign-out-alt mr-2"></i> Log Out
|
| 905 |
+
</button>
|
| 906 |
+
</div>
|
| 907 |
+
</div>
|
| 908 |
+
</div>
|
| 909 |
+
</div>
|
| 910 |
+
|
| 911 |
+
<!-- Timeline Modal -->
|
| 912 |
+
<div class="modal-overlay" id="timelineModal">
|
| 913 |
+
<div class="modal-content timeline-modal">
|
| 914 |
+
<button class="close-modal" id="closeTimelineModal"><i class="fas fa-times"></i></button>
|
| 915 |
+
<h3 class="text-xl font-semibold text-purple-800 mb-4">Your IVF Timeline</h3>
|
| 916 |
+
|
| 917 |
+
<div class="space-y-4">
|
| 918 |
+
<div class="journey-stage completed">
|
| 919 |
+
<h4 class="font-medium">Initial Consultation</h4>
|
| 920 |
+
<p class="text-sm text-gray-500">Completed on May 15</p>
|
| 921 |
+
</div>
|
| 922 |
+
|
| 923 |
+
<div class="journey-stage completed">
|
| 924 |
+
<h4 class="font-medium">Baseline Testing</h4>
|
| 925 |
+
<p class="text-sm text-gray-500">Completed on May 20</p>
|
| 926 |
+
</div>
|
| 927 |
+
|
| 928 |
+
<div class="journey-stage current">
|
| 929 |
+
<h4 class="font-medium">Stimulation Phase</h4>
|
| 930 |
+
<p class="text-sm text-gray-500">Day 5 of 10</p>
|
| 931 |
+
<div class="mt-2 text-xs">
|
| 932 |
+
<p><i class="fas fa-syringe mr-2"></i> Daily injections</p>
|
| 933 |
+
<p><i class="fas fa-calendar-check mr-2"></i> Monitoring appointments</p>
|
| 934 |
+
</div>
|
| 935 |
+
|
| 936 |
+
<div class="mt-4">
|
| 937 |
+
<h5 class="text-sm font-medium mb-2">Stimulation Calendar</h5>
|
| 938 |
+
<div class="stimulation-calendar grid grid-cols-7 gap=2">
|
| 939 |
+
<div class="stimulation-day">1</div>
|
| 940 |
+
<div class="stimulation-day injection">2</div>
|
| 941 |
+
<div class="stimulation-day injection">3</div>
|
| 942 |
+
<div class="stimulation-day injection scan">4</div>
|
| 943 |
+
<div class="stimulation-day injection today">5</div>
|
| 944 |
+
<div class="stimulation-day">6</div>
|
| 945 |
+
<div class="stimulation-day">7</div>
|
| 946 |
+
<div class="stimulation-day injection">8</div>
|
| 947 |
+
<div class="stimulation-day injection scan">9</div>
|
| 948 |
+
<div class="stimulation-day injection">10</div>
|
| 949 |
+
</div>
|
| 950 |
+
</div>
|
| 951 |
+
</div>
|
| 952 |
+
|
| 953 |
+
<div class="journey-stage">
|
| 954 |
+
<h4 class="font-medium">Oocyte Retrieval</h4>
|
| 955 |
+
<p class="text-sm text-gray-500">Scheduled for June 5</p>
|
| 956 |
+
|
| 957 |
+
<div class="mt-3">
|
| 958 |
+
<button class="text-xs bg-purple-100 text-purple-600 px-2 py-1 rounded" id="showOocytes">View Oocytes</button>
|
| 959 |
+
<div class="oocyte-visualization mt-3" style="display: none;">
|
| 960 |
+
<div class="oocyte-item"></div>
|
| 961 |
+
<div class="oocyte-item"></div>
|
| 962 |
+
<div class="oocyte-item"></div>
|
| 963 |
+
<div class="oocyte-item"></div>
|
| 964 |
+
<div class="oocyte-item"></div>
|
| 965 |
+
</div>
|
| 966 |
+
</div>
|
| 967 |
+
</div>
|
| 968 |
+
|
| 969 |
+
<div class="journey-stage">
|
| 970 |
+
<h4 class="font-medium">Embryo Culture</h4>
|
| 971 |
+
<p class="text-sm text-gray-500">Expected June 7</p>
|
| 972 |
+
|
| 973 |
+
<div class="mt-3">
|
| 974 |
+
<button class="text-xs bg-purple-100 text-purple-600 px-2 py-1 rounded" id="showEmbryos">View Embryo Development</button>
|
| 975 |
+
<div class="embryo-visualization mt-3" style="display: none;">
|
| 976 |
+
<div class="embryo-stage" style="width: 60px; height: 60px;">
|
| 977 |
+
<span class="text-xs absolute bottom-0">Day 1</span>
|
| 978 |
+
</div>
|
| 979 |
+
<div class="embryo-stage" style="width: 70px; height: 70px;">
|
| 980 |
+
<span class="text-xs absolute bottom-0">Day 3</span>
|
| 981 |
+
</div>
|
| 982 |
+
<div class="embryo-stage" style="width: 80px; height: 80px;">
|
| 983 |
+
<span class="text-xs absolute bottom-0">Day 5</span>
|
| 984 |
+
</div>
|
| 985 |
+
<div class="text-xs mt-2">Quality: Good</div>
|
| 986 |
+
</div>
|
| 987 |
+
</div>
|
| 988 |
+
</div>
|
| 989 |
+
|
| 990 |
+
<div class="journey-stage">
|
| 991 |
+
<h4 class="font-medium">Embryo Transfer</h4>
|
| 992 |
+
<p class="text-sm text-gray-500">Expected June 10</p>
|
| 993 |
+
|
| 994 |
+
<div class="mt-3">
|
| 995 |
+
<div class="flex items-center">
|
| 996 |
+
<div class="embryo-stage mr-3" style="width: 50px; height: 50px;"></div>
|
| 997 |
+
<div>
|
| 998 |
+
<p class="text-sm">Embryo to be transferred</p>
|
| 999 |
+
<button class="text-xs bg-purple-100 text-purple-600 px-2 py-1 rounded mt-1" id="nameEmbryo">Name your embryo</button>
|
| 1000 |
+
</div>
|
| 1001 |
+
</div>
|
| 1002 |
+
|
| 1003 |
+
<div class="mt-3">
|
| 1004 |
+
<h5 class="text-sm font-medium">Precautions</h5>
|
| 1005 |
+
<ul class="text-xs list-disc pl-5 mt-1">
|
| 1006 |
+
<li>No strenuous activity for 48 hours</li>
|
| 1007 |
+
<li>Drink plenty of fluids</li>
|
| 1008 |
+
<li>Take prescribed medications</li>
|
| 1009 |
+
</ul>
|
| 1010 |
+
</div>
|
| 1011 |
+
</div>
|
| 1012 |
+
</div>
|
| 1013 |
+
|
| 1014 |
+
<div class="journey-stage">
|
| 1015 |
+
<h4 class="font-medium">Pregnancy Test</h4>
|
| 1016 |
+
<p class="text-sm text-gray-500">Expected June 24</p>
|
| 1017 |
+
|
| 1018 |
+
<div class="mt=3">
|
| 1019 |
+
<button class="text-xs bg-purple-100 text-purple-600 px-2 py-1 rounded mr-2" id="positiveOutcome">Positive</button>
|
| 1020 |
+
<button class="text-xs bg-purple-100 text-purple-600 px-2 py-1 rounded" id="negativeOutcome">Negative</button>
|
| 1021 |
+
</div>
|
| 1022 |
+
</div>
|
| 1023 |
+
</div>
|
| 1024 |
+
</div>
|
| 1025 |
+
</div>
|
| 1026 |
+
|
| 1027 |
+
<!-- Check-in Modal -->
|
| 1028 |
+
<div class="modal-overlay" id="checkinModal">
|
| 1029 |
+
<div class="modal-content">
|
| 1030 |
+
<button class="close-modal" id="closeCheckinModal"><i class="fas fa-times"></i></button>
|
| 1031 |
+
<div class="text-center">
|
| 1032 |
+
<div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 1033 |
+
<i class="fas fa-heart text-purple-500 text-2xl"></i>
|
| 1034 |
+
</div>
|
| 1035 |
+
<h3 class="text-xl font-semibold text-purple-800 mb-2">How are you feeling today?</h3>
|
| 1036 |
+
<p class="text-sm text-gray-500 mb-6">Your emotional well-being is important to us</p>
|
| 1037 |
+
|
| 1038 |
+
<div class="mood-selector mb-6">
|
| 1039 |
+
<div class="mood-emoji" data-mood="terrible">😞</div>
|
| 1040 |
+
<div class="mood-emoji" data-mood="sad">😕</div>
|
| 1041 |
+
<div class="mood-emoji selected" data-mood="neutral">😐</div>
|
| 1042 |
+
<div class="mood-emoji" data-mood="good">🙂</div>
|
| 1043 |
+
<div class="mood-emoji" data-mood="great">😊</div>
|
| 1044 |
+
</div>
|
| 1045 |
+
|
| 1046 |
+
<div class="mb-4">
|
| 1047 |
+
<label class="block text-sm font-medium text-gray=700 mb-2 text-left">Any specific feelings you'd like to share?</label>
|
| 1048 |
+
<textarea class="w-full border border-gray-200 rounded-lg p-3 text-sm focus:ring-2 focus:ring-purple-200 focus:border-purple-400" rows="3" placeholder="I'm feeling..."></textarea>
|
| 1049 |
+
</div>
|
| 1050 |
+
|
| 1051 |
+
<button class="w-full bg-purple-600 text-white py-2 rounded-lg font-medium hover:bg-purple-700 transition" id="submitCheckin">
|
| 1052 |
+
Submit Check-in
|
| 1053 |
+
</button>
|
| 1054 |
+
</div>
|
| 1055 |
+
</div>
|
| 1056 |
+
</div>
|
| 1057 |
+
|
| 1058 |
+
<!-- Quick Add Modal -->
|
| 1059 |
+
<div class="modal-overlay" id="quickAddModal">
|
| 1060 |
+
<div class="modal-content">
|
| 1061 |
+
<button class="close-modal" id="closeQuickAddModal"><i class="fas fa-times"></i></button>
|
| 1062 |
+
<h3 class="text-xl font-semibold text-purple-800 mb-4">Add New Item</h3>
|
| 1063 |
+
|
| 1064 |
+
<div class="space-y-4">
|
| 1065 |
+
<div class="custom-radio">
|
| 1066 |
+
<input type="radio" id="addMedication" name="addItem" checked>
|
| 1067 |
+
<label for="addMedication" class="radio-icon"></label>
|
| 1068 |
+
<label for="addMedication">Medication Reminder</label>
|
| 1069 |
+
</div>
|
| 1070 |
+
|
| 1071 |
+
<div class="custom-radio">
|
| 1072 |
+
<input type="radio" id="addAppointment" name="addItem">
|
| 1073 |
+
<label for="addAppointment" class="radio-icon"></label>
|
| 1074 |
+
<label for="addAppointment">Doctor Appointment</label>
|
| 1075 |
+
</div>
|
| 1076 |
+
|
| 1077 |
+
<div class="custom-radio">
|
| 1078 |
+
<input type="radio" id="addJournal" name="addItem">
|
| 1079 |
+
<label for="addJournal" class="radio-icon"></label>
|
| 1080 |
+
<label for="addJournal">Journal Entry</label>
|
| 1081 |
+
</div>
|
| 1082 |
+
|
| 1083 |
+
<div class="custom-radio">
|
| 1084 |
+
<input type="radio" id="addSymptom" name="addItem">
|
| 1085 |
+
<label for="addSymptom" class="radio-icon"></label>
|
| 1086 |
+
<label for="addSymptom">Symptom Tracker</label>
|
| 1087 |
+
</div>
|
| 1088 |
+
|
| 1089 |
+
<button class="w-full mt-6 bg-purple-600 text-white py-2 rounded-lg font-medium hover:bg-purple-700 transition">
|
| 1090 |
+
Continue
|
| 1091 |
+
</button>
|
| 1092 |
+
</div>
|
| 1093 |
+
</div>
|
| 1094 |
+
</div>
|
| 1095 |
+
|
| 1096 |
+
<!-- Celebration Animation -->
|
| 1097 |
+
<div class="celebration-screen" id="celebrationContainer">
|
| 1098 |
+
<div class="text-center">
|
| 1099 |
+
<div class="heart-beat mb-6">
|
| 1100 |
+
<i class="fas fa-heart text-6xl text-pink-500"></i>
|
| 1101 |
+
</div>
|
| 1102 |
+
<h2 class="text-3xl font-bold text-purple-800 mb-2">Great job!</h2>
|
| 1103 |
+
<p class="text-lg text-gray-600 mb-6">You completed today's check-in</p>
|
| 1104 |
+
<button id="closeCelebration" class="bg-purple-600 text-white px-6 py-2 rounded-full font-medium hover:bg-purple-700 transition">
|
| 1105 |
+
Continue
|
| 1106 |
+
</button>
|
| 1107 |
+
</div>
|
| 1108 |
+
</div>
|
| 1109 |
+
|
| 1110 |
+
<!-- Positive Outcome Celebration -->
|
| 1111 |
+
<div class="celebration-screen" id="positiveOutcomeScreen">
|
| 1112 |
+
<div class="text-center">
|
| 1113 |
+
<div class="baby-socks">🧦</div>
|
| 1114 |
+
<h2 class="text-3xl font-bold text-purple-800 mb-2">Congratulations!</h2>
|
| 1115 |
+
<p class="text-lg text-gray-600 mb-6">Your pregnancy test is positive!</p>
|
| 1116 |
+
<button id="closePositiveOutcome" class="bg-purple-600 text-white px-6 py-2 rounded-full font-medium hover:bg-purple-700 transition">
|
| 1117 |
+
Continue
|
| 1118 |
+
</button>
|
| 1119 |
+
</div>
|
| 1120 |
+
</div>
|
| 1121 |
+
|
| 1122 |
+
<!-- Negative Outcome Support -->
|
| 1123 |
+
<div class="celebration-screen" id="negativeOutcomeScreen">
|
| 1124 |
+
<div class="text-center">
|
| 1125 |
+
<div class="heart-beat mb-6">
|
| 1126 |
+
<i class="fas fa-hands-helping text-4xl text-purple-500"></i>
|
| 1127 |
+
</div>
|
| 1128 |
+
<h2 class="text-3xl font-bold text-purple-800 mb-2">We're here for you</h2>
|
| 1129 |
+
<p class="text-lg text-gray-600 mb-4 px-4">This journey can be challenging, but you're not alone.</p>
|
| 1130 |
+
<p class="text-sm text-gray=500 mb-6">Many couples need multiple attempts before success</p>
|
| 1131 |
+
<button id="closeNegativeOutcome" class="bg-purple-600 text-white px-6 py-2 rounded-full font-medium hover:bg-purple-700 transition">
|
| 1132 |
+
Continue
|
| 1133 |
+
</button>
|
| 1134 |
+
</div>
|
| 1135 |
+
</div>
|
| 1136 |
+
|
| 1137 |
+
<!-- Name Embryo Modal -->
|
| 1138 |
+
<div class="modal-overlay" id="nameEmbryoModal">
|
| 1139 |
+
<div class="modal-content">
|
| 1140 |
+
<button class="close-modal" id="closeNameEmbryoModal"><i class="fas fa-times"></i></button>
|
| 1141 |
+
<div class="text-center">
|
| 1142 |
+
<div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 1143 |
+
<i class="fas fa-tag text-purple-500 text-2xl"></i>
|
| 1144 |
+
</div>
|
| 1145 |
+
<h3 class="text-xl font-semibold text-purple-800 mb-2">Name Your Embryo</h3>
|
| 1146 |
+
<p class="text-sm text-gray-500 mb-6">Give your embryo a special nickname</p>
|
| 1147 |
+
|
| 1148 |
+
<div class="mb-4">
|
| 1149 |
+
<input type="text" class="w-full border border-gray-200 rounded-lg p-3 text-center text-lg focus:ring-2 focus:ring-purple-200 focus:border-purple-400" placeholder="e.g. Baby Bean" id="embryoNameInput">
|
| 1150 |
+
</div>
|
| 1151 |
+
|
| 1152 |
+
<button class="w-full bg-purple-600 text-white py-2 rounded-lg font-medium hover:bg-purple-700 transition" id="saveEmbryoName">
|
| 1153 |
+
Save Name
|
| 1154 |
+
</button>
|
| 1155 |
+
</div>
|
| 1156 |
+
</div>
|
| 1157 |
+
</div>
|
| 1158 |
+
|
| 1159 |
+
<!-- Support Circle Modal -->
|
| 1160 |
+
<div class="modal-overlay" id="supportCircleModal">
|
| 1161 |
+
<div class="modal-content">
|
| 1162 |
+
<button class="close-modal" id="closeSupportCircleModal"><i class="fas fa-times"></i></button>
|
| 1163 |
+
<h3 class="text-xl font-semibold text-purple-800 mb-4">Your Support Circle</h3>
|
| 1164 |
+
|
| 1165 |
+
<div class="support-orbit">
|
| 1166 |
+
<div class="support-person">
|
| 1167 |
+
<i class="fas fa-user-friends"></i>
|
| 1168 |
+
</div>
|
| 1169 |
+
<div class="support-person">
|
| 1170 |
+
<i class="fas fa-user-md"></i>
|
| 1171 |
+
</div>
|
| 1172 |
+
<div class="support-person">
|
| 1173 |
+
<i class="fas fa-heart"></i>
|
| 1174 |
+
</div>
|
| 1175 |
+
<div class="support-person">
|
| 1176 |
+
<i class="fas fa-hands-helping"></i>
|
| 1177 |
+
</div>
|
| 1178 |
+
<div class="support-person">
|
| 1179 |
+
<i class="fas fa-plus" id="addSupportPerson"></i>
|
| 1180 |
+
</div>
|
| 1181 |
+
</div>
|
| 1182 |
+
|
| 1183 |
+
<div class="mt-6">
|
| 1184 |
+
<h4 class="text-sm font-medium mb-2">Recent Messages</h4>
|
| 1185 |
+
<div class="bg-gray-50 rounded-lg p-3">
|
| 1186 |
+
<div class="text-xs text-gray-500 italic">No recent messages yet</div>
|
| 1187 |
+
</div>
|
| 1188 |
+
</div>
|
| 1189 |
+
|
| 1190 |
+
<button class="w-full mt-6 bg-purple-600 text-white py=2 rounded-lg font-medium hover:bg-purple-700 transition">
|
| 1191 |
+
Invite Someone
|
| 1192 |
+
</button>
|
| 1193 |
+
</div>
|
| 1194 |
+
</div>
|
| 1195 |
+
|
| 1196 |
+
<!-- Patient Stories Modal -->
|
| 1197 |
+
<div class="modal-overlay" id="patientStoriesModal">
|
| 1198 |
+
<div class="modal-content">
|
| 1199 |
+
<button class="close-modal" id="closePatientStoriesModal"><i class="fas fa-times"></i></button>
|
| 1200 |
+
<h3 class="text-xl font-semibold text-purple-800 mb-4">Patient Stories</h3>
|
| 1201 |
+
|
| 1202 |
+
<div class="space-y-4">
|
| 1203 |
+
<div class="story-card">
|
| 1204 |
+
<div class="story-thumbnail">
|
| 1205 |
+
<i class="fas fa-play-circle"></i>
|
| 1206 |
+
</div>
|
| 1207 |
+
<div class="p-3">
|
| 1208 |
+
<h4 class="font-medium">Emily's IVF Journey</h4>
|
| 1209 |
+
<p class="text-xs text-gray-500">3 rounds, 1 successful pregnancy</p>
|
| 1210 |
+
<div class="flex justify-between items-center mt-2">
|
| 1211 |
+
<span class="text-xs text-gray-400">12 min</span>
|
| 1212 |
+
<button class="text-xs bg-purple-100 text-purple-600 px-2 py-1 rounded">
|
| 1213 |
+
<i class="fas fa-heart mr-1"></i> 24
|
| 1214 |
+
</button>
|
| 1215 |
+
</div>
|
| 1216 |
+
</div>
|
| 1217 |
+
</div>
|
| 1218 |
+
|
| 1219 |
+
<div class="story-card">
|
| 1220 |
+
<div class="story-thumbnail">
|
| 1221 |
+
<i class="fas fa-play-circle"></i>
|
| 1222 |
+
</div>
|
| 1223 |
+
<div class="p-3">
|
| 1224 |
+
<h4 class="font-medium">Managing Emotional Stress</h4>
|
| 1225 |
+
<p class="text-xs text-gray-500">Coping strategies from Sarah</p>
|
| 1226 |
+
<div class="flex justify-between items-center mt-2">
|
| 1227 |
+
<span class="text-xs text-gray-400">8 min</span>
|
| 1228 |
+
<button class="text-xs bg-purple-100 text-purple-600 px-2 py-1 rounded">
|
| 1229 |
+
<i class="fas fa-heart mr-1"></i> 42
|
| 1230 |
+
</button>
|
| 1231 |
+
</div>
|
| 1232 |
+
</div>
|
| 1233 |
+
</div>
|
| 1234 |
+
|
| 1235 |
+
<button class="w-full mt-4 bg-purple-600 text-white py-2 rounded-lg font-medium hover:bg-purple-700 transition">
|
| 1236 |
+
View All Stories
|
| 1237 |
+
</button>
|
| 1238 |
+
</div>
|
| 1239 |
+
</div>
|
| 1240 |
+
</div>
|
| 1241 |
+
|
| 1242 |
+
<!-- Learning Library Modal -->
|
| 1243 |
+
<div class="modal-overlay" id="learningLibraryModal">
|
| 1244 |
+
<div class="modal-content">
|
| 1245 |
+
<button class="close-modal" id="closeLearningLibraryModal"><i class="fas fa-times"></i></button>
|
| 1246 |
+
<h3 class="text-xl font-semibold text-purple-800 mb-4">Learning Library</h3>
|
| 1247 |
+
|
| 1248 |
+
<div class="space-y-3">
|
| 1249 |
+
<div class="learning-card">
|
| 1250 |
+
<div class="flex items-center">
|
| 1251 |
+
<div class="w-10 h-10 bg-purple-100 rounded-lg flex items-center justify-center mr-3">
|
| 1252 |
+
<i class="fas fa-video text-purple-500"></i>
|
| 1253 |
+
</div>
|
| 1254 |
+
<div>
|
| 1255 |
+
<h4 class="font-medium">IVF Basics</h4>
|
| 1256 |
+
<p class="text-xs text-gray-500">5 min video</p>
|
| 1257 |
+
</div>
|
| 1258 |
+
</div>
|
| 1259 |
+
</div>
|
| 1260 |
+
|
| 1261 |
+
<div class="learning-card">
|
| 1262 |
+
<div class="flex items-center">
|
| 1263 |
+
<div class="w-10 h-10 bg-blue-100 rounded-lg flex items-center justify-center mr-3">
|
| 1264 |
+
<i class="fas fa-book text-blue-500"></i>
|
| 1265 |
+
</div>
|
| 1266 |
+
<div>
|
| 1267 |
+
<h4 class="font-medium">What is Oocyte Retrieval?</h4>
|
| 1268 |
+
<p class="text-xs text-gray-500">Illustrated guide</p>
|
| 1269 |
+
</div>
|
| 1270 |
+
</div>
|
| 1271 |
+
</div>
|
| 1272 |
+
|
| 1273 |
+
<div class="learning-card">
|
| 1274 |
+
<div class="flex items-center">
|
| 1275 |
+
<div class="w=10 h-10 bg-green-100 rounded-lg flex items-center justify-center mr-3">
|
| 1276 |
+
<i class="fas fa-utensils text-green-500"></i>
|
| 1277 |
+
</div>
|
| 1278 |
+
<div>
|
| 1279 |
+
<h4 class="font-medium">Diet During Treatment</h4>
|
| 1280 |
+
<p class="text-xs text-gray-500">Nutrition tips</p>
|
| 1281 |
+
</div>
|
| 1282 |
+
</div>
|
| 1283 |
+
</div>
|
| 1284 |
+
|
| 1285 |
+
<div class="learning-card">
|
| 1286 |
+
<div class="flex items-center">
|
| 1287 |
+
<div class="w-10 h-10 bg-pink-100 rounded-lg flex items-center justify-center mr-3">
|
| 1288 |
+
<i class="fas fa-heart text-pink-500"></i>
|
| 1289 |
+
</div>
|
| 1290 |
+
<div>
|
| 1291 |
+
<h4 class="font-medium">Managing Emotional Stress</h4>
|
| 1292 |
+
<p class="text-xs text-gray-500">Coping strategies</p>
|
| 1293 |
+
</div>
|
| 1294 |
+
</div>
|
| 1295 |
+
</div>
|
| 1296 |
+
|
| 1297 |
+
<button class="w-full mt-4 bg-purple-600 text-white py-2 rounded-lg font-medium hover:bg-purple-700 transition">
|
| 1298 |
+
Browse All Resources
|
| 1299 |
+
</button>
|
| 1300 |
+
</div>
|
| 1301 |
+
</div>
|
| 1302 |
+
</div>
|
| 1303 |
+
|
| 1304 |
+
<script>
|
| 1305 |
+
// Set current date in the app
|
| 1306 |
+
const options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' };
|
| 1307 |
+
const today = new Date();
|
| 1308 |
+
document.getElementById('currentDate').textContent = today.toLocaleDateString('en-US', options);
|
| 1309 |
+
|
| 1310 |
+
// Initialize variables
|
| 1311 |
+
let selectedMood = 'neutral';
|
| 1312 |
+
let unreadNotifications = 3;
|
| 1313 |
+
let currentOnboardingSlide = 1;
|
| 1314 |
+
let selectedTheme = 'purple';
|
| 1315 |
+
let selectedEmoji = '🌻';
|
| 1316 |
+
let embryoName = '';
|
| 1317 |
+
|
| 1318 |
+
// DOM Elements
|
| 1319 |
+
const onboardingScreen = document.getElementById('onboardingScreen');
|
| 1320 |
+
const onboardingSlides = document.querySelectorAll('.onboarding-slide');
|
| 1321 |
+
const onboardingDots = document.querySelectorAll('.onboarding-dot');
|
| 1322 |
+
const nextOnboardingBtn = document.getElementById('nextOnboarding');
|
| 1323 |
+
const skipOnboardingBtn = document.getElementById('skipOnboarding');
|
| 1324 |
+
const authScreen = document.getElementById('authScreen');
|
| 1325 |
+
const welcomeScreen = document.getElementById('welcomeScreen');
|
| 1326 |
+
const themeOptions = document.querySelectorAll('.theme-option');
|
| 1327 |
+
const emojiOptions = document.querySelectorAll('.emoji-option');
|
| 1328 |
+
const loginBtn = document.getElementById('loginBtn');
|
| 1329 |
+
const startJourneyBtn = document.getElementById('startJourneyBtn');
|
| 1330 |
+
const appContainer = document.getElementById('appContainer');
|
| 1331 |
+
const userEmoji = document.getElementById('userEmoji');
|
| 1332 |
+
|
| 1333 |
+
const profileBtn = document.getElementById('profileBtn');
|
| 1334 |
+
const notificationsBtn = document.getElementById('notificationsBtn');
|
| 1335 |
+
const sidebarMenu = document.getElementById('sidebarMenu');
|
| 1336 |
+
const sidebarOverlay = document.getElementById('sidebarOverlay');
|
| 1337 |
+
const viewTimeline = document.getElementById('viewTimeline');
|
| 1338 |
+
const timelineModal = document.getElementById('timelineModal');
|
| 1339 |
+
const closeTimelineModal = document.getElementById('closeTimelineModal');
|
| 1340 |
+
const checkInBtn = document.getElementById('checkInBtn');
|
| 1341 |
+
const checkinModal = document.getElementById('checkinModal');
|
| 1342 |
+
const closeCheckinModal = document.getElementById('closeCheckinModal');
|
| 1343 |
+
const submitCheckin = document.getElementById('submitCheckin');
|
| 1344 |
+
const celebrationContainer = document.getElementById('celebrationContainer');
|
| 1345 |
+
const closeCelebration = document.getElementById('closeCelebration');
|
| 1346 |
+
const quickAddBtn = document.getElementById('quickAddBtn');
|
| 1347 |
+
const quickAddModal = document.getElementById('quickAddModal');
|
| 1348 |
+
const closeQuickAddModal = document.getElementById('closeQuickAddModal');
|
| 1349 |
+
const chatBotBtn = document.getElementById('chatBotBtn');
|
| 1350 |
+
const chatContainer = document.getElementById('chatContainer');
|
| 1351 |
+
const closeChat = document.getElementById('closeChat');
|
| 1352 |
+
const chatInput = document.getElementById('chatInput');
|
| 1353 |
+
const sendMessage = document.getElementById('sendMessage');
|
| 1354 |
+
const chatMessages = document.getElementById('chatMessages');
|
| 1355 |
+
const completeTaskButtons = document.querySelectorAll('.complete-task');
|
| 1356 |
+
const waterCups = document.querySelectorAll('.water-cup');
|
| 1357 |
+
|
| 1358 |
+
// Timeline modal elements
|
| 1359 |
+
const showOocytesBtn = document.getElementById('showOocytes');
|
| 1360 |
+
const oocyteVisualization = document.querySelector('.oocyte-visualization');
|
| 1361 |
+
const showEmbryosBtn = document.getElementById('showEmbryos');
|
| 1362 |
+
const embryoVisualization = document.querySelector('.embryo-visualization');
|
| 1363 |
+
const nameEmbryoBtn = document.getElementById('nameEmbryo');
|
| 1364 |
+
const nameEmbryoModal = document.getElementById('nameEmbryoModal');
|
| 1365 |
+
const closeNameEmbryoModal = document.getElementById('closeNameEmbryoModal');
|
| 1366 |
+
const embryoNameInput = document.getElementById('embryoNameInput');
|
| 1367 |
+
const saveEmbryoNameBtn = document.getElementById('saveEmbryoName');
|
| 1368 |
+
const positiveOutcomeBtn = document.getElementById('positiveOutcome');
|
| 1369 |
+
const negativeOutcomeBtn = document.getElementById('negativeOutcome');
|
| 1370 |
+
const positiveOutcomeScreen = document.getElementById('positiveOutcomeScreen');
|
| 1371 |
+
const negativeOutcomeScreen = document.getElementById('negativeOutcomeScreen');
|
| 1372 |
+
const closePositiveOutcome = document.getElementById('closePositiveOutcome');
|
| 1373 |
+
const closeNegativeOutcome = document.getElementById('closeNegativeOutcome');
|
| 1374 |
+
|
| 1375 |
+
// Support circle elements
|
| 1376 |
+
const supportCircleModal = document.getElementById('supportCircleModal');
|
| 1377 |
+
const closeSupportCircleModal = document.getElementById('closeSupportCircleModal');
|
| 1378 |
+
const addSupportPerson = document.getElementById('addSupportPerson');
|
| 1379 |
+
|
| 1380 |
+
// Patient stories elements
|
| 1381 |
+
const patientStoriesModal = document.getElementById('patientStoriesModal');
|
| 1382 |
+
const closePatientStoriesModal = document.getElementById('closePatientStoriesModal');
|
| 1383 |
+
|
| 1384 |
+
// Learning library elements
|
| 1385 |
+
const learningLibraryModal = document.getElementById('learningLibraryModal');
|
| 1386 |
+
const closeLearningLibraryModal = document.getElementById('closeLearningLibraryModal');
|
| 1387 |
+
|
| 1388 |
+
// Show onboarding screen immediately (no splash screen)
|
| 1389 |
+
onboardingScreen.style.display = 'flex';
|
| 1390 |
+
|
| 1391 |
+
// Onboarding navigation
|
| 1392 |
+
nextOnboardingBtn.addEventListener('click', () => {
|
| 1393 |
+
if (currentOnboardingSlide < 3) {
|
| 1394 |
+
onboardingSlides[currentOnboardingSlide - 1].style.display = 'none';
|
| 1395 |
+
onboardingDots[currentOnboardingSlide - 1].classList.remove('active');
|
| 1396 |
+
|
| 1397 |
+
currentOnboardingSlide++;
|
| 1398 |
+
onboardingSlides[currentOnboardingSlide - 1].style.display = 'flex';
|
| 1399 |
+
onboardingDots[currentOnboardingSlide - 1].classList.add('active';
|
| 1400 |
+
|
| 1401 |
+
if (currentOnboardingSlide === 3) {
|
| 1402 |
+
nextOnboardingBtn.textContent = 'Get Started';
|
| 1403 |
+
skipOnboardingBtn.style.display = 'block';
|
| 1404 |
+
}
|
| 1405 |
+
} else {
|
| 1406 |
+
onboardingScreen.style.display = 'none';
|
| 1407 |
+
authScreen.style.display = 'flex';
|
| 1408 |
+
}
|
| 1409 |
+
});
|
| 1410 |
+
|
| 1411 |
+
skipOnboardingBtn.addEventListener('click', () => {
|
| 1412 |
+
onboardingScreen.style.display = 'none';
|
| 1413 |
+
authScreen.style.display = 'flex';
|
| 1414 |
+
});
|
| 1415 |
+
|
| 1416 |
+
// Theme selection
|
| 1417 |
+
themeOptions.forEach(option => {
|
| 1418 |
+
option.addEventListener('click', function() {
|
| 1419 |
+
document.querySelector('.theme-option.selected').classList.remove('selected');
|
| 1420 |
+
this.classList.add('selected');
|
| 1421 |
+
selectedTheme = this.dataset.theme;
|
| 1422 |
+
});
|
| 1423 |
+
});
|
| 1424 |
+
|
| 1425 |
+
// Emoji selection
|
| 1426 |
+
emojiOptions.forEach(option => {
|
| 1427 |
+
option.addEventListener('click', function() {
|
| 1428 |
+
document.querySelector('.emoji-option.selected').classList.remove('selected');
|
| 1429 |
+
this.classList.add('selected');
|
| 1430 |
+
selectedEmoji = this.dataset.emoji;
|
| 1431 |
+
});
|
| 1432 |
+
});
|
| 1433 |
+
|
| 1434 |
+
// Login flow
|
| 1435 |
+
loginBtn.addEventListener('click', () => {
|
| 1436 |
+
authScreen.style.display = 'none';
|
| 1437 |
+
welcomeScreen.style.display = 'flex';
|
| 1438 |
+
document.getElementById('welcomeMessage').textContent = `Hi ${document.querySelector('#authScreen input').value || 'there'}, we're honored to walk with you`;
|
| 1439 |
+
});
|
| 1440 |
+
|
| 1441 |
+
startJourneyBtn.addEventListener('click', () => {
|
| 1442 |
+
welcomeScreen.style.display = 'none';
|
| 1443 |
+
appContainer.style.display = 'block';
|
| 1444 |
+
userEmoji.textContent = selectedEmoji;
|
| 1445 |
+
|
| 1446 |
+
// Apply selected theme
|
| 1447 |
+
document.documentElement.style.setProperty('--theme-color',
|
| 1448 |
+
selectedTheme === 'purple' ? '#9C7ADE' :
|
| 1449 |
+
selectedTheme === 'blue' ? '#7A9CDE' :
|
| 1450 |
+
selectedTheme === 'pink' ? '#DE7AC4' :
|
| 1451 |
+
'#7ADE9C');
|
| 1452 |
+
|
| 1453 |
+
document.documentElement.style.setProperty('--theme-dark',
|
| 1454 |
+
selectedTheme === 'purple' ? '#7B5DBF' :
|
| 1455 |
+
selectedTheme === 'blue' ? '#5D7BBF' :
|
| 1456 |
+
selectedTheme === 'pink' ? '#BF5DA9' :
|
| 1457 |
+
'#5DBF7B');
|
| 1458 |
+
});
|
| 1459 |
+
|
| 1460 |
+
// All other existing event listeners from previous implementation
|
| 1461 |
+
// ... (all the existing event listeners from the previous code) ...
|
| 1462 |
+
|
| 1463 |
+
// Timeline modal interactions
|
| 1464 |
+
showOocytesBtn.addEventListener('click', () => {
|
| 1465 |
+
oocyteVisualization.style.display = oocyteVisualization.style.display === 'flex' ? 'none' : 'flex';
|
| 1466 |
+
showOocytesBtn.textContent = oocyteVisualization.style.display === 'flex' ? 'Hide Oocytes' : 'View Oocytes';
|
| 1467 |
+
});
|
| 1468 |
+
|
| 1469 |
+
showEmbryosBtn.addEventListener('click', () => {
|
| 1470 |
+
embryoVisualization.style.display = embryoVisualization.style.display === 'flex' ? 'none' : 'flex';
|
| 1471 |
+
showEmbryosBtn.textContent = embryoVisualization.style.display === 'flex' ? 'Hide Embryos' : 'View Embryo Development';
|
| 1472 |
+
});
|
| 1473 |
+
|
| 1474 |
+
nameEmbryoBtn.addEventListener('click', () => {
|
| 1475 |
+
toggleModal(nameEmbryoModal);
|
| 1476 |
+
});
|
| 1477 |
+
|
| 1478 |
+
closeNameEmbryoModal.addEventListener('click', () => {
|
| 1479 |
+
toggleModal(nameEmbryoModal, false);
|
| 1480 |
+
});
|
| 1481 |
+
|
| 1482 |
+
saveEmbryoNameBtn.addEventListener('click', () => {
|
| 1483 |
+
embryoName = embryoNameInput.value || 'Baby Bean';
|
| 1484 |
+
nameEmbryoBtn.textContent = embryoName;
|
| 1485 |
+
toggleModal(nameEmbryoModal, false);
|
| 1486 |
+
});
|
| 1487 |
+
|
| 1488 |
+
positiveOutcomeBtn.addEventListener('click', () => {
|
| 1489 |
+
toggleModal(timelineModal, false);
|
| 1490 |
+
toggleModal(positiveOutcomeScreen);
|
| 1491 |
+
createConfetti();
|
| 1492 |
+
});
|
| 1493 |
+
|
| 1494 |
+
negativeOutcomeBtn.addEventListener('click', () => {
|
| 1495 |
+
toggleModal(timelineModal, false);
|
| 1496 |
+
toggleModal(negativeOutcomeScreen);
|
| 1497 |
+
});
|
| 1498 |
+
|
| 1499 |
+
closePositiveOutcome.addEventListener('click', () => {
|
| 1500 |
+
|
| 1501 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
🌀 1. Splash Screen Visuals: 3D animated woman & partner walking toward blooming heart/flower. Action: Auto fades to next screen with glowing app name and soft background music. Animated Elements: Floating embryos, hearts, sparkles. 👋 2. Onboarding Flow (for first-time users) Screens (swipeable or auto-slide): “We’re here for your journey” – Bot with clipboard “Track every stage with confidence” – IVF icons timeline “Feel heard, feel supported” – Journaling & counselor scene Action: "Get Started" button → leads to login/signup 🔐 3. Login / Signup Page Fields: Name, Mobile Number (OTP ) First Login Action: Welcome animation: "Hi [Name], we’re honored to walk with you 💜" Personal theme selection (choose colors/emojis) Data Stored: Name, theme, mood preferences 🏡 4. Home Dashboard prompt greentings with personalized emotional supporting message💫” Sections: Today’s Checklist (appointments, tasks) Mood Check-in popup (if first login today) Short reminder quote (Give multiple in swaping model) Animated Elements: Chat bubble from friend bot, mood smiley pulsing 🧭 5. Journey Tracker -Option to select the journey (IVF, IUI, FET) IF IVF selected show the below journey: Stages: Each one animated with icons and progress bars Registration History Consultation Investigations Stimulation (Expand on this to show a calander of 25 days and show every 4 day what injection is taken and what is the Follical scan report and lab reports) Oocyte Retrieval (expand on this to select number of oocyte, enter number and that many dummy oocyte illustrations are generated) Embryo Culture (show growth of embryo illustration through 7 days and mention the quality of it (Good, avg, poor) FET (Exapnd on this to show the embryo that is going to be transferd. show precautions and Do's and Dont's before this processes) Outcome (Expand on this give option to select pregnancy positive or negative, if positive pop up a celebration animations and congratulate them. if pregnancy is negative give an emotional support quote and encourage them for more trys) Actions: Tap stage → Expand with description, date, tasks Embryo Nicknaming: “Name your embryo!” → animation of “Baby Bean 🌱” Mark progress → subtle animation & emoji feedback 📅 6. Calendar & Appointments Views: Daily, Weekly Actions: Add appointment/reminder Receive subtle push reminders Visuals: Colored event dots, icon overlays 📂 7. Medical Records Types: Ultrasound, Blood Test, Prescription, Reports Actions: Upload files (pdf/image/video) Add note to record View list with date & type Animation: Floating folders, click-to-expand document 💊 8. Medication Tracker Daily View: Carousel: Morning/Evening meds Toggle “Taken” ✅ or “Skipped” ❌ Progress Ring: Weekly compliance tracker Push Notification: “It’s time for your evening dose 💉” 🧘♀️ 9. Mood Check-In & Wellness Trigger: Morning prompt (or floating pop-up) Mood Emojis: 😊 😔 😐 😢 Actions: Select → Short affirmations & flower animation Journal Prompt: “Want to talk about it?” Suggestions: “Go for a walk 🥾” / “Try a short breathing exercise 🌬️” Add-ons: Audio meditation Daily affirmations Breathing bubble animation 💬 10. Support Bot / Friend Bot Visible: Bottom right corner Looks Like: Cute animated avatar (like a counselor/friend) Actions: Chat with friendly responses Say comforting things when mood is low Can redirect to resources or timeline 🪐 11. Support Circle Visual: Universe orbit model (user at center, friends around) Add Support: “Invite loved one” → name, relation, emoji Purpose: Encouragement messages Let family see basic progress (optional) 🎥 12. Patient Stories Visuals: Cards with story preview Actions: Tap to view video/story Reaction buttons: 💜 “This helped me” Categories: Emotional Journey Treatment Experience Tips from Others 📚 13. Learning Library Format: Short videos + Illustrated explainers Topics: IVF Basics What is Oocyte Retrieval? Diet during treatment Managing emotional stress Daily Tip: “Did you know?” pop-up in dashboard 🎉 14. Outcome & Celebrations Positive Result: Confetti animation “You did it!” – Baby socks visual Negative Result: Hug animation from bot Message: “You are not alone — we’re here with you 💜” 🎨 15. Personalization Features Theme Selector: Lavender, Mint, Peach, Sky Embryo Nicknaming Dashboard Emoji Customizer Personal Quote Section
|
| 2 |
+
remove the splash screen
|