Skip to content

Commit 6dd9cc9

Browse files
committed
feat: Update CVStrengtheningSection and SystematicReviews components; add workshops section, enhance publication timeline, and remove case reports functionality
1 parent 1a2548f commit 6dd9cc9

File tree

4 files changed

+377
-53
lines changed

4 files changed

+377
-53
lines changed

frontend/src/components/Dashboard/CVStrengtheningSection.jsx

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { BookOpen, FileText, Calendar, Heart, Award, ArrowRight, ChevronDown, ChevronRight, ChartSpline } from 'lucide-react';
2+
import { BookOpen, FileText, Calendar, Heart, Award, ArrowRight, ChevronDown, ChevronRight, ChartSpline, FileTextIcon } from 'lucide-react';
33

44
const CVStrengtheningSection = ({
55
activeSection,
@@ -12,32 +12,30 @@ const CVStrengtheningSection = ({
1212
id: 'systematic-reviews',
1313
label: 'Publications',
1414
icon: BookOpen,
15-
description: 'Research and review medical literature'
16-
},
17-
{
18-
id: 'case-reports',
19-
label: 'Case Reports',
20-
icon: FileText,
21-
description: 'Document and analyze clinical cases'
15+
description: ''
2216
},
2317
{
2418
id: 'conferences',
2519
label: 'Conferences',
2620
icon: Calendar,
27-
description: 'Medical conferences and presentations'
21+
description: ''
22+
},
23+
{
24+
id:'workshops',
25+
label:'Workshops',
26+
icon: FileTextIcon,
27+
description:''
2828
},
29-
3029
{
3130
id: 'emr-training',
3231
label: 'EMR & RCM Training',
3332
icon: Award,
34-
description: 'Electronic Medical Records training'
33+
description: ''
3534
},
3635
];
3736

3837
return (
3938
<div>
40-
{/* Main CV Strengthening Program Item */}
4139
<button
4240
onClick={onTogglePrograms}
4341
className={`w-full flex items-center gap-3 px-4 py-3 rounded-lg text-left transition-all duration-200 group ${
@@ -61,7 +59,6 @@ const CVStrengtheningSection = ({
6159
)}
6260
</button>
6361

64-
{/* Program Items Dropdown */}
6562
{showPrograms && (
6663
<div className="mt-2 ml-4 space-y-1 border-l-2 border-gray-100 pl-4">
6764
{programItems.map((item) => {

frontend/src/components/Dashboard/SystematicReview/NextStepsProjects.jsx

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@ const NextStepsProjects = () => {
66
const [showJoinForm, setShowJoinForm] = useState(false);
77
const [showNewForm, setShowNewForm] = useState(false);
88

9-
const handleJoinProject = () => {
10-
setShowJoinForm(true);
11-
console.log('Join existing project clicked');
12-
};
13-
14-
const handleStartNewProject = () => {
15-
setShowNewForm(true);
16-
console.log('Start new project clicked');
17-
};
18-
199
return (
2010
<div className="bg-white rounded-xl shadow-lg mb-8">
2111
<div className="border-b border-gray-200 px-6 py-4">
@@ -29,20 +19,6 @@ const NextStepsProjects = () => {
2919
<p className="text-gray-600">Work with Next Steps team and peer groups</p>
3020
</div>
3121
<div className="flex gap-3">
32-
<button
33-
onClick={handleJoinProject}
34-
className="flex items-center gap-2 px-4 py-2 border border-[#169AB4] text-[#169AB4] rounded-lg hover:bg-[#169AB4] hover:text-white transition-colors"
35-
>
36-
<Search className="h-4 w-4" />
37-
Join Existing Project
38-
</button>
39-
<button
40-
onClick={handleStartNewProject}
41-
className="flex items-center gap-2 px-4 py-2 bg-[#169AB4] text-white rounded-lg hover:bg-[#147a8f] transition-colors"
42-
>
43-
<Plus className="h-4 w-4" />
44-
Start New Project
45-
</button>
4622
</div>
4723
</div>
4824

0 commit comments

Comments
 (0)