"use client"; import React from "react"; import styles from "./styles.module.css"; import { usePathname, useRouter } from "next/navigation"; const Sidebar = () => { const router = useRouter(); const navToHome = () => { router.push("/home"); }; const navToOrganization = () => { router.push("/organization"); }; const navToProject = () => { router.push("/projects"); }; const navToUsers = () => { router.push("/users"); }; const navToRoles = () => { router.push("/roles"); }; const navToCredentials = () => { router.push("/credentials"); }; const navToAgents = () => { router.push("/agents"); }; const pathname = usePathname(); console.log(pathname); return (
Internal Developer Platform
By Project Moonshot Inc.
Home
Organization
Project
Users
Roles
Credentials
Agents
Download ICTL v3