From 3a103a4b363ee5ce49c96ee1784ace7c28b96cef Mon Sep 17 00:00:00 2001 From: jaanvi Date: Thu, 3 Apr 2025 18:26:44 +0530 Subject: [PATCH] Minor changes in Landing Page --- src/components/MenuContent/index.tsx | 10 +++ src/pages/LandingPage/index.tsx | 120 +++++++++++++++++---------- 2 files changed, 84 insertions(+), 46 deletions(-) diff --git a/src/components/MenuContent/index.tsx b/src/components/MenuContent/index.tsx index 6260a79..c0fd04c 100644 --- a/src/components/MenuContent/index.tsx +++ b/src/components/MenuContent/index.tsx @@ -35,6 +35,16 @@ export default function MenuContent({ hidden }: PropType) { icon: , url: "/panel/admin-list", }, + userRole === "superadmin" && { + text: "Manager", + icon: , + url: "/panel/manager-list", + }, + userRole === "superadmin" && { + text: "User", + icon: , + url: "/panel/user-list", + }, userRole === "superadmin" && { text: "Roles", icon: , diff --git a/src/pages/LandingPage/index.tsx b/src/pages/LandingPage/index.tsx index 152299a..a7434d5 100644 --- a/src/pages/LandingPage/index.tsx +++ b/src/pages/LandingPage/index.tsx @@ -4,18 +4,20 @@ import { useNavigate } from "react-router-dom"; // Import useNavigate for naviga import SearchIcon from "@mui/icons-material/Search"; const LandingPage = () => { - const navigate = useNavigate(); // Initialize useNavigate + const navigate = useNavigate(); const handleLoginClick = () => { - navigate("/login"); // Redirect to the login page + navigate("/login"); }; return ( { - {/* Hero Section */} { - - {" "} + + - {" "} - - {" "} + - {" "} - 50+{" "} - {" "} - - {" "} - Successful Digital Transformations{" "} - {" "} - {" "} - - {" "} + 50+ + + + Successful Digital Transformations + + + - {" "} - 100%{" "} - {" "} - - {" "} - Client Satisfaction{" "} - {" "} - {" "} - - {" "} + 100% + + + Client Satisfaction + + + - {" "} - 20+{" "} - {" "} - - {" "} - Global Partnerships{" "} - {" "} - {" "} - {" "} + 20+ + + + Global Partnerships + + + {/* New Statistic */} + + + 10+ + + + Years of Innovation + + + );