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 + + + );