diff --git a/frontend/src/app/components/buttons/primarybutton/styles.module.css b/frontend/src/app/components/buttons/primarybutton/styles.module.css index 0df0348..223f4c6 100644 --- a/frontend/src/app/components/buttons/primarybutton/styles.module.css +++ b/frontend/src/app/components/buttons/primarybutton/styles.module.css @@ -1,6 +1,6 @@ .button { display: flex; - padding: 7px 15px; + padding: 8px 12px; justify-content: center; align-items: center; gap: 10px; diff --git a/frontend/src/app/components/icons/publish.jsx b/frontend/src/app/components/icons/publish.jsx new file mode 100644 index 0000000..697c2ae --- /dev/null +++ b/frontend/src/app/components/icons/publish.jsx @@ -0,0 +1,22 @@ +import React from "react"; + +const PublishIcon = () => { + return ( + + ); +}; + +export default PublishIcon; diff --git a/frontend/src/app/components/icons/viewLogs.jsx b/frontend/src/app/components/icons/viewLogs.jsx new file mode 100644 index 0000000..102c4ab --- /dev/null +++ b/frontend/src/app/components/icons/viewLogs.jsx @@ -0,0 +1,23 @@ +import React from "react"; + +const ViewLogsIcon = () => { + return ( + + ); +}; + +export default ViewLogsIcon; diff --git a/frontend/src/app/components/sidebar/Sidebar.jsx b/frontend/src/app/components/sidebar/Sidebar.jsx index fa6bb22..b8d70a6 100644 --- a/frontend/src/app/components/sidebar/Sidebar.jsx +++ b/frontend/src/app/components/sidebar/Sidebar.jsx @@ -1,5 +1,5 @@ "use client"; -import React from "react"; +import React, { useState } from "react"; import styles from "./styles.module.css"; import { usePathname, useRouter } from "next/navigation"; @@ -15,6 +15,7 @@ import LogoIcon from "../icons/logo"; const Sidebar = () => { const router = useRouter(); + const [isCollapsed, setIsCollapsed] = useState(false); const navToHome = () => { router.push("/home"); }; @@ -40,15 +41,19 @@ const Sidebar = () => { const pathname = usePathname(); console.log(pathname); return ( -
Internal Developer Platform
By Project Moonshot Inc.
Home
++ Home +
Organization
++ Organization +
Project
++ Project +
Users
++ Users +
Roles
++ Roles +
Credentials
++ Credentials +
Agents
++ Agents +
Download ICTL v3
++ Download ICTL v3 +
View Logs
+Publish Service
+Name
+mongo tls ca crt
+Organization ID
+67160a5ae69144ff19aafb86
+| Name | -Organization ID | -- |
|---|
| Name | +Organization ID | ++ |
|---|---|---|
| {org.name} | -{org.organizationID} | -
-
-
- |
-
Organization Name
+ProjectMoonShot Inc.
+Date Created
+2024-10-21 08:01:30.556 +0000 UTC
+| Organization Name | -Date Created | -- |
|---|
| Organization Name | +Date Created | ++ |
|---|---|---|
| {org.organizationName} | -{org.dateCreated} | -
-
-
- |
-
| Name | -Version | -CPU Used/Limit | -Memory Used/Limit | -Storage Used/Limit | -Date Created | -- | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {project.name} | -{project.version} | -- {project.cpuUsed} /{" "} - {project.cpuLimit} - | -- - {project.memoryUsed} - {" "} - /{" "} - - {project.memoryLimit} - - | -- - {project.storageUsed} - {" "} - /{" "} - - {project.storageLimit} - - | -{project.dateCreated} | -
-
-
-
+
+ ) : (
+
+
+
|
+
Name
+DOKS One Cooperative Bank Backend Develop
+CPU Used/Limit
++ 13500 /{" "} + 20000 +
+Memory Used/Limit
++ 13500 /{" "} + 20000 +
+Storage Used/Limit
++ 10000 /{" "} + 1000000 +
+Date Created
+2025-11-07 01:43:18.313 +0000 UTC
+