From 562e5875eef3f44e591ca1a5747cc2b2e587ab2d Mon Sep 17 00:00:00 2001 From: sevelinCA Date: Fri, 26 Jul 2024 11:58:41 +0200 Subject: [PATCH] change in admin dashboards --- src/Components/chat/ChatSearch.tsx | 2 +- src/index.css | 4 +- src/pages/Admin/AdminHome.tsx | 94 +++++++++++++++--------------- src/pages/Analytics.tsx | 92 ++++++++++++++--------------- 4 files changed, 96 insertions(+), 96 deletions(-) diff --git a/src/Components/chat/ChatSearch.tsx b/src/Components/chat/ChatSearch.tsx index ce61663e..310dbdee 100644 --- a/src/Components/chat/ChatSearch.tsx +++ b/src/Components/chat/ChatSearch.tsx @@ -10,7 +10,7 @@ const ChatSearch = ({ handelSelect }: { handelSelect: any }) => { return ( <>
-
+
{isLoading ? ('loading..') : ( vendors.map((vendor: any, index: number) => { return ( diff --git a/src/index.css b/src/index.css index 3ae95714..a43a1b5b 100644 --- a/src/index.css +++ b/src/index.css @@ -29,11 +29,11 @@ } ::-webkit-scrollbar-track { background: #f1f1f1; - border-radius: 10px; + border-radius: 5px; } ::-webkit-scrollbar-thumb { background: #888; - border-radius: 10px; + border-radius: 5px; } ::-webkit-scrollbar-thumb:hover { background: #555; diff --git a/src/pages/Admin/AdminHome.tsx b/src/pages/Admin/AdminHome.tsx index 0bf98df2..f95a1060 100644 --- a/src/pages/Admin/AdminHome.tsx +++ b/src/pages/Admin/AdminHome.tsx @@ -137,52 +137,52 @@ function AdminHome() { ), }, - { - name: "Transactions", - numbers: transactions.length, - icon: ( - - - - - - - - - - ), - }, + // { + // name: "Transactions", + // numbers: transactions.length, + // icon: ( + // + // + // + // + // + // + // + // + // + // ), + // }, { name: "Orders", numbers: orders.length, @@ -214,7 +214,7 @@ function AdminHome() { return (
-
+
{cardData.map((item, index) => ( ))} diff --git a/src/pages/Analytics.tsx b/src/pages/Analytics.tsx index dd9ba90a..7e025b26 100644 --- a/src/pages/Analytics.tsx +++ b/src/pages/Analytics.tsx @@ -137,52 +137,52 @@ const Analytics = () => { ), }, - { - name: "Transactions", - numbers: transactions.length, - icon: ( - - - - - - - - - - ), - }, + // { + // name: "Transactions", + // numbers: transactions.length, + // icon: ( + // + // + // + // + // + // + // + // + // + // ), + // }, { name: "Orders", numbers: orders.length,