Spaces:
Running
Running
يحتاج الى تصميم من الصفر - Follow Up Deployment
Browse files- index.html +311 -326
index.html
CHANGED
|
@@ -24,412 +24,397 @@
|
|
| 24 |
}
|
| 25 |
|
| 26 |
.health-card {
|
| 27 |
-
transition: transform 0.3s;
|
| 28 |
}
|
| 29 |
|
| 30 |
.health-card:hover {
|
| 31 |
transform: translateY(-5px);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
}
|
| 33 |
</style>
|
| 34 |
</head>
|
| 35 |
-
<body class="bg-
|
| 36 |
-
<!-- شريط التنقل -->
|
| 37 |
-
<nav class="
|
| 38 |
<div class="flex items-center">
|
| 39 |
-
<
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
</div>
|
| 42 |
-
<button id="theme-toggle" class="p-2 rounded-full bg-gray-200 dark:bg-gray-700">
|
| 43 |
-
<i class="fas fa-moon dark:hidden"></i>
|
| 44 |
-
<i class="fas fa-sun hidden dark:block"></i>
|
| 45 |
-
</button>
|
| 46 |
</nav>
|
| 47 |
|
| 48 |
<!-- المحتوى الرئيسي -->
|
| 49 |
-
<main class="container mx-auto px-4 py-8 max-w-
|
| 50 |
-
<!-- الشاشة الرئيسية -->
|
| 51 |
-
<div id="main-screen" class="fade-in
|
| 52 |
-
<div class="
|
| 53 |
-
<div class="
|
| 54 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
</div>
|
| 56 |
-
<h2 class="text-2xl font-bold mb-6">مرحباً بك في MrAzoooz</h2>
|
| 57 |
-
<p class="text-lg mb-8">مساعدك الصحي الذكي الذي يقدم لك النصائح والعلاجات حسب حالتك الصحية</p>
|
| 58 |
|
| 59 |
-
<div class="bg-blue-
|
| 60 |
-
<h3 class="text-xl font-semibold mb-
|
| 61 |
-
<div class="flex justify-center space-x-4 space-x-reverse">
|
| 62 |
-
<button id="sick-btn" class="bg-red-500 hover:
|
|
|
|
| 63 |
نعم، أنا مريض
|
| 64 |
</button>
|
| 65 |
-
<button id="healthy-btn" class="bg-green-500 hover:
|
|
|
|
| 66 |
لا، أنا بصحة جيدة
|
| 67 |
</button>
|
| 68 |
</div>
|
| 69 |
</div>
|
| 70 |
|
| 71 |
-
<div class="grid grid-cols-1 md:grid-cols-3 gap-
|
| 72 |
-
<div class="health-card
|
| 73 |
-
<div class="
|
| 74 |
-
<i class="fas fa-stethoscope"></i>
|
| 75 |
</div>
|
| 76 |
-
<h4 class="font-semibold">تشخيص أولي</h4>
|
| 77 |
-
<p class="text-
|
|
|
|
|
|
|
|
|
|
| 78 |
</div>
|
| 79 |
|
| 80 |
-
<div class="health-card
|
| 81 |
-
<div class="
|
| 82 |
-
<i class="fas fa-apple-alt"></i>
|
| 83 |
</div>
|
| 84 |
-
<h4 class="font-semibold">نصائح غذائية</h4>
|
| 85 |
-
<p class="text-
|
|
|
|
|
|
|
|
|
|
| 86 |
</div>
|
| 87 |
|
| 88 |
-
<div class="health-card
|
| 89 |
-
<div class="
|
| 90 |
-
<i class="fas fa-brain"></i>
|
| 91 |
</div>
|
| 92 |
-
<h4 class="font-semibold">صحة نفسية</h4>
|
| 93 |
-
<p class="text-
|
|
|
|
|
|
|
|
|
|
| 94 |
</div>
|
| 95 |
</div>
|
| 96 |
</div>
|
| 97 |
</div>
|
| 98 |
|
| 99 |
-
<!-- شاشة الم
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
<div id="sick-screen" class="hidden fade-in">
|
| 101 |
-
<div class="
|
| 102 |
-
<button id="back-from-sick" class="mb-
|
| 103 |
-
<i class="fas fa-arrow-right ml-
|
| 104 |
-
العودة
|
| 105 |
</button>
|
| 106 |
|
| 107 |
-
<h2 class="text-2xl font-bold mb-
|
| 108 |
|
| 109 |
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-8">
|
| 110 |
-
<button class="symptom-btn
|
| 111 |
-
<
|
|
|
|
|
|
|
| 112 |
<span>صداع</span>
|
| 113 |
</button>
|
| 114 |
|
| 115 |
-
<button class="symptom-btn
|
| 116 |
-
<
|
|
|
|
|
|
|
| 117 |
<span>ألم بطن</span>
|
| 118 |
</button>
|
| 119 |
|
| 120 |
-
<button class="symptom-btn
|
| 121 |
-
<
|
|
|
|
|
|
|
| 122 |
<span>زكام</span>
|
| 123 |
</button>
|
| 124 |
|
| 125 |
-
<button class="symptom-btn
|
| 126 |
-
<
|
|
|
|
|
|
|
| 127 |
<span>حرارة</span>
|
| 128 |
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
</div>
|
| 130 |
|
| 131 |
-
<div class="bg-gray-100 dark:bg-gray-700 p-
|
| 132 |
-
<h3 class="font-semibold mb-
|
| 133 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 134 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
</div>
|
| 136 |
</div>
|
| 137 |
|
| 138 |
-
<!-- شاشة المستخدم السليم -->
|
| 139 |
<div id="healthy-screen" class="hidden fade-in">
|
| 140 |
-
<div class="
|
| 141 |
-
<button id="back-from-healthy" class="mb-
|
| 142 |
-
<i class="fas fa-arrow-right ml-
|
| 143 |
-
العودة
|
| 144 |
</button>
|
| 145 |
|
| 146 |
-
<h2 class="text-2xl font-bold mb-
|
| 147 |
|
| 148 |
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
|
| 149 |
-
<div class="bg-blue-50 dark:bg-blue-900/30 p-
|
| 150 |
-
<div class="flex items-center mb-
|
| 151 |
-
<div class="bg-blue-100 dark:bg-blue-800
|
| 152 |
-
<i class="fas fa-tint text-blue-500"></i>
|
| 153 |
</div>
|
| 154 |
-
<h3 class="font-semibold">ترطيب الجسم</h3>
|
| 155 |
</div>
|
| 156 |
-
<p class="text-gray-600 dark:text-gray-300">احرص على شرب 8 أكواب من الماء يومياً للحفاظ على ترطيب جسمك</p>
|
| 157 |
-
<div class="
|
| 158 |
-
<div class="bg-
|
|
|
|
|
|
|
|
|
|
| 159 |
</div>
|
| 160 |
-
<p class="text-xs mt-2 text-gray-500 dark:text-gray-400">5/8 أكواب مكتملة اليوم</p>
|
| 161 |
</div>
|
| 162 |
|
| 163 |
-
<div class="bg-green-50 dark:bg-green-900/30 p-
|
| 164 |
-
<div class="flex items-center mb-
|
| 165 |
-
<div class="bg-green-100 dark:bg-green-800
|
| 166 |
-
<i class="fas fa-apple-alt text-green-500"></i>
|
| 167 |
</div>
|
| 168 |
-
<h3 class="font-semibold">نظام غذائي</
|
| 169 |
</div>
|
| 170 |
-
<p class="text-gray-600 dark:text-gray-300">تناول 5 حصص من الفواكه والخضروات اليوم لتعزيز مناعتك</p>
|
| 171 |
-
<div class="
|
| 172 |
-
<div class="bg-
|
|
|
|
|
|
|
|
|
|
| 173 |
</div>
|
| 174 |
-
<p class="text-xs mt-2 text-gray-500 dark:text-gray-400">2/5 حصص مكتملة اليوم</p>
|
| 175 |
</div>
|
| 176 |
|
| 177 |
-
<div class="bg-purple-50 dark:bg-purple-900/30 p-
|
| 178 |
-
<div class="flex items-center mb-
|
| 179 |
-
<div class="bg-purple-100 dark:bg-purple-800
|
| 180 |
-
<i class="fas fa-running text-purple-500"></i>
|
| 181 |
</div>
|
| 182 |
-
<h3 class="font-semibold">نشاط بدني</h3>
|
| 183 |
</div>
|
| 184 |
-
<p class="text-gray-600 dark:text-gray-300">30 دقيقة من المشي اليومي تحسن صحتك الجسدية والنفس
|
| 185 |
-
<div class="
|
| 186 |
-
<div class="bg-
|
|
|
|
|
|
|
|
|
|
| 187 |
</div>
|
| 188 |
-
<p class="text-xs mt-2 text-gray-500 dark:text-gray-400">10/30 دقيقة مكتملة اليوم</p>
|
| 189 |
</div>
|
| 190 |
|
| 191 |
-
<div class="bg-yellow-50 dark:bg-yellow-900/30 p-
|
| 192 |
-
<div class="flex items-center mb-
|
| 193 |
-
<div class="bg-yellow-100 dark:bg-yellow-800
|
| 194 |
-
<i class="fas fa-brain text-yellow-500"></i>
|
| 195 |
</div>
|
| 196 |
-
<h3 class="font-semibold">صحة نفسية</h3>
|
| 197 |
</div>
|
| 198 |
-
<p class="text-gray-600 dark:text-gray-300">خصص 10 دقائق
|
| 199 |
-
<div class="
|
| 200 |
-
<div class="bg-
|
|
|
|
|
|
|
|
|
|
| 201 |
</div>
|
| 202 |
-
<p class="text-xs mt-2 text-gray-500 dark:text-gray-400">0/10 دقائق مكتملة اليوم</p>
|
| 203 |
</div>
|
| 204 |
</div>
|
| 205 |
|
| 206 |
-
<div class="bg-
|
| 207 |
-
<h3 class="font-semibold mb-3">نصحة اليوم</h3>
|
| 208 |
-
<p class="text-gray-600 dark:text-gray-300">النوم الكافي هو أساس الصحة الجيدة. احرص على النوم 7-8 ساعات كل ليلة لتعزيز مناعتك وتحسين مزاجك.</p>
|
| 209 |
-
</div>
|
| 210 |
-
</div>
|
| 211 |
-
</div>
|
| 212 |
-
|
| 213 |
-
<!-- شاشة تفاصيل المرض -->
|
| 214 |
-
<div id="illness-detail" class="hidden fade-in">
|
| 215 |
-
<div class="bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6">
|
| 216 |
-
<button id="back-from-detail" class="mb-4 text-blue-500 flex items-center">
|
| 217 |
-
<i class="fas fa-arrow-right ml-1"></i>
|
| 218 |
-
العودة
|
| 219 |
-
</button>
|
| 220 |
-
|
| 221 |
-
<h2 class="text-2xl font-bold mb-6 text-center" id="illness-title">الصداع</h2>
|
| 222 |
-
|
| 223 |
-
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
|
| 224 |
-
<div class="bg-blue-50 dark:bg-blue-900/30 p-5 rounded-lg">
|
| 225 |
-
<h3 class="font-semibold mb-3 flex items-center">
|
| 226 |
-
<i class="fas fa-info-circle text-blue-500 ml-2"></i>
|
| 227 |
-
شرح الحالة
|
| 228 |
-
</h3>
|
| 229 |
-
<p class="text-gray-600 dark:text-gray-300" id="illness-desc">الصداع هو ألم في الرأس أو الفروة أو الرقبة. قد يكون خفيفاً أو شديداً، ومتقطعاً أو مستمراً.</p>
|
| 230 |
-
</div>
|
| 231 |
-
|
| 232 |
-
<div class="bg-red-50 dark:bg-red-900/30 p-5 rounded-lg">
|
| 233 |
-
<h3 class="font-semibold mb-3 flex items-center">
|
| 234 |
-
<i class="fas fa-exclamation-circle text-red-500 ml-2"></i>
|
| 235 |
-
الأسباب المحتملة
|
| 236 |
-
</h3>
|
| 237 |
-
<ul class="list-disc pr-5 text-gray-600 dark:text-gray-300" id="illness-causes">
|
| 238 |
-
<li>التوتر والقلق</li>
|
| 239 |
-
<li>قلة النوم</li>
|
| 240 |
-
<li>الجفاف</li>
|
| 241 |
-
<li>مشاكل في النظر</li>
|
| 242 |
-
</ul>
|
| 243 |
-
</div>
|
| 244 |
-
|
| 245 |
-
<div class="bg-green-50 dark:bg-green-900/30 p-5 rounded-lg">
|
| 246 |
-
<h3 class="font-semibold mb-3 flex items-center">
|
| 247 |
-
<i class="fas fa-first-aid text-green-500 ml-2"></i>
|
| 248 |
-
علاجات أولية
|
| 249 |
-
</h3>
|
| 250 |
-
<ul class="list-disc pr-5 text-gray-600 dark:text-gray-300" id="illness-treatments">
|
| 251 |
-
<li>الراحة في غرفة مظلمة</li>
|
| 252 |
-
<li>شرب الماء</li>
|
| 253 |
-
<li>مسكنات الألم مثل الباراسيتامول</li>
|
| 254 |
-
<li>كمادات باردة على الجبين</li>
|
| 255 |
-
</ul>
|
| 256 |
-
</div>
|
| 257 |
-
|
| 258 |
-
<div class="bg-purple-50 dark:bg-purple-900/30 p-5 rounded-lg">
|
| 259 |
-
<h3 class="font-semibold mb-3 flex items-center">
|
| 260 |
-
<i class="fas fa-leaf text-purple-500 ml-2"></i>
|
| 261 |
-
نصائح طبيعية
|
| 262 |
-
</h3>
|
| 263 |
-
<ul class="list-disc pr-5 text-gray-600 dark:text-gray-300" id="illness-natural">
|
| 264 |
-
<li>شرب شاي النعناع</li>
|
| 265 |
-
<li>التدليك اللطيف للصدغين</li>
|
| 266 |
-
<li>استنشاق زيت اللافندر</li>
|
| 267 |
-
<li>ممارسة تمارين الاسترخاء</li>
|
| 268 |
-
</ul>
|
| 269 |
-
</div>
|
| 270 |
-
</div>
|
| 271 |
-
|
| 272 |
-
<div class="bg-yellow-50 dark:bg-yellow-900/30 p-5 rounded-lg mb-6">
|
| 273 |
-
<h3 class="font-semibold mb-3 flex items-center">
|
| 274 |
-
<i class="fas fa-user-md text-yellow-500 ml-2"></i>
|
| 275 |
-
متى يجب زيارة الطبيب؟
|
| 276 |
-
</h3>
|
| 277 |
-
<p class="text-gray-600 dark:text-gray-300" id="illness-doctor">إذا استمر الصداع أكثر من يومين أو كان مصحوباً بالغثيان أو القيء أو اضطرابات في الرؤية، يجب استشارة الطبيب.</p>
|
| 278 |
-
</div>
|
| 279 |
-
|
| 280 |
-
<button class="w-full bg-blue-500 hover:bg-blue-600 text-white py-3 rounded-lg font-medium transition">
|
| 281 |
-
<i class="fas fa-notes-medical ml-2"></i>
|
| 282 |
-
حفظ الخطة العلاجية
|
| 283 |
-
</button>
|
| 284 |
-
</div>
|
| 285 |
-
</div>
|
| 286 |
-
</main>
|
| 287 |
-
|
| 288 |
-
<!-- التذييل -->
|
| 289 |
-
<footer class="bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 mt-12 py-6 px-4 text-center">
|
| 290 |
-
<p class="text-gray-600 dark:text-gray-400">MrAzoooz - مساعدك الصحي الذكي ✨</p>
|
| 291 |
-
<p class="text-sm text-gray-500 dark:text-gray-500 mt-2">هذا التطبيق لا يغني عن استشارة الطبيب المتخصص</p>
|
| 292 |
-
</footer>
|
| 293 |
-
|
| 294 |
-
<script>
|
| 295 |
-
// بيانات الأمراض
|
| 296 |
-
const illnesses = {
|
| 297 |
-
'صداع': {
|
| 298 |
-
desc: 'الصداع هو ألم في الرأس أو الفروة أو الرقبة. قد يكون خفيفاً أو شديداً، ومتقطعاً أو مستمراً.',
|
| 299 |
-
causes: ['التوتر والقلق', 'قلة النوم', 'الجفاف', 'مشاكل في النظر'],
|
| 300 |
-
treatments: ['الراحة في غرفة مظلمة', 'شرب الماء', 'مسكنات الألم مثل الباراسيتامول', 'كمادات باردة على الجبين'],
|
| 301 |
-
natural: ['شرب شاي النعناع', 'التدليك اللطيف للصدغين', 'استنشاق زيت اللافندر', 'ممارسة تمارين الاسترخاء'],
|
| 302 |
-
doctor: 'إذا استمر الصداع أكثر من يومين أو كان مصحوباً بالغثيان أو القيء أو اضطرابات في الرؤية، يجب استشارة الطبيب.'
|
| 303 |
-
},
|
| 304 |
-
'ألم بطن': {
|
| 305 |
-
desc: 'ألم البطن هو الشعور بعدم الراحة في المنطقة بين الصدر والحوض. يمكن أن يتراوح من خفيف إلى شديد.',
|
| 306 |
-
causes: ['عسر الهضم', 'الغازات', 'التهاب المعدة', 'متلازمة القولون العصبي'],
|
| 307 |
-
treatments: ['الراحة', 'شرب السوائل الدافئة', 'تجنب الأطعمة الدسمة', 'استخدام قربة دافئة على البطن'],
|
| 308 |
-
natural: ['شرب شاي البابونج', 'تناول الزنجبيل', 'تجنب الأطعمة الحارة', 'تناول وجبات صغيرة متكررة'],
|
| 309 |
-
doctor: 'إذا استمر الألم أكثر من 48 ساعة أو كان مصحوباً بحمى أو قيء دموي، يجب استشارة الطبيب فوراً.'
|
| 310 |
-
},
|
| 311 |
-
'زكام': {
|
| 312 |
-
desc: 'الزكام هو عدوى فيروسية تصيب الجهاز التنفسي العلوي، وتسبب أعراضاً مثل سيلان الأنف والعطس.',
|
| 313 |
-
causes: ['الفيروسات', 'الاختلاط بالمرضى', 'ضعف المناعة', 'التعرض للبرد'],
|
| 314 |
-
treatments: ['الراحة', 'شرب السوائل الدافئة', 'مضادات الاحتقان', 'مسكنات الألم'],
|
| 315 |
-
natural: ['شرب شاي بالليمون والعسل', 'استنشاق البخار', 'الغرغرة بالماء المالح', 'تناول فيتامين C'],
|
| 316 |
-
doctor: 'إذا استمرت الأعراض أكثر من 10 أيام أو كانت مصحوبة بحمى عالية، يجب استشارة الطبيب.'
|
| 317 |
-
},
|
| 318 |
-
'حرارة': {
|
| 319 |
-
desc: 'الحمى هي ارتفاع درجة حرارة الجسم فوق المستوى الطبيعي (37 درجة مئوية)، وهي علامة على مقاومة الجسم للعدوى.',
|
| 320 |
-
causes: ['العدوى الفيروسية أو البكتيرية', 'التهاب الحلق', 'التهاب الأذن', 'الالتهاب الرئوي'],
|
| 321 |
-
treatments: ['الراحة', 'شرب الكثير من السوائل', 'استخدام خافضات الحرارة', 'الكمادات الباردة'],
|
| 322 |
-
natural: ['شرب شاي الزنجبيل', 'الاستحمام بماء فاتر', 'ارتداء ملابس خفيفة', 'تناول حساء الدجاج'],
|
| 323 |
-
doctor: 'إذا تجاوزت الحرارة 39 درجة مئوية أو استمرت أكثر من 3 أيام، يجب استشارة الطبيب فوراً.'
|
| 324 |
-
}
|
| 325 |
-
};
|
| 326 |
-
|
| 327 |
-
// عناصر DOM
|
| 328 |
-
const mainScreen = document.getElementById('main-screen');
|
| 329 |
-
const sickScreen = document.getElementById('sick-screen');
|
| 330 |
-
const healthyScreen = document.getElementById('healthy-screen');
|
| 331 |
-
const illnessDetail = document.getElementById('illness-detail');
|
| 332 |
-
|
| 333 |
-
const sickBtn = document.getElementById('sick-btn');
|
| 334 |
-
const healthyBtn = document.getElementById('healthy-btn');
|
| 335 |
-
const backFromSick = document.getElementById('back-from-sick');
|
| 336 |
-
const backFromHealthy = document.getElementById('back-from-healthy');
|
| 337 |
-
const backFromDetail = document.getElementById('back-from-detail');
|
| 338 |
-
|
| 339 |
-
const symptomBtns = document.querySelectorAll('.symptom-btn');
|
| 340 |
-
const themeToggle = document.getElementById('theme-toggle');
|
| 341 |
-
|
| 342 |
-
// تبديل الوضع الليلي/النهاري
|
| 343 |
-
themeToggle.addEventListener('click', () => {
|
| 344 |
-
document.documentElement.classList.toggle('dark');
|
| 345 |
-
localStorage.setItem('theme', document.documentElement.classList.contains('dark') ? 'dark' : 'light');
|
| 346 |
-
});
|
| 347 |
-
|
| 348 |
-
// التحقق من سمة التخزين المحلي
|
| 349 |
-
if (localStorage.getItem('theme') === 'dark') {
|
| 350 |
-
document.documentElement.classList.add('dark');
|
| 351 |
-
}
|
| 352 |
-
|
| 353 |
-
// الانتقال إلى شاشة المريض
|
| 354 |
-
sickBtn.addEventListener('click', () => {
|
| 355 |
-
mainScreen.classList.add('hidden');
|
| 356 |
-
sickScreen.classList.remove('hidden');
|
| 357 |
-
});
|
| 358 |
-
|
| 359 |
-
// الانتقال إلى شاشة السليم
|
| 360 |
-
healthyBtn.addEventListener('click', () => {
|
| 361 |
-
mainScreen.classList.add('hidden');
|
| 362 |
-
healthyScreen.classList.remove('hidden');
|
| 363 |
-
});
|
| 364 |
-
|
| 365 |
-
// العودة من شاشة المريض
|
| 366 |
-
backFromSick.addEventListener('click', () => {
|
| 367 |
-
sickScreen.classList.add('hidden');
|
| 368 |
-
mainScreen.classList.remove('hidden');
|
| 369 |
-
});
|
| 370 |
-
|
| 371 |
-
// العودة من شاشة السليم
|
| 372 |
-
backFromHealthy.addEventListener('click', () => {
|
| 373 |
-
healthyScreen.classList.add('hidden');
|
| 374 |
-
mainScreen.classList.remove('hidden');
|
| 375 |
-
});
|
| 376 |
-
|
| 377 |
-
// العودة من شاشة التفاصيل
|
| 378 |
-
backFromDetail.addEventListener('click', () => {
|
| 379 |
-
illnessDetail.classList.add('hidden');
|
| 380 |
-
sickScreen.classList.remove('hidden');
|
| 381 |
-
});
|
| 382 |
-
|
| 383 |
-
// عرض تفاصيل المرض
|
| 384 |
-
symptomBtns.forEach(btn => {
|
| 385 |
-
btn.addEventListener('click', () => {
|
| 386 |
-
const illnessName = btn.querySelector('span').textContent;
|
| 387 |
-
showIllnessDetail(illnessName);
|
| 388 |
-
});
|
| 389 |
-
});
|
| 390 |
-
|
| 391 |
-
// وظيفة عرض تفاصيل المرض
|
| 392 |
-
function showIllnessDetail(illnessName) {
|
| 393 |
-
if (illnesses[illnessName]) {
|
| 394 |
-
const illness = illnesses[illnessName];
|
| 395 |
-
|
| 396 |
-
document.getElementById('illness-title').textContent = illnessName;
|
| 397 |
-
document.getElementById('illness-desc').textContent = illness.desc;
|
| 398 |
-
|
| 399 |
-
// تعبئة الأسباب
|
| 400 |
-
const causesList = document.getElementById('illness-causes');
|
| 401 |
-
causesList.innerHTML = '';
|
| 402 |
-
illness.causes.forEach(cause => {
|
| 403 |
-
const li = document.createElement('li');
|
| 404 |
-
li.textContent = cause;
|
| 405 |
-
causesList.appendChild(li);
|
| 406 |
-
});
|
| 407 |
-
|
| 408 |
-
// تعبئة العلاجات
|
| 409 |
-
const treatmentsList = document.getElementById('illness-treatments');
|
| 410 |
-
treatmentsList.innerHTML = '';
|
| 411 |
-
illness.treatments.forEach(treatment => {
|
| 412 |
-
const li = document.createElement('li');
|
| 413 |
-
li.textContent = treatment;
|
| 414 |
-
treatmentsList.appendChild(li);
|
| 415 |
-
});
|
| 416 |
-
|
| 417 |
-
// تعبئة النصائح الطبيعية
|
| 418 |
-
const naturalList = document.getElementById('illness-natural');
|
| 419 |
-
naturalList.innerHTML = '';
|
| 420 |
-
illness.natural.forEach(tip => {
|
| 421 |
-
const li = document.createElement('li');
|
| 422 |
-
li.textContent = tip;
|
| 423 |
-
naturalList.appendChild(li);
|
| 424 |
-
});
|
| 425 |
-
|
| 426 |
-
// نصيحة زيارة الطبيب
|
| 427 |
-
document.getElementById('illness-doctor').textContent = illness.doctor;
|
| 428 |
-
|
| 429 |
-
sickScreen.classList.add('hidden');
|
| 430 |
-
illnessDetail.classList.remove('hidden');
|
| 431 |
-
}
|
| 432 |
-
}
|
| 433 |
-
</script>
|
| 434 |
<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=MrAzoooz/mrazoooz-com" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 435 |
</html>
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
.health-card {
|
| 27 |
+
transition: transform 0.3s, box-shadow 0.3s;
|
| 28 |
}
|
| 29 |
|
| 30 |
.health-card:hover {
|
| 31 |
transform: translateY(-5px);
|
| 32 |
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.gradient-bg {
|
| 36 |
+
background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
.pulse {
|
| 40 |
+
animation: pulse 2s infinite;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
@keyframes pulse {
|
| 44 |
+
0% { transform: scale(1); }
|
| 45 |
+
50% { transform: scale(1.05); }
|
| 46 |
+
100% { transform: scale(1); }
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.progress-ring {
|
| 50 |
+
transition: stroke-dashoffset 0.5s ease-in-out;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
.symptom-btn {
|
| 54 |
+
transition: all 0.3s ease;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.symptom-btn:hover {
|
| 58 |
+
transform: scale(1.05);
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.floating-nav {
|
| 62 |
+
position: fixed;
|
| 63 |
+
bottom: 2rem;
|
| 64 |
+
left: 50%;
|
| 65 |
+
transform: translateX(-50%);
|
| 66 |
+
z-index: 40;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
.glass-effect {
|
| 70 |
+
backdrop-filter: blur(16px) saturate(180%);
|
| 71 |
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
| 72 |
+
background-color: rgba(255, 255, 255, 0.75);
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.dark .glass-effect {
|
| 76 |
+
background-color: rgba(17, 25, 40, 0.75);
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.wave-bg {
|
| 80 |
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%233b82f6' fill-opacity='0.1' d='M0,160L48,144C96,128,192,96,288,106.7C384,117,480,171,576,186.7C672,203,768,181,864,160C960,139,1056,117,1152,117.3C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
|
| 81 |
+
background-size: cover;
|
| 82 |
+
background-position: bottom;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.chat-bubble {
|
| 86 |
+
border-radius: 20px 20px 0 20px;
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
.user-bubble {
|
| 90 |
+
border-radius: 20px 20px 20px 0;
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
.typing-indicator {
|
| 94 |
+
display: inline-flex;
|
| 95 |
+
align-items: center;
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.typing-dot {
|
| 99 |
+
width: 6px;
|
| 100 |
+
height: 6px;
|
| 101 |
+
border-radius: 50%;
|
| 102 |
+
background-color: #9ca3af;
|
| 103 |
+
margin: 0 2px;
|
| 104 |
+
animation: typing 1.4s infinite ease-in-out;
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
.typing-dot:nth-child(2) {
|
| 108 |
+
animation-delay: 0.2s;
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
.typing-dot:nth-child(3) {
|
| 112 |
+
animation-delay: 0.4s;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
@keyframes typing {
|
| 116 |
+
0%, 60%, 100% {
|
| 117 |
+
transform: translateY(0);
|
| 118 |
+
}
|
| 119 |
+
30% {
|
| 120 |
+
transform: translateY(-5px);
|
| 121 |
+
}
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
.symptom-selected {
|
| 125 |
+
transform: scale(1.05);
|
| 126 |
+
box-shadow: 0 0 0 3px #3b82f6;
|
| 127 |
}
|
| 128 |
</style>
|
| 129 |
</head>
|
| 130 |
+
<body class="bg-gradient-to-br from-blue-50 to-indigo-50 dark:from-gray-900 dark:to-gray-800 text-gray-800 dark:text-gray-100 min-h-screen">
|
| 131 |
+
<!-- شريط التنقل المحسّن -->
|
| 132 |
+
<nav class="glass-effect shadow-lg py-4 px-6 flex justify-between items-center sticky top-0 z-50">
|
| 133 |
<div class="flex items-center">
|
| 134 |
+
<div class="relative">
|
| 135 |
+
<div class="w-10 h-10 bg-blue-500 rounded-full flex items-center justify-center mr-2">
|
| 136 |
+
<i class="fas fa-heartbeat text-xl text-white"></i>
|
| 137 |
+
</div>
|
| 138 |
+
<span class="absolute -top-1 -right-1 w-4 h-4 bg-green-400 rounded-full border-2 border-white"></span>
|
| 139 |
+
</div>
|
| 140 |
+
<h1 class="text-2xl font-bold bg-clip-text text-transparent gradient-bg">MrAzoooz</h1>
|
| 141 |
+
</div>
|
| 142 |
+
|
| 143 |
+
<div class="flex items-center space-x-4 space-x-reverse">
|
| 144 |
+
<button class="hidden md:block text-gray-600 dark:text-gray-300 hover:text-blue-500 transition">
|
| 145 |
+
<i class="fas fa-user-circle text-xl"></i>
|
| 146 |
+
</button>
|
| 147 |
+
<button class="hidden md:block text-gray-600 dark:text-gray-300 hover:text-blue-500 transition">
|
| 148 |
+
<i class="fas fa-bell text-xl"></i>
|
| 149 |
+
</button>
|
| 150 |
+
<button id="theme-toggle" class="p-2 rounded-full bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600 transition">
|
| 151 |
+
<i class="fas fa-moon dark:hidden"></i>
|
| 152 |
+
<i class="fas fa-sun hidden dark:block"></i>
|
| 153 |
+
</button>
|
| 154 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 155 |
</nav>
|
| 156 |
|
| 157 |
<!-- المحتوى الرئيسي -->
|
| 158 |
+
<main class="container mx-auto px-4 py-8 max-w-5xl">
|
| 159 |
+
<!-- الشاشة الرئيسية المحسنة -->
|
| 160 |
+
<div id="main-screen" class="fade-in">
|
| 161 |
+
<div class="glass-effect rounded-2xl shadow-xl p-8 border border-white/20 wave-bg">
|
| 162 |
+
<div class="text-center mb-10">
|
| 163 |
+
<div class="w-32 h-32 mx-auto bg-gradient-to-r from-blue-400 to-indigo-500 rounded-full flex items-center justify-center mb-6 pulse">
|
| 164 |
+
<i class="fas fa-user-md text-5xl text-white"></i>
|
| 165 |
+
</div>
|
| 166 |
+
<h2 class="text-3xl font-bold mb-6 bg-clip-text text-transparent gradient-bg">مرحباً بك في MrAzoooz</h2>
|
| 167 |
+
<p class="text-lg mb-8 text-gray-600 dark:text-gray-300">مساعدك الصحي الذكي الذي يقدم لك النصائح والعلاجات حسب حالتك الصحية</p>
|
| 168 |
</div>
|
|
|
|
|
|
|
| 169 |
|
| 170 |
+
<div class="bg-gradient-to-r from-blue-100 to-indigo-100 dark:from-blue-900/40 dark:to-indigo-900/40 p-8 rounded-2xl mb-10 shadow-md">
|
| 171 |
+
<h3 class="text-xl font-semibold mb-6 text-center">كيف تشعر اليوم؟</h3>
|
| 172 |
+
<div class="flex flex-col md:flex-row justify-center space-y-4 md:space-y-0 md:space-x-4 md:space-x-reverse">
|
| 173 |
+
<button id="sick-btn" class="bg-gradient-to-r from-red-500 to-orange-500 hover:from-red-600 hover:to-orange-600 text-white px-8 py-4 rounded-xl font-medium transition flex items-center justify-center shadow-lg transform hover:scale-105">
|
| 174 |
+
<i class="fas fa-tachometer-alt-slow ml-2"></i>
|
| 175 |
نعم، أنا مريض
|
| 176 |
</button>
|
| 177 |
+
<button id="healthy-btn" class="bg-gradient-to-r from-green-500 to-teal-500 hover:from-green-600 hover:to-teal-600 text-white px-8 py-4 rounded-xl font-medium transition flex items-center justify-center shadow-lg transform hover:scale-105">
|
| 178 |
+
<i class="fas fa-smile-beam ml-2"></i>
|
| 179 |
لا، أنا بصحة جيدة
|
| 180 |
</button>
|
| 181 |
</div>
|
| 182 |
</div>
|
| 183 |
|
| 184 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mt-12">
|
| 185 |
+
<div class="health-card glass-effect p-6 rounded-2xl shadow-lg border border-gray-100 dark:border-gray-700 flex flex-col items-center text-center">
|
| 186 |
+
<div class="w-16 h-16 bg-blue-100 dark:bg-blue-900 rounded-2xl flex items-center justify-center mb-4">
|
| 187 |
+
<i class="fas fa-stethoscope text-2xl text-blue-500"></i>
|
| 188 |
</div>
|
| 189 |
+
<h4 class="font-semibold text-lg mb-2">تشخيص أولي</h4>
|
| 190 |
+
<p class="text-gray-600 dark:text-gray-400">احصل على تشخيص أولي لأعراضك الصحية</p>
|
| 191 |
+
<button class="mt-4 text-blue-500 text-sm flex items-center hover:text-blue-600 transition">
|
| 192 |
+
ابدأ الآن <i class="fas fa-arrow-left mr-1"></i>
|
| 193 |
+
</button>
|
| 194 |
</div>
|
| 195 |
|
| 196 |
+
<div class="health-card glass-effect p-6 rounded-2xl shadow-lg border border-gray-100 dark:border-gray-700 flex flex-col items-center text-center">
|
| 197 |
+
<div class="w-16 h-16 bg-green-100 dark:bg-green-900 rounded-2xl flex items-center justify-center mb-4">
|
| 198 |
+
<i class="fas fa-apple-alt text-2xl text-green-500"></i>
|
| 199 |
</div>
|
| 200 |
+
<h4 class="font-semibold text-lg mb-2">نصائح غذائية</h4>
|
| 201 |
+
<p class="text-gray-600 dark:text-gray-400">خطط وجباتك الصحية ونصائح غذائية مخصصة</p>
|
| 202 |
+
<button class="mt-4 text-green-500 text-sm flex items-center hover:text-green-600 transition">
|
| 203 |
+
اكتشف المزيد <i class="fas fa-arrow-left mr-1"></i>
|
| 204 |
+
</button>
|
| 205 |
</div>
|
| 206 |
|
| 207 |
+
<div class="health-card glass-effect p-6 rounded-2xl shadow-lg border border-gray-100 dark:border-gray-700 flex flex-col items-center text-center">
|
| 208 |
+
<div class="w-16 h-16 bg-purple-100 dark:bg-purple-900 rounded-2xl flex items-center justify-center mb-4">
|
| 209 |
+
<i class="fas fa-brain text-2xl text-purple-500"></i>
|
| 210 |
</div>
|
| 211 |
+
<h4 class="font-semibold text-lg mb-2">صحة نفسية</h4>
|
| 212 |
+
<p class="text-gray-600 dark:text-gray-400">تمارين استرخاء ونصائح للصحة النفسية</p>
|
| 213 |
+
<button class="mt-4 text-purple-500 text-sm flex items-center hover:text-purple-600 transition">
|
| 214 |
+
استكشف <i class="fas fa-arrow-left mr-1"></i>
|
| 215 |
+
</button>
|
| 216 |
</div>
|
| 217 |
</div>
|
| 218 |
</div>
|
| 219 |
</div>
|
| 220 |
|
| 221 |
+
<!-- شاشة المحادثة الذكية -->
|
| 222 |
+
<div id="chat-screen" class="hidden fade-in">
|
| 223 |
+
<div class="glass-effect rounded-2xl shadow-xl p-6 border border-white/20 h-[600px] flex flex-col">
|
| 224 |
+
<div class="flex items-center mb-6">
|
| 225 |
+
<button id="back-from-chat" class="text-blue-500 flex items-center hover:text-blue-600 transition mr-4">
|
| 226 |
+
<i class="fas fa-arrow-right ml-2"></i>
|
| 227 |
+
عودة
|
| 228 |
+
</button>
|
| 229 |
+
<div class="flex items-center">
|
| 230 |
+
<div class="w-10 h-10 bg-blue-500 rounded-full flex items-center justify-center mr-2">
|
| 231 |
+
<i class="fas fa-robot text-xl text-white"></i>
|
| 232 |
+
</div>
|
| 233 |
+
<h2 class="text-xl font-bold">المساعد الصحي الذكي</h2>
|
| 234 |
+
</div>
|
| 235 |
+
</div>
|
| 236 |
+
|
| 237 |
+
<div id="chat-messages" class="flex-1 overflow-y-auto space-y-4 p-2">
|
| 238 |
+
<div class="flex justify-start">
|
| 239 |
+
<div class="bg-blue-100 dark:bg-blue-900/40 p-4 chat-bubble max-w-xs md:max-w-md">
|
| 240 |
+
<p class="text-gray-800 dark:text-gray-200">مرحباً! أنا مساعدك الصحي الذكي. كيف يمكنني مساعدتك اليوم؟</p>
|
| 241 |
+
</div>
|
| 242 |
+
</div>
|
| 243 |
+
</div>
|
| 244 |
+
|
| 245 |
+
<div class="mt-4 flex space-x-2 space-x-reverse">
|
| 246 |
+
<input type="text" placeholder="اكتب رسالتك هنا..." class="flex-1 p-3 rounded-xl border border-gray-300 dark:border-gray-600 dark:bg-gray-800 focus:ring-2 focus:ring-blue-500 focus:border-transparent">
|
| 247 |
+
<button class="bg-blue-500 hover:bg-blue-600 text-white px-5 rounded-xl transition">
|
| 248 |
+
<i class="fas fa-paper-plane"></i>
|
| 249 |
+
</button>
|
| 250 |
+
</div>
|
| 251 |
+
</div>
|
| 252 |
+
</div>
|
| 253 |
+
|
| 254 |
+
<!-- شاشة المستخدم المريض المحسنة -->
|
| 255 |
<div id="sick-screen" class="hidden fade-in">
|
| 256 |
+
<div class="glass-effect rounded-2xl shadow-xl p-6 border border-white/20">
|
| 257 |
+
<button id="back-from-sick" class="mb-6 text-blue-500 flex items-center hover:text-blue-600 transition">
|
| 258 |
+
<i class="fas fa-arrow-right ml-2"></i>
|
| 259 |
+
العودة إلى الرئيسية
|
| 260 |
</button>
|
| 261 |
|
| 262 |
+
<h2 class="text-2xl font-bold mb-8 text-center">ما هو العرض الرئيسي الذي تشعر به؟</h2>
|
| 263 |
|
| 264 |
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-8">
|
| 265 |
+
<button class="symptom-btn glass-effect border border-gray-200 dark:border-gray-600 rounded-xl p-5 flex flex-col items-center justify-center transition hover:shadow-lg">
|
| 266 |
+
<div class="w-12 h-12 bg-blue-100 dark:bg-blue-900 rounded-full flex items-center justify-center mb-3">
|
| 267 |
+
<i class="fas fa-head-side-virus text-xl text-blue-500"></i>
|
| 268 |
+
</div>
|
| 269 |
<span>صداع</span>
|
| 270 |
</button>
|
| 271 |
|
| 272 |
+
<button class="symptom-btn glass-effect border border-gray-200 dark:border-gray-600 rounded-xl p-5 flex flex-col items-center justify-center transition hover:shadow-lg">
|
| 273 |
+
<div class="w-12 h-12 bg-red-100 dark:bg-red-900 rounded-full flex items-center justify-center mb-3">
|
| 274 |
+
<i class="fas fa-lungs-virus text-xl text-red-500"></i>
|
| 275 |
+
</div>
|
| 276 |
<span>ألم بطن</span>
|
| 277 |
</button>
|
| 278 |
|
| 279 |
+
<button class="symptom-btn glass-effect border border-gray-200 dark:border-gray-600 rounded-xl p-5 flex flex-col items-center justify-center transition hover:shadow-lg">
|
| 280 |
+
<div class="w-12 h-12 bg-green-100 dark:bg-green-900 rounded-full flex items-center justify-center mb-3">
|
| 281 |
+
<i class="fas fa-wind text-xl text-green-500"></i>
|
| 282 |
+
</div>
|
| 283 |
<span>زكام</span>
|
| 284 |
</button>
|
| 285 |
|
| 286 |
+
<button class="symptom-btn glass-effect border border-gray-200 dark:border-gray-600 rounded-xl p-5 flex flex-col items-center justify-center transition hover:shadow-lg">
|
| 287 |
+
<div class="w-12 h-12 bg-orange-100 dark:bg-orange-900 rounded-full flex items-center justify-center mb-3">
|
| 288 |
+
<i class="fas fa-temperature-high text-xl text-orange-500"></i>
|
| 289 |
+
</div>
|
| 290 |
<span>حرارة</span>
|
| 291 |
</button>
|
| 292 |
+
|
| 293 |
+
<button class="symptom-btn glass-effect border border-gray-200 dark:border-gray-600 rounded-xl p-5 flex flex-col items-center justify-center transition hover:shadow-lg">
|
| 294 |
+
<div class="w-12 h-12 bg-purple-100 dark:bg-purple-900 rounded-full flex items-center justify-center mb-3">
|
| 295 |
+
<i class="fas fa-tint text-xl text-purple-500"></i>
|
| 296 |
+
</div>
|
| 297 |
+
<span>غثيان</span>
|
| 298 |
+
</button>
|
| 299 |
+
|
| 300 |
+
<button class="symptom-btn glass-effect border border-gray-200 dark:border-gray-600 rounded-xl p-5 flex flex-col items-center justify-center transition hover:shadow-lg">
|
| 301 |
+
<div class="w-12 h-12 bg-yellow-100 dark:bg-yellow-900 rounded-full flex items-center justify-center mb-3">
|
| 302 |
+
<i class="fas fa-tired text-xl text-yellow-500"></i>
|
| 303 |
+
</div>
|
| 304 |
+
<span>إرهاق</span>
|
| 305 |
+
</button>
|
| 306 |
+
|
| 307 |
+
<button class="symptom-btn glass-effect border border-gray-200 dark:border-gray-600 rounded-xl p-5 flex flex-col items-center justify-center transition hover:shadow-lg">
|
| 308 |
+
<div class="w-12 h-12 bg-pink-100 dark:bg-pink-900 rounded-full flex items-center justify-center mb-3">
|
| 309 |
+
<i class="fas fa-couch text-xl text-pink-500"></i>
|
| 310 |
+
</div>
|
| 311 |
+
<span>ألم ظهر</span>
|
| 312 |
+
</button>
|
| 313 |
+
|
| 314 |
+
<button class="symptom-btn glass-effect border border-gray-200 dark:border-gray-600 rounded-xl p-5 flex flex-col items-center justify-center transition hover:shadow-lg">
|
| 315 |
+
<div class="w-12 h-12 bg-indigo-100 dark:bg-indigo-900 rounded-full flex items-center justify-center mb-3">
|
| 316 |
+
<i class="fas fa-allergies text-xl text-indigo-500"></i>
|
| 317 |
+
</div>
|
| 318 |
+
<span>حساسية</span>
|
| 319 |
+
</button>
|
| 320 |
</div>
|
| 321 |
|
| 322 |
+
<div class="bg-gray-100 dark:bg-gray-700 p-5 rounded-2xl shadow-inner">
|
| 323 |
+
<h3 class="font-semibold mb-3 flex items-center">
|
| 324 |
+
<i class="fas fa-plus-circle text-blue-500 ml-2"></i>
|
| 325 |
+
أعراض أخرى
|
| 326 |
+
</h3>
|
| 327 |
+
<div class="flex space-x-3 space-x-reverse">
|
| 328 |
+
<input type="text" placeholder="اكتب العرض الذي تشعر به..." class="flex-1 p-3 rounded-xl border border-gray-300 dark:border-gray-600 dark:bg-gray-800 focus:ring-2 focus:ring-blue-500 focus:border-transparent">
|
| 329 |
+
<button class="bg-blue-500 hover:bg-blue-600 text-white px-5 rounded-xl transition">
|
| 330 |
+
إضافة
|
| 331 |
+
</button>
|
| 332 |
+
</div>
|
| 333 |
</div>
|
| 334 |
+
|
| 335 |
+
<button id="analyze-symptoms" class="w-full mt-6 bg-gradient-to-r from-blue-500 to-indigo-500 hover:from-blue-600 hover:to-indigo-600 text-white py-3 rounded-xl font-medium transition shadow-md flex items-center justify-center">
|
| 336 |
+
<i class="fas fa-search-medical ml-2"></i>
|
| 337 |
+
تحليل الأعراض
|
| 338 |
+
</button>
|
| 339 |
</div>
|
| 340 |
</div>
|
| 341 |
|
| 342 |
+
<!-- شاشة المستخدم السليم المحسنة -->
|
| 343 |
<div id="healthy-screen" class="hidden fade-in">
|
| 344 |
+
<div class="glass-effect rounded-2xl shadow-xl p-6 border border-white/20">
|
| 345 |
+
<button id="back-from-healthy" class="mb-6 text-blue-500 flex items-center hover:text-blue-600 transition">
|
| 346 |
+
<i class="fas fa-arrow-right ml-2"></i>
|
| 347 |
+
العودة إلى الرئيسية
|
| 348 |
</button>
|
| 349 |
|
| 350 |
+
<h2 class="text-2xl font-bold mb-8 text-center">خطتك الوقائية اليومية</h2>
|
| 351 |
|
| 352 |
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
|
| 353 |
+
<div class="bg-blue-50 dark:bg-blue-900/30 p-6 rounded-2xl shadow-md border border-blue-100 dark:border-blue-800">
|
| 354 |
+
<div class="flex items-center mb-4">
|
| 355 |
+
<div class="w-12 h-12 bg-blue-100 dark:bg-blue-800 rounded-xl flex items-center justify-center mr-3">
|
| 356 |
+
<i class="fas fa-tint text-xl text-blue-500"></i>
|
| 357 |
</div>
|
| 358 |
+
<h3 class="font-semibold text-lg">ترطيب الجسم</h3>
|
| 359 |
</div>
|
| 360 |
+
<p class="text-gray-600 dark:text-gray-300 mb-4">احرص على شرب 8 أكواب من الماء يومياً للحفاظ على ترطيب جسمك</p>
|
| 361 |
+
<div class="flex items-center">
|
| 362 |
+
<div class="flex-1 bg-white dark:bg-gray-700 rounded-full h-3 mr-3">
|
| 363 |
+
<div class="bg-blue-500 h-3 rounded-full w-5/6"></div>
|
| 364 |
+
</div>
|
| 365 |
+
<span class="text-sm font-medium">5/8</span>
|
| 366 |
</div>
|
|
|
|
| 367 |
</div>
|
| 368 |
|
| 369 |
+
<div class="bg-green-50 dark:bg-green-900/30 p-6 rounded-2xl shadow-md border border-green-100 dark:border-green-800">
|
| 370 |
+
<div class="flex items-center mb-4">
|
| 371 |
+
<div class="w-12 h-12 bg-green-100 dark:bg-green-800 rounded-xl flex items-center justify-center mr-3">
|
| 372 |
+
<i class="fas fa-apple-alt text-xl text-green-500"></i>
|
| 373 |
</div>
|
| 374 |
+
<h3 class="font-semibold text-lg">نظام غذائي</h极>
|
| 375 |
</div>
|
| 376 |
+
<p class="text-gray-600 dark:text-gray-300 mb-4">تناول 5 حصص من الفواكه والخضروات اليوم لتعزيز مناعتك</p>
|
| 377 |
+
<div极 class="flex items-center">
|
| 378 |
+
<div class="flex-1 bg-white dark:bg-gray-700 rounded-full h-3 mr-3">
|
| 379 |
+
<div class="bg-green-500 h-3 rounded-full w-2/5"></div>
|
| 380 |
+
</div>
|
| 381 |
+
<span class="text-sm font-medium">2/5</span>
|
| 382 |
</div>
|
|
|
|
| 383 |
</div>
|
| 384 |
|
| 385 |
+
<div class="bg-purple-50 dark:bg-purple-900/30 p-6 rounded-2xl shadow-md border border-purple-100 dark:border-purple-800">
|
| 386 |
+
<div class="flex items-center mb-4">
|
| 387 |
+
<div class="极-12 h-12 bg-purple-100 dark:bg-purple-800 rounded-xl flex items-center justify-center mr-3">
|
| 388 |
+
<i class="fas fa-running text-xl text-purple-500"></i>
|
| 389 |
</div>
|
| 390 |
+
<h3 class="font-semibold text-lg">نشاط بدني</h3>
|
| 391 |
</div>
|
| 392 |
+
<p class="text-gray-600 dark:text-gray-300 mb-4">30 دقيقة من المشي اليومي تحسن صحتك الجسدية والنفس��ة</p>
|
| 393 |
+
<div class="flex items-center">
|
| 394 |
+
<div class="flex-1 bg-white dark:bg-gray-700 rounded-full h-3 mr-3">
|
| 395 |
+
<div class="bg-purple-500 h-3 rounded-full w-1/4"></div>
|
| 396 |
+
</div>
|
| 397 |
+
<span class="text-sm font-medium">10/30</span>
|
| 398 |
</div>
|
|
|
|
| 399 |
</div>
|
| 400 |
|
| 401 |
+
<div class="bg-yellow-50 dark:bg-yellow-900/30 p-6 rounded-2xl shadow-md border border-yellow-100 dark:border-yellow-800">
|
| 402 |
+
<div class="flex items-center mb-4">
|
| 403 |
+
<div class="w-12 h-12 bg-yellow-100 dark:bg-yellow-800 rounded-xl flex items-center justify-center mr-3">
|
| 404 |
+
<i class="fas fa-brain text-xl极 text-yellow-500"></i>
|
| 405 |
</div>
|
| 406 |
+
<h3 class="font-semibold text-lg">صحة نفسية</h3>
|
| 407 |
</div>
|
| 408 |
+
<p class="text-gray-600 dark:text-gray-300 mb-4">خصص 10 دقائق يومياً للتأمل أو التنفس العميق</p>
|
| 409 |
+
<div class="flex items-center">
|
| 410 |
+
<div class="flex-1 bg-white dark:bg-gray-700 rounded-full h-3 mr-3">
|
| 411 |
+
<div class="bg-yellow-500 h-3 rounded-full w-0"></div>
|
| 412 |
+
</div>
|
| 413 |
+
<span class="text-sm font-medium">0/10</span>
|
| 414 |
</div>
|
|
|
|
| 415 |
</div>
|
| 416 |
</div>
|
| 417 |
|
| 418 |
+
<div class="bg-gradient-to-r from-indigo-100 to-purple-100 dark:from-indigo-900/30 dark:to-purple-9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 419 |
<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=MrAzoooz/mrazoooz-com" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 420 |
</html>
|