-
{searchSlot}
+ {(showSearch || searchSlot) && (
+
+
+ {searchSlot || (
+
+
+
+
+
+ )}
+
)}
diff --git a/src/views/LoginPage.tsx b/src/views/LoginPage.tsx
index 51940c8..22b4c3b 100644
--- a/src/views/LoginPage.tsx
+++ b/src/views/LoginPage.tsx
@@ -1,4 +1,5 @@
-import LoginCard from '@/LoginCard'
+// import LoginCard from '@/LoginCard'
+import MetricCard from '@/shared/composites/MetricCard'
// import { SidebarNav } from '@/shared/composites/SidebarNav'
@@ -13,9 +14,54 @@ import LoginCard from '@/LoginCard'
// import { useState } from 'react'
const LoginPage = () => {
+ const metricCardData = [
+ {
+ idx: 1,
+ label: 'Pending',
+ value: 3,
+ subLabel: 'awaiting action',
+ valueColor: 'warning',
+ },
+ {
+ idx: 2,
+ label: 'Escalated',
+ value: 1,
+ subLabel: 'needs review',
+ valueColor: 'danger',
+ },
+ {
+ idx: 3,
+ label: 'AI Auto-resolved',
+ value: 8,
+ subLabel: 'this week',
+ valueColor: 'success',
+ },
+ {
+ idx: 4,
+ label: 'Escalation Rate',
+ value: '34%',
+ subLabel: 'of all reports',
+ valueColor: 'default',
+ },
+ ] as const
+
return (
-
-
+
+ {' '}
+
+ {metricCardData.map((item) => {
+ return (
+
+ )
+ })}
+
+ {/*
*/}
)
}