From 5bec94d2bdde008b810cd9c69b6edfb0e2e743bd Mon Sep 17 00:00:00 2001 From: yasaman Date: Thu, 14 Dec 2023 16:35:53 +0330 Subject: [PATCH] the Footer , CallUs Page , Menu Panel ... is done --- app/CallUs/page.tsx | 8 + app/{Request => RequestStep1}/page.tsx | 4 +- app/RequestStep2/page.tsx | 8 + .../(Admin)/AdminDashboard/layout.tsx | 14 ++ app/UserPanel/(Admin)/AdminDashboard/page.tsx | 7 + .../ControllerDashboard/layout.tsx | 15 ++ .../(Controller)/ControllerDashboard/page.tsx | 13 ++ app/UserPanel/page.tsx | 7 + app/globals.css | 5 + app/layout.tsx | 2 +- components/CallUs.tsx | 110 ++++++++++++ components/FollowResult.tsx | 4 +- components/FollowUp.tsx | 12 +- components/Login.tsx | 10 +- components/Map.tsx | 109 ++++++++++++ components/NavbarPanel.tsx | 33 ++++ components/NavbarSm.tsx | 7 +- components/RequestResult.tsx | 2 +- components/RequestStep1.tsx | 166 ++++++++++++++++++ components/{Request.tsx => RequestStep2.tsx} | 117 ++---------- constants/index.tsx | 33 +++- package-lock.json | 67 ++++++- package.json | 6 +- public/img/map.png | Bin 0 -> 794457 bytes tailwind.config.js | 1 + 25 files changed, 633 insertions(+), 127 deletions(-) create mode 100644 app/CallUs/page.tsx rename app/{Request => RequestStep1}/page.tsx (50%) create mode 100644 app/RequestStep2/page.tsx create mode 100644 app/UserPanel/(Admin)/AdminDashboard/layout.tsx create mode 100644 app/UserPanel/(Admin)/AdminDashboard/page.tsx create mode 100644 app/UserPanel/(Controller)/ControllerDashboard/layout.tsx create mode 100644 app/UserPanel/(Controller)/ControllerDashboard/page.tsx create mode 100644 app/UserPanel/page.tsx create mode 100644 components/CallUs.tsx create mode 100644 components/Map.tsx create mode 100644 components/NavbarPanel.tsx create mode 100644 components/RequestStep1.tsx rename components/{Request.tsx => RequestStep2.tsx} (56%) create mode 100644 public/img/map.png diff --git a/app/CallUs/page.tsx b/app/CallUs/page.tsx new file mode 100644 index 0000000..fc7d628 --- /dev/null +++ b/app/CallUs/page.tsx @@ -0,0 +1,8 @@ +import React from "react"; +import CallUs from "@/components/CallUs"; + +export default function page() { + return ( + + ); +} diff --git a/app/Request/page.tsx b/app/RequestStep1/page.tsx similarity index 50% rename from app/Request/page.tsx rename to app/RequestStep1/page.tsx index f548f16..b7916d7 100644 --- a/app/Request/page.tsx +++ b/app/RequestStep1/page.tsx @@ -1,8 +1,8 @@ import React from "react"; -import Request from "@/components/Request"; +import RequestStep1 from "@/components/RequestStep1"; export default function page() { return ( - + ); } diff --git a/app/RequestStep2/page.tsx b/app/RequestStep2/page.tsx new file mode 100644 index 0000000..c97600b --- /dev/null +++ b/app/RequestStep2/page.tsx @@ -0,0 +1,8 @@ +import React from "react"; +import RequestStep2 from "@/components/RequestStep2"; + +export default function page() { + return ( + + ); +} diff --git a/app/UserPanel/(Admin)/AdminDashboard/layout.tsx b/app/UserPanel/(Admin)/AdminDashboard/layout.tsx new file mode 100644 index 0000000..e588094 --- /dev/null +++ b/app/UserPanel/(Admin)/AdminDashboard/layout.tsx @@ -0,0 +1,14 @@ + +export default function RootLayout({ + children, + }: { + children: React.ReactNode; + }) { + return ( + <> + {/*