changed images path for landing page
This commit is contained in:
parent
25ec5a354c
commit
ee9698f665
@ -13,6 +13,64 @@ import "swiper/css/navigation";
|
|||||||
import SwaperSlideContent from "./SwaperSlideContent";
|
import SwaperSlideContent from "./SwaperSlideContent";
|
||||||
import SwaperBlogContent from "./SwaperBlogContent";
|
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 LandingPage = () => {
|
||||||
const [swiperRef, setSwiperRef] = useState(null);
|
const [swiperRef, setSwiperRef] = useState(null);
|
||||||
return (
|
return (
|
||||||
@ -37,10 +95,7 @@ const LandingPage = () => {
|
|||||||
{/* Mobile menu toggle: End*/}
|
{/* Mobile menu toggle: End*/}
|
||||||
<a href="/" className="app-brand-link">
|
<a href="/" className="app-brand-link">
|
||||||
<span className="app-brand-logo demo">
|
<span className="app-brand-logo demo">
|
||||||
<img
|
<img src="/img/brand/marco.png" width={50}></img>
|
||||||
src="/img/brand/marco.png"
|
|
||||||
width={50}
|
|
||||||
></img>
|
|
||||||
</span>
|
</span>
|
||||||
<span className="app-brand-text demo menu-text fw-bold ms-2 ps-1 ">
|
<span className="app-brand-text demo menu-text fw-bold ms-2 ps-1 ">
|
||||||
{/* <Link> */} PMS
|
{/* <Link> */} PMS
|
||||||
@ -172,77 +227,12 @@ const LandingPage = () => {
|
|||||||
id="heroAnimationImg"
|
id="heroAnimationImg"
|
||||||
className="position-relative hero-dashboard-img"
|
className="position-relative hero-dashboard-img"
|
||||||
>
|
>
|
||||||
<Swiper
|
<Swiper {...swiperConfig}>
|
||||||
spaceBetween={30}
|
{slides.map((slide, index) => (
|
||||||
centeredSlides={true}
|
<SwiperSlide key={index}>
|
||||||
rewind={true}
|
<SwaperSlideContent {...slide} />
|
||||||
autoplay={{
|
</SwiperSlide>
|
||||||
delay: 3500,
|
))}
|
||||||
disableOnInteraction: false,
|
|
||||||
}}
|
|
||||||
pagination={{
|
|
||||||
clickable: true,
|
|
||||||
}}
|
|
||||||
keyboard={{
|
|
||||||
enabled: true,
|
|
||||||
}}
|
|
||||||
navigation={false}
|
|
||||||
modules={[EffectFlip, Autoplay, Pagination, Navigation]}
|
|
||||||
className="mySwiper"
|
|
||||||
onSlideChange={() => console.log("slide change")}
|
|
||||||
onSwiper={(swiper) => console.log(swiper)}
|
|
||||||
>
|
|
||||||
<SwiperSlide>
|
|
||||||
<SwaperSlideContent
|
|
||||||
ImageUrl="./../../public/img/app/dashboard-light-01.png"
|
|
||||||
Title="Project & Task Management"
|
|
||||||
Body="Plan, assign, and track projects and tasks seamlessly for better team collaboration."
|
|
||||||
></SwaperSlideContent>
|
|
||||||
</SwiperSlide>
|
|
||||||
|
|
||||||
<SwiperSlide>
|
|
||||||
<SwaperSlideContent
|
|
||||||
ImageUrl="./../../public/img/app/dashboard-light-02.png"
|
|
||||||
Title="Attendance & Leave Tracking"
|
|
||||||
Body="Monitor employee attendance and manage leave requests with ease."
|
|
||||||
></SwaperSlideContent>
|
|
||||||
</SwiperSlide>
|
|
||||||
<SwiperSlide>
|
|
||||||
<SwaperSlideContent
|
|
||||||
ImageUrl="./../../public/img/app/dashboard-light-04.png"
|
|
||||||
Title="Role-based Permissions"
|
|
||||||
Body="Securely control access with customizable roles and permissions."
|
|
||||||
></SwaperSlideContent>
|
|
||||||
</SwiperSlide>
|
|
||||||
<SwiperSlide>
|
|
||||||
<SwaperSlideContent
|
|
||||||
ImageUrl="./../../public/img/app/dashboard-light-05.png"
|
|
||||||
Title="Expense & Budget Tracking"
|
|
||||||
Body="Keep projects on budget with real-time expense and cost management."
|
|
||||||
ContentAlign="left"
|
|
||||||
></SwaperSlideContent>
|
|
||||||
</SwiperSlide>
|
|
||||||
<SwiperSlide>
|
|
||||||
<SwaperSlideContent
|
|
||||||
ImageUrl="./../../public/img/app/dashboard-light-06.png"
|
|
||||||
Title="Reporting & Analytics"
|
|
||||||
Body="Gain actionable insights through powerful reports and analytics dashboards."
|
|
||||||
></SwaperSlideContent>
|
|
||||||
</SwiperSlide>
|
|
||||||
<SwiperSlide>
|
|
||||||
<SwaperSlideContent
|
|
||||||
ImageUrl="./../../public/img/app/dashboard-light-07.png"
|
|
||||||
Title="Document Management"
|
|
||||||
Body="Organize, share, and access all your project and employee documents in one place."
|
|
||||||
></SwaperSlideContent>
|
|
||||||
</SwiperSlide>
|
|
||||||
<SwiperSlide>
|
|
||||||
<SwaperSlideContent
|
|
||||||
ImageUrl="./../../public/img/app/dashboard-light-08.png"
|
|
||||||
Title="Inventory Management"
|
|
||||||
Body="Track materials, supplies, and assets — never run short again."
|
|
||||||
></SwaperSlideContent>
|
|
||||||
</SwiperSlide>
|
|
||||||
</Swiper>
|
</Swiper>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -279,7 +269,7 @@ const LandingPage = () => {
|
|||||||
<div className="col-lg-3 col-sm-4 text-center features-icon-box">
|
<div className="col-lg-3 col-sm-4 text-center features-icon-box">
|
||||||
<div className="text-center mb-4">
|
<div className="text-center mb-4">
|
||||||
<img
|
<img
|
||||||
src="./../../public/img/icons/laptop.svg"
|
src="/img/icons/laptop.svg"
|
||||||
alt="laptop charging"
|
alt="laptop charging"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -292,7 +282,7 @@ const LandingPage = () => {
|
|||||||
<div className="col-lg-3 col-sm-4 text-center features-icon-box">
|
<div className="col-lg-3 col-sm-4 text-center features-icon-box">
|
||||||
<div className="text-center mb-4">
|
<div className="text-center mb-4">
|
||||||
<img
|
<img
|
||||||
src="./../../public/img/icons/rocket.svg"
|
src="/img/icons/rocket.svg"
|
||||||
alt="transition up"
|
alt="transition up"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -304,7 +294,7 @@ const LandingPage = () => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="col-lg-3 col-sm-4 text-center features-icon-box">
|
<div className="col-lg-3 col-sm-4 text-center features-icon-box">
|
||||||
<div className="text-center mb-4">
|
<div className="text-center mb-4">
|
||||||
<img src="./../../public/img/icons/paper.svg" alt="edit" />
|
<img src="/img/icons/paper.svg" alt="edit" />
|
||||||
</div>
|
</div>
|
||||||
<h5 className="mb-2">Role-based Permissions</h5>
|
<h5 className="mb-2">Role-based Permissions</h5>
|
||||||
<p className="features-icon-description">
|
<p className="features-icon-description">
|
||||||
@ -366,7 +356,7 @@ const LandingPage = () => {
|
|||||||
<div className="col-lg-3 col-sm-4 text-center features-icon-box">
|
<div className="col-lg-3 col-sm-4 text-center features-icon-box">
|
||||||
<div className="text-center mb-4">
|
<div className="text-center mb-4">
|
||||||
<img
|
<img
|
||||||
src="./../../public/img/icons/inventory.svg"
|
src="/img/icons/inventory.svg"
|
||||||
alt="keyboard"
|
alt="keyboard"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user