updated with new features
Browse files- components/Sidebar.tsx +4 -5
components/Sidebar.tsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
|
| 2 |
import React from 'react';
|
| 3 |
-
import { Activity, MessageSquare,
|
| 4 |
|
| 5 |
interface SidebarProps {
|
| 6 |
-
activeTab: 'dashboard' | 'chat' | '
|
| 7 |
-
setActiveTab: (tab: 'dashboard' | 'chat' | '
|
| 8 |
}
|
| 9 |
|
| 10 |
const Sidebar: React.FC<SidebarProps> = ({ activeTab, setActiveTab }) => {
|
|
@@ -12,7 +12,6 @@ const Sidebar: React.FC<SidebarProps> = ({ activeTab, setActiveTab }) => {
|
|
| 12 |
{ id: 'dashboard', label: 'Dashboard', icon: Activity },
|
| 13 |
{ id: 'chat', label: 'AI Companion', icon: MessageSquare },
|
| 14 |
{ id: 'medication', label: 'Meds & Rewards', icon: Pill },
|
| 15 |
-
{ id: 'profile', label: 'Patient Profile', icon: User },
|
| 16 |
] as const;
|
| 17 |
|
| 18 |
return (
|
|
@@ -24,7 +23,7 @@ const Sidebar: React.FC<SidebarProps> = ({ activeTab, setActiveTab }) => {
|
|
| 24 |
</div>
|
| 25 |
SomAI
|
| 26 |
</h1>
|
| 27 |
-
<p className="text-xs text-gray-400 mt-3 font-medium tracking-wide">CLINICAL COMPANION
|
| 28 |
</div>
|
| 29 |
|
| 30 |
<nav className="flex-1 px-4 space-y-2 mt-4">
|
|
|
|
| 1 |
|
| 2 |
import React from 'react';
|
| 3 |
+
import { Activity, MessageSquare, Pill } from 'lucide-react';
|
| 4 |
|
| 5 |
interface SidebarProps {
|
| 6 |
+
activeTab: 'dashboard' | 'chat' | 'medication';
|
| 7 |
+
setActiveTab: (tab: 'dashboard' | 'chat' | 'medication') => void;
|
| 8 |
}
|
| 9 |
|
| 10 |
const Sidebar: React.FC<SidebarProps> = ({ activeTab, setActiveTab }) => {
|
|
|
|
| 12 |
{ id: 'dashboard', label: 'Dashboard', icon: Activity },
|
| 13 |
{ id: 'chat', label: 'AI Companion', icon: MessageSquare },
|
| 14 |
{ id: 'medication', label: 'Meds & Rewards', icon: Pill },
|
|
|
|
| 15 |
] as const;
|
| 16 |
|
| 17 |
return (
|
|
|
|
| 23 |
</div>
|
| 24 |
SomAI
|
| 25 |
</h1>
|
| 26 |
+
<p className="text-xs text-gray-400 mt-3 font-medium tracking-wide">CLINICAL COMPANION v2.0</p>
|
| 27 |
</div>
|
| 28 |
|
| 29 |
<nav className="flex-1 px-4 space-y-2 mt-4">
|