diff --git a/frontend/src/app/components/topHeader/TopHeader.jsx b/frontend/src/app/components/topHeader/TopHeader.jsx index 7c0b01d..df32d71 100644 --- a/frontend/src/app/components/topHeader/TopHeader.jsx +++ b/frontend/src/app/components/topHeader/TopHeader.jsx @@ -1,6 +1,11 @@ +"use client"; import React from "react"; import styles from "./styles.module.css"; +import { usePathname } from "next/navigation"; + const TopHeader = (props) => { + const pathName = usePathname(); + console.log(pathName); return (
@@ -24,6 +29,49 @@ const TopHeader = (props) => { />
+ {pathName === "/credentials" ? ( +
+ + + + + + +

Manage Env. Key

+
+ ) : ( + "" + )}
p { + color: #8187ff; + font-family: Inter; + font-size: 16px; + font-style: normal; + font-weight: 400; + line-height: normal; + cursor: pointer; +} +.mngEnvKeyButton:hover p { + color: white; +} +.mngEnvKeyButton:hover { + border: 1px solid #5359f2; + background: linear-gradient(180deg, #5359f2 0%, #2e3288 100%); +} +.mngEnvKeyButton:hover path { + stroke: white; +} diff --git a/frontend/src/app/organization/page.jsx b/frontend/src/app/organization/page.jsx index 6a4bb1e..798935d 100644 --- a/frontend/src/app/organization/page.jsx +++ b/frontend/src/app/organization/page.jsx @@ -59,9 +59,7 @@ const OrganizationPage = () => { dateCreated: "2024-10-21 08:01:30.556 +0000 UTC", }, ]; - const handleRowClick = (org) => { - console.log("Row clicked:", org); - }; + return (