From dae7c7ddd30ebdd1b978b92e21096cdc8494ba6c Mon Sep 17 00:00:00 2001 From: asmit27rai Date: Tue, 31 Dec 2024 22:25:53 +0530 Subject: [PATCH] Improve Scroll Behavior and Responsiveness of Navbar,Chatbot and remove scroll bar for better look --- .../app/components/Cards/ElectionInfoCard.tsx | 23 +-- client/app/components/ChatBot/ChatBot.tsx | 36 ++-- client/app/components/Header/Header.tsx | 177 ++++++++++++------ client/app/components/Pages/HomePage.tsx | 2 +- client/app/election/[id]/page.tsx | 2 +- client/app/globals.css | 5 + client/app/page.tsx | 2 +- 7 files changed, 163 insertions(+), 84 deletions(-) diff --git a/client/app/components/Cards/ElectionInfoCard.tsx b/client/app/components/Cards/ElectionInfoCard.tsx index 12df70e..51307a6 100644 --- a/client/app/components/Cards/ElectionInfoCard.tsx +++ b/client/app/components/Cards/ElectionInfoCard.tsx @@ -13,29 +13,30 @@ const ElectionInfoCard = ({ counts, filterStatus, setFilterStatus }: any) => { { name: "Active", image: TbCalendarDot, count: counts.active }, { name: "Ended", image: TbCalendarOff, count: counts.ended }, ]; + return ( -
-
-
+
+
+
Election List
-