From 94b27dc7cca4c76c0b96802a5c90dd7b63e1e0db Mon Sep 17 00:00:00 2001 From: yasaman Date: Wed, 20 Dec 2023 17:08:34 +0330 Subject: [PATCH] the Controller section is done --- app/FollowUp/page.tsx | 6 +- .../(Admin)/AdminDashboard/layout.tsx | 3 +- app/UserPanel/(Admin)/AdminDashboard/page.tsx | 6 +- .../Complaints/[id]/page.tsx | 13 ++ .../ControllerDashboard/Complaints/page.tsx | 9 + .../ControllerDashboard/Reports/page.tsx | 8 + .../(Controller)/ControllerDashboard/page.tsx | 9 +- components/BoxDashboard.tsx | 16 ++ components/CallUs.tsx | 54 +----- components/ComplainsDetails.tsx | 86 ++++++++++ components/ControllerDashboard.tsx | 54 ++++++ components/HorizontalChart.tsx | 68 ++++++++ components/LineChart.tsx | 64 ++++++++ components/Map.tsx | 147 +++++------------ components/NavbarPanel.tsx | 37 +++-- components/NavbarSm.tsx | 119 +++++++------- components/ReportsController.tsx | 106 ++++++++++++ components/Search.tsx | 15 +- components/TabController.tsx | 45 +++++ components/TableController.tsx | 45 +++++ components/TopNav.tsx | 18 +- components/VerticalChart.tsx | 58 +++++++ components/ui/table.tsx | 120 ++++++++++++++ components/ui/tabs.tsx | 55 +++++++ constants/index.tsx | 155 ++++++++++++++---- package-lock.json | 123 ++++++++++++++ package.json | 4 + public/img/bluepoint.svg | 3 + public/img/greenPoint.png | Bin 0 -> 647 bytes public/img/greenPoint.svg | 3 + public/img/tracker-event.png | Bin 0 -> 6820 bytes 31 files changed, 1161 insertions(+), 288 deletions(-) create mode 100644 app/UserPanel/(Controller)/ControllerDashboard/Complaints/[id]/page.tsx create mode 100644 app/UserPanel/(Controller)/ControllerDashboard/Complaints/page.tsx create mode 100644 app/UserPanel/(Controller)/ControllerDashboard/Reports/page.tsx create mode 100644 components/BoxDashboard.tsx create mode 100644 components/ComplainsDetails.tsx create mode 100644 components/ControllerDashboard.tsx create mode 100644 components/HorizontalChart.tsx create mode 100644 components/LineChart.tsx create mode 100644 components/ReportsController.tsx create mode 100644 components/TabController.tsx create mode 100644 components/TableController.tsx create mode 100644 components/VerticalChart.tsx create mode 100644 components/ui/table.tsx create mode 100644 components/ui/tabs.tsx create mode 100644 public/img/bluepoint.svg create mode 100644 public/img/greenPoint.png create mode 100644 public/img/greenPoint.svg create mode 100644 public/img/tracker-event.png diff --git a/app/FollowUp/page.tsx b/app/FollowUp/page.tsx index 8944379..1921e79 100644 --- a/app/FollowUp/page.tsx +++ b/app/FollowUp/page.tsx @@ -1,8 +1,8 @@ -import FollowUp from "@/components/FollowUp"; import React from "react"; +import FollowUp from "@/components/FollowUp"; export default function page() { - return ( - + return ( + ); } diff --git a/app/UserPanel/(Admin)/AdminDashboard/layout.tsx b/app/UserPanel/(Admin)/AdminDashboard/layout.tsx index e588094..1e3d64f 100644 --- a/app/UserPanel/(Admin)/AdminDashboard/layout.tsx +++ b/app/UserPanel/(Admin)/AdminDashboard/layout.tsx @@ -1,3 +1,4 @@ +import NavbarPanel from "@/components/NavbarPanel"; export default function RootLayout({ children, @@ -6,7 +7,7 @@ export default function RootLayout({ }) { return ( <> - {/*