From ee9698f665c459272a9dfffd65f69030f3704438 Mon Sep 17 00:00:00 2001 From: pramod mahajan Date: Fri, 12 Sep 2025 12:29:54 +0530 Subject: [PATCH] changed images path for landing page --- src/pages/Home/LandingPage.jsx | 148 +++++++++++++++------------------ 1 file changed, 69 insertions(+), 79 deletions(-) diff --git a/src/pages/Home/LandingPage.jsx b/src/pages/Home/LandingPage.jsx index 7b6c2492..04b09825 100644 --- a/src/pages/Home/LandingPage.jsx +++ b/src/pages/Home/LandingPage.jsx @@ -13,6 +13,64 @@ import "swiper/css/navigation"; import SwaperSlideContent from "./SwaperSlideContent"; import SwaperBlogContent from "./SwaperBlogContent"; +const slides = [ + { + ImageUrl: "/assets/img/app/dashboard-light-01.png", + Title: "Project & Task Management", + Body: "Plan, assign, and track projects and tasks seamlessly for better team collaboration.", + }, + { + ImageUrl: "/assets/img/app/dashboard-light-02.png", + Title: "Attendance & Leave Tracking", + Body: "Monitor employee attendance and manage leave requests with ease.", + }, + { + ImageUrl: "/assets/img/app/dashboard-light-04.png", + Title: "Role-based Permissions", + Body: "Securely control access with customizable roles and permissions.", + }, + { + ImageUrl: "/assets/img/app/dashboard-light-05.png", + Title: "Expense & Budget Tracking", + Body: "Keep projects on budget with real-time expense and cost management.", + ContentAlign: "left", + }, + { + ImageUrl: "/assets/img/app/dashboard-light-06.png", + Title: "Reporting & Analytics", + Body: "Gain actionable insights through powerful reports and analytics dashboards.", + }, + { + ImageUrl: "/assets/img/app/dashboard-light-07.png", + Title: "Document Management", + Body: "Organize, share, and access all your project and employee documents in one place.", + }, + { + ImageUrl: "/assets/img/app/dashboard-light-08.png", + Title: "Inventory Management", + Body: "Track materials, supplies, and assets — never run short again.", + }, +]; + +const swiperConfig = { + spaceBetween: 30, + centeredSlides: true, + rewind: true, + autoplay: { + delay: 3500, + disableOnInteraction: false, + }, + pagination: { + clickable: true, + }, + keyboard: { + enabled: true, + }, + navigation: false, + modules: [EffectFlip, Autoplay, Pagination, Navigation], + className: "mySwiper", +}; + const LandingPage = () => { const [swiperRef, setSwiperRef] = useState(null); return ( @@ -37,10 +95,7 @@ const LandingPage = () => { {/* Mobile menu toggle: End*/} - + {/* */} PMS @@ -172,77 +227,12 @@ const LandingPage = () => { id="heroAnimationImg" className="position-relative hero-dashboard-img" > - console.log("slide change")} - onSwiper={(swiper) => console.log(swiper)} - > - - - - - - - - - - - - - - - - - - - - - - + + {slides.map((slide, index) => ( + + + + ))} @@ -279,7 +269,7 @@ const LandingPage = () => {
laptop charging
@@ -292,7 +282,7 @@ const LandingPage = () => {
transition up
@@ -304,7 +294,7 @@ const LandingPage = () => {
- edit + edit
Role-based Permissions

@@ -366,7 +356,7 @@ const LandingPage = () => {

keyboard