diff --git a/Client/src/Components/Sidebar/index.jsx b/Client/src/Components/Sidebar/index.jsx
index 80a47b68c..be7689235 100644
--- a/Client/src/Components/Sidebar/index.jsx
+++ b/Client/src/Components/Sidebar/index.jsx
@@ -41,6 +41,8 @@ import ArrowUp from "../../assets/icons/up-arrow.svg?react";
import ArrowRight from "../../assets/icons/right-arrow.svg?react";
import ArrowLeft from "../../assets/icons/left-arrow.svg?react";
import DotsVertical from "../../assets/icons/dots-vertical.svg?react";
+import ChangeLog from "../../assets/icons/changeLog.svg?react";
+import Docs from "../../assets/icons/docs.svg?react";
import "./index.css";
@@ -69,10 +71,18 @@ const menu = [
];
const other = [
- { name: "Support", path: "support", icon: },
{ name: "Settings", path: "settings", icon: },
+ { name: "Support", path: "support", icon: },
+ { name: "Docs", path: "docs", icon: },
+ { name: "Changelog", path: "changelog", icon: },
];
+const URL_MAP = {
+ support: "https://github.com/bluewave-labs/bluewave-uptime/issues",
+ docs: "https://bluewavelabs.gitbook.io/uptime-manager",
+ changelog: "https://github.com/bluewave-labs/bluewave-uptime/releases",
+};
+
/**
* @component
* Sidebar component serves as a sidebar containing a menu.
@@ -498,15 +508,14 @@ function Sidebar() {
className={
location.pathname.includes(item.path) ? "selected-path" : ""
}
- onClick={() =>
- item.path === "support"
- ? window.open(
- "https://github.com/bluewave-labs/bluewave-uptime/issues",
- "_blank",
- "noreferrer"
- )
- : navigate(`/${item.path}`)
- }
+ onClick={() => {
+ const url = URL_MAP[item.path];
+ if (url) {
+ window.open(url, "_blank", "noreferrer");
+ } else {
+ navigate(`/${item.path}`);
+ }
+ }}
sx={{
gap: theme.spacing(4),
borderRadius: theme.shape.borderRadius,
diff --git a/Client/src/assets/icons/changeLog.svg b/Client/src/assets/icons/changeLog.svg
new file mode 100644
index 000000000..d12f6c10e
--- /dev/null
+++ b/Client/src/assets/icons/changeLog.svg
@@ -0,0 +1,3 @@
+
diff --git a/Client/src/assets/icons/docs.svg b/Client/src/assets/icons/docs.svg
new file mode 100644
index 000000000..d36458de2
--- /dev/null
+++ b/Client/src/assets/icons/docs.svg
@@ -0,0 +1,3 @@
+