@@ -185,25 +204,50 @@ export const SubmissionHistory = ({ history = [], loading = false, error = '' })
return (
<>
-
-
+
+
+
+
+ {[
'Survey Name',
'Year',
'Quarter',
'Status',
- 'Submission On',
+ 'Submission on',
'Products',
'Actions',
- ]}
- rows={rowsData}
- beforeHeader={toolbar}
- separated
- rowGapClass="border-spacing-y-2"
- columnWidths={[300, 100, 100, 120, 180, 120, 120]}
- />
-
+ ].map((header, index) => (
+ |
+ {header}
+ |
+ ))}
+
+
+
+ {rowsData.map((row, rowIndex) => (
+
+ {row.map((cell, cellIndex) => (
+ |
+ {cell}
+ |
+ ))}
+
+ ))}
+
+
+
+
>
);
diff --git a/ipi-survey-platform/src/components/dashboard/SurveyCarousel.jsx b/ipi-survey-platform/src/components/dashboard/SurveyCarousel.jsx
index a698b55..aae8120 100644
--- a/ipi-survey-platform/src/components/dashboard/SurveyCarousel.jsx
+++ b/ipi-survey-platform/src/components/dashboard/SurveyCarousel.jsx
@@ -1,7 +1,7 @@
import React, { useState, useEffect } from 'react';
import { useNavigate } from 'react-router-dom';
import { ChevronLeft, ChevronRight, Pause } from 'lucide-react';
-
+import { CalendarDays, Clock3 } from 'lucide-react';
const SurveyCarousel = ({
surveys = [],
autoRotate = true,
@@ -39,11 +39,25 @@ const SurveyCarousel = ({
{current?.subtitle || ''}
-
- Due Date: {current?.dueDate || '—'}
- Est. time: {current?.estTime || '—'}
- Status: {current?.status || '—'}
-
+
+
+
+
+ Due Date:
+ {current?.dueDate || '—'}
+
+
+
+
+ Est. time:
+ {current?.estTime || '—'}
+
+
+
+ Status:
+ {current?.status || '—'}
+
+