bobo-10 commited on
Commit
f9984f4
·
verified ·
1 Parent(s): c0a5c79

Create a website inspired by Epocrates, the mobile pharmacy app. it should have features such as Drug Database: Access a constantly updated database of prescription and over-the-counter medications, including generic and brand names.

Browse files

Dose Checker: Instantly view adult and pediatric dosages, adjustments for renal/hepatic impairment, age, weight, and comorbidities.

Interaction Alerts: Input multiple drugs and receive detailed, evidence-based drug-drug, drug-food, and drug-disease interaction warnings with severity grading.

Indications/Contraindications: Display FDA-approved indications and evidence-based off-label uses, along with clear contraindications and precautionary notes.

Clinical Calculators: Integrate essential tools, such as creatinine clearance, BMI, and dosing calculators for special populations.

Pill Identifier: Photo recognition and search by shape, color, or imprint.

Custom Notes & Bookmarks: Let users save favorite drugs, add personal notes, and create quick-access lists.

Offline Access: Allow core content access even without internet connectivity.

Seamless UX: Fast, intuitive search; filter by specialty or frequently accessed content; customizable settings for dark mode and font size.

Target Audience:
Licensed healthcare professionals: physicians, pharmacists, and nurses seeking quick, authoritative drug information and interaction checking on iOS and Android devices, both in and out of the clinical setting..

Theme colors should be a range of indigos.

Files changed (2) hide show
  1. README.md +8 -5
  2. index.html +299 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Pharmagenius Pro Rx
3
- emoji: 🌍
4
- colorFrom: purple
5
- colorTo: gray
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: PharmaGenius Pro RX
3
+ colorFrom: pink
4
+ colorTo: yellow
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
index.html CHANGED
@@ -1,19 +1,299 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="dark">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>PharmaGenius Pro RX | Clinical Drug Intelligence</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
11
+ <script>
12
+ tailwind.config = {
13
+ darkMode: 'class',
14
+ theme: {
15
+ extend: {
16
+ colors: {
17
+ primary: '#4F46E5',
18
+ secondary: '#818CF8',
19
+ darkbg: '#0F172A',
20
+ }
21
+ }
22
+ }
23
+ }
24
+ </script>
25
+ <style>
26
+ .pill-search-gradient {
27
+ background: linear-gradient(135deg, #4F46E5 0%, #818CF8 100%);
28
+ }
29
+ .interaction-critical {
30
+ background-color: rgba(239, 68, 68, 0.1);
31
+ border-left: 4px solid #EF4444;
32
+ }
33
+ .interaction-warning {
34
+ background-color: rgba(234, 179, 8, 0.1);
35
+ border-left: 4px solid #EAB308;
36
+ }
37
+ .interaction-info {
38
+ background-color: rgba(59, 130, 246, 0.1);
39
+ border-left: 4px solid #3B82F6;
40
+ }
41
+ .monograph-card {
42
+ transition: all 0.3s ease;
43
+ }
44
+ .monograph-card:hover {
45
+ transform: translateY(-4px);
46
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
47
+ }
48
+ .dark .dark\:bg-slate-900 {
49
+ background-color: #0F172A;
50
+ }
51
+ </style>
52
+ </head>
53
+ <body class="bg-gray-50 dark:bg-slate-900 text-gray-800 dark:text-gray-200 font-sans antialiased">
54
+ <div id="vanta-bg" class="fixed inset-0 -z-10 opacity-20"></div>
55
+
56
+ <!-- Navigation -->
57
+ <nav class="bg-white dark:bg-slate-800 shadow-md sticky top-0 z-50">
58
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
59
+ <div class="flex justify-between h-16">
60
+ <div class="flex items-center">
61
+ <div class="flex-shrink-0 flex items-center">
62
+ <i data-feather="activity" class="text-primary h-8 w-8"></i>
63
+ <span class="ml-2 text-xl font-bold text-primary dark:text-secondary">PharmaGenius</span>
64
+ </div>
65
+ <div class="hidden md:ml-10 md:flex md:space-x-8">
66
+ <a href="#" class="border-primary text-gray-900 dark:text-white inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Drug Database</a>
67
+ <a href="#" class="border-transparent text-gray-500 dark:text-gray-300 hover:border-gray-300 hover:text-gray-700 dark:hover:text-gray-100 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Dose Checker</a>
68
+ <a href="#" class="border-transparent text-gray-500 dark:text-gray-300 hover:border-gray-300 hover:text-gray-700 dark:hover:text-gray-100 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Interactions</a>
69
+ <a href="#" class="border-transparent text-gray-500 dark:text-gray-300 hover:border-gray-300 hover:text-gray-700 dark:hover:text-gray-100 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Clinical Tools</a>
70
+ </div>
71
+ </div>
72
+ <div class="hidden md:ml-6 md:flex md:items-center">
73
+ <button class="bg-primary hover:bg-indigo-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
74
+ <i data-feather="user" class="mr-2 w-4 h-4"></i> Sign In
75
+ </button>
76
+ <button class="ml-4 p-1 rounded-full text-gray-400 hover:text-gray-500 dark:hover:text-gray-200 focus:outline-none">
77
+ <i data-feather="moon" class="h-6 w-6"></i>
78
+ </button>
79
+ </div>
80
+ <div class="-mr-2 flex items-center md:hidden">
81
+ <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none" aria-controls="mobile-menu" aria-expanded="false">
82
+ <i data-feather="menu" class="h-6 w-6"></i>
83
+ </button>
84
+ </div>
85
+ </div>
86
+ </div>
87
+ </nav>
88
+
89
+ <!-- Hero Section -->
90
+ <div class="relative overflow-hidden">
91
+ <div class="max-w-7xl mx-auto">
92
+ <div class="relative z-10 pb-8 sm:pb-16 md:pb-20 lg:max-w-2xl lg:w-full lg:pb-28 xl:pb-32">
93
+ <main class="mt-10 mx-auto max-w-7xl px-4 sm:mt-12 sm:px-6 lg:mt-16 lg:px-8 xl:mt-20">
94
+ <div class="sm:text-center lg:text-left">
95
+ <h1 class="text-4xl tracking-tight font-extrabold text-gray-900 dark:text-white sm:text-5xl md:text-6xl">
96
+ <span class="block">Clinical Drug Intelligence</span>
97
+ <span class="block text-primary dark:text-secondary">At Your Fingertips</span>
98
+ </h1>
99
+ <p class="mt-3 text-base text-gray-500 dark:text-gray-300 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0">
100
+ Access the most comprehensive drug database with AI-powered tools for medication safety, dosing precision, and clinical decision support.
101
+ </p>
102
+ <div class="mt-5 sm:mt-8 sm:flex sm:justify-center lg:justify-start">
103
+ <div class="rounded-md shadow">
104
+ <a href="#" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-primary hover:bg-indigo-700 md:py-4 md:text-lg md:px-10">
105
+ <i data-feather="search" class="mr-2"></i> Search Drugs
106
+ </a>
107
+ </div>
108
+ <div class="mt-3 sm:mt-0 sm:ml-3">
109
+ <a href="#" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-primary dark:text-secondary bg-indigo-100 dark:bg-slate-700 hover:bg-indigo-200 dark:hover:bg-slate-600 md:py-4 md:text-lg md:px-10">
110
+ <i data-feather="play" class="mr-2"></i> Watch Demo
111
+ </a>
112
+ </div>
113
+ </div>
114
+ </div>
115
+ </main>
116
+ </div>
117
+ </div>
118
+ <div class="lg:absolute lg:inset-y-0 lg:right-0 lg:w-1/2 hidden lg:block">
119
+ <img class="h-56 w-full object-cover sm:h-72 md:h-96 lg:w-full lg:h-full" src="http://static.photos/medical/1024x576/42" alt="Medical professionals using tablets">
120
+ </div>
121
+ </div>
122
+
123
+ <!-- Features Section -->
124
+ <div class="py-12 bg-white dark:bg-slate-800">
125
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
126
+ <div class="lg:text-center">
127
+ <h2 class="text-base text-primary dark:text-secondary font-semibold tracking-wide uppercase">Features</h2>
128
+ <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 dark:text-white sm:text-4xl">
129
+ Everything You Need for Safe Medication Practices
130
+ </p>
131
+ <p class="mt-4 max-w-2xl text-xl text-gray-500 dark:text-gray-300 lg:mx-auto">
132
+ Comprehensive tools designed by clinicians for clinicians
133
+ </p>
134
+ </div>
135
+
136
+ <div class="mt-10">
137
+ <div class="grid grid-cols-1 gap-10 sm:grid-cols-2 lg:grid-cols-3">
138
+ <!-- Feature 1 -->
139
+ <div class="bg-gray-50 dark:bg-slate-700 rounded-lg shadow-md overflow-hidden monograph-card">
140
+ <div class="p-5">
141
+ <div class="flex items-center">
142
+ <div class="flex-shrink-0 bg-indigo-100 dark:bg-slate-600 rounded-md p-3">
143
+ <i data-feather="database" class="text-primary dark:text-secondary h-6 w-6"></i>
144
+ </div>
145
+ <div class="ml-5 w-0 flex-1">
146
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Comprehensive Drug Database</h3>
147
+ </div>
148
+ </div>
149
+ <div class="mt-4">
150
+ <p class="text-sm text-gray-500 dark:text-gray-300">
151
+ 10,000+ medications with detailed monographs including chemical structures, pharmacologic classes, and DEA schedules.
152
+ </p>
153
+ </div>
154
+ </div>
155
+ </div>
156
+
157
+ <!-- Feature 2 -->
158
+ <div class="bg-gray-50 dark:bg-slate-700 rounded-lg shadow-md overflow-hidden monograph-card">
159
+ <div class="p-5">
160
+ <div class="flex items-center">
161
+ <div class="flex-shrink-0 bg-indigo-100 dark:bg-slate-600 rounded-md p-3">
162
+ <i data-feather="alert-triangle" class="text-primary dark:text-secondary h-6 w-6"></i>
163
+ </div>
164
+ <div class="ml-5 w-0 flex-1">
165
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Smart Interaction Alerts</h3>
166
+ </div>
167
+ </div>
168
+ <div class="mt-4">
169
+ <p class="text-sm text-gray-500 dark:text-gray-300">
170
+ Multi-drug interaction checker with severity scoring and evidence-based alternative suggestions.
171
+ </p>
172
+ </div>
173
+ </div>
174
+ </div>
175
+
176
+ <!-- Feature 3 -->
177
+ <div class="bg-gray-50 dark:bg-slate-700 rounded-lg shadow-md overflow-hidden monograph-card">
178
+ <div class="p-5">
179
+ <div class="flex items-center">
180
+ <div class="flex-shrink-0 bg-indigo-100 dark:bg-slate-600 rounded-md p-3">
181
+ <i data-feather="cpu" class="text-primary dark:text-secondary h-6 w-6"></i>
182
+ </div>
183
+ <div class="ml-5 w-0 flex-1">
184
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">AI Pill Identification</h3>
185
+ </div>
186
+ </div>
187
+ <div class="mt-4">
188
+ <p class="text-sm text-gray-500 dark:text-gray-300">
189
+ Image recognition for pill identification by imprint, shape, color, or scoring with high-resolution comparisons.
190
+ </p>
191
+ </div>
192
+ </div>
193
+ </div>
194
+
195
+ <!-- Feature 4 -->
196
+ <div class="bg-gray-50 dark:bg-slate-700 rounded-lg shadow-md overflow-hidden monograph-card">
197
+ <div class="p-5">
198
+ <div class="flex items-center">
199
+ <div class="flex-shrink-0 bg-indigo-100 dark:bg-slate-600 rounded-md p-3">
200
+ <i data-feather="divide-circle" class="text-primary dark:text-secondary h-6 w-6"></i>
201
+ </div>
202
+ <div class="ml-5 w-0 flex-1">
203
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Advanced Dose Checker</h3>
204
+ </div>
205
+ </div>
206
+ <div class="mt-4">
207
+ <p class="text-sm text-gray-500 dark:text-gray-300">
208
+ Dynamic dosing calculator with adjustments for renal/hepatic function, pediatrics, geriatrics, and pregnancy.
209
+ </p>
210
+ </div>
211
+ </div>
212
+ </div>
213
+
214
+ <!-- Feature 5 -->
215
+ <div class="bg-gray-50 dark:bg-slate-700 rounded-lg shadow-md overflow-hidden monograph-card">
216
+ <div class="p-5">
217
+ <div class="flex items-center">
218
+ <div class="flex-shrink-0 bg-indigo-100 dark:bg-slate-600 rounded-md p-3">
219
+ <i data-feather="tool" class="text-primary dark:text-secondary h-6 w-6"></i>
220
+ </div>
221
+ <div class="ml-5 w-0 flex-1">
222
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Clinical Toolkit</h3>
223
+ </div>
224
+ </div>
225
+ <div class="mt-4">
226
+ <p class="text-sm text-gray-500 dark:text-gray-300">
227
+ 20+ medical calculators including CrCl, BMI/BSA, IV compatibility, opioid conversion, and ABG interpreter.
228
+ </p>
229
+ </div>
230
+ </div>
231
+ </div>
232
+
233
+ <!-- Feature 6 -->
234
+ <div class="bg-gray-50 dark:bg-slate-700 rounded-lg shadow-md overflow-hidden monograph-card">
235
+ <div class="p-5">
236
+ <div class="flex items-center">
237
+ <div class="flex-shrink-0 bg-indigo-100 dark:bg-slate-600 rounded-md p-3">
238
+ <i data-feather="download" class="text-primary dark:text-secondary h-6 w-6"></i>
239
+ </div>
240
+ <div class="ml-5 w-0 flex-1">
241
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Offline Functionality</h3>
242
+ </div>
243
+ </div>
244
+ <div class="mt-4">
245
+ <p class="text-sm text-gray-500 dark:text-gray-300">
246
+ Downloadable drug monographs and cached content for uninterrupted access in any clinical setting.
247
+ </p>
248
+ </div>
249
+ </div>
250
+ </div>
251
+ </div>
252
+ </div>
253
+ </div>
254
+ </div>
255
+
256
+ <!-- Drug Search Section -->
257
+ <div class="relative py-16 bg-gray-50 dark:bg-slate-900 overflow-hidden">
258
+ <div class="relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
259
+ <div class="text-center">
260
+ <h2 class="text-3xl font-extrabold tracking-tight text-gray-900 dark:text-white sm:text-4xl">
261
+ Instant Drug Information
262
+ </h2>
263
+ <p class="mt-3 max-w-2xl mx-auto text-xl text-gray-500 dark:text-gray-300 sm:mt-4">
264
+ Search our comprehensive database in seconds
265
+ </p>
266
+ </div>
267
+
268
+ <div class="mt-12">
269
+ <div class="lg:grid lg:grid-cols-2 lg:gap-8">
270
+ <div class="mb-8 lg:mb-0">
271
+ <div class="relative rounded-lg shadow-lg overflow-hidden pill-search-gradient p-0.5">
272
+ <div class="bg-white dark:bg-slate-800 rounded-lg p-6">
273
+ <div class="flex items-center">
274
+ <div class="flex-shrink-0">
275
+ <i data-feather="search" class="h-6 w-6 text-primary dark:text-secondary"></i>
276
+ </div>
277
+ <div class="ml-5 w-0 flex-1">
278
+ <h3 class="text-lg font-medium text-gray-900 dark:text-white">Drug Search</h3>
279
+ </div>
280
+ </div>
281
+ <div class="mt-6">
282
+ <div class="relative">
283
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
284
+ <i data-feather="search" class="h-5 w-5 text-gray-400"></i>
285
+ </div>
286
+ <input id="drug-search" class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 rounded-md leading-5 bg-white dark:bg-slate-700 placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:ring-primary focus:border-primary sm:text-sm" placeholder="Search by drug name, class, or condition" type="search">
287
+ </div>
288
+ </div>
289
+ <div class="mt-4">
290
+ <div class="flex space-x-2">
291
+ <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-indigo-100 dark:bg-slate-700 text-indigo-800 dark:text-indigo-200">
292
+ Antibiotics
293
+ </span>
294
+ <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-indigo-100 dark:bg-slate-700 text-indigo-800 dark:text-indigo-200">
295
+ Cardiology
296
+ </span>
297
+ <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-indigo-100 dark:bg-slate-700 text-indigo-800
298
+ </body>
299
+ </html>