From c755fd0acb177d657a89f98650c858fd66b55830 Mon Sep 17 00:00:00 2001 From: Hossein Rahmani Date: Mon, 25 Dec 2023 19:16:00 +0330 Subject: [PATCH 1/3] Provider Bug Fixed --- app/layout.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 2fc2253..37e98ab 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -20,16 +20,16 @@ export default function RootLayout({ }) { return ( - - + +
{children}
- -
+
+ ); } From 72b595142bf2618daddc6ffb363b3a96cb6c08c3 Mon Sep 17 00:00:00 2001 From: yasaman Date: Thu, 28 Dec 2023 13:03:36 +0330 Subject: [PATCH 2/3] Added part of Reques and Tracking page is done --- .../ControllerDashboard/Reports/page.tsx | 1 - app/components/Landing.tsx | 59 ++-- app/globals.css | 4 +- app/layout.tsx | 4 +- components/FollowResult.tsx | 121 ++++++-- components/FollowUp.tsx | 63 +++- components/Navbar.tsx | 2 +- components/PrintPage.tsx | 15 + components/RequestResult.tsx | 48 ++- components/RequestStep2.tsx | 283 ++++++++++++++++-- components/ui/select.tsx | 164 ++++++++++ components/ui/textarea.tsx | 2 +- package-lock.json | 69 +++++ package.json | 1 + utils/citizenApi.ts | 32 +- utils/commonApi.ts | 16 +- 16 files changed, 761 insertions(+), 123 deletions(-) create mode 100644 components/PrintPage.tsx create mode 100644 components/ui/select.tsx diff --git a/app/UserPanel/(Controller)/ControllerDashboard/Reports/page.tsx b/app/UserPanel/(Controller)/ControllerDashboard/Reports/page.tsx index bc34bb4..48557be 100644 --- a/app/UserPanel/(Controller)/ControllerDashboard/Reports/page.tsx +++ b/app/UserPanel/(Controller)/ControllerDashboard/Reports/page.tsx @@ -2,7 +2,6 @@ import ReportsController from '@/components/ReportsController' import React from 'react' export default function page() { - const a = useMut return ( ) diff --git a/app/components/Landing.tsx b/app/components/Landing.tsx index eeb80b0..7daa895 100644 --- a/app/components/Landing.tsx +++ b/app/components/Landing.tsx @@ -10,31 +10,49 @@ import Link from "next/link"; import bgimg from "../../public/img/bg.png"; import Footer from "@/components/Footer"; +// Import Swiper React components +import { Swiper, SwiperSlide } from "swiper/react"; +// Import Swiper styles +import "swiper/css"; +import "swiper/css/pagination"; +// import required modules +import { Pagination } from "swiper/modules"; +import { sliderItems } from "@/constants"; + export default function Landing() { return (
-
- bg - {/* */} -
+
+ + {sliderItems.map((item) => { + return ( + + bg + + ); + })} + +
+
{boxItems.map((item, index) => { return ( - - ); })}
@@ -155,13 +172,11 @@ export default function Landing() {
- {/* Counter */} - {/*SubmitRequest */} - + {/* Footer */}