diff --git a/apps/dispatch/app/dispatch/_components/navbar/Navbar.tsx b/apps/dispatch/app/dispatch/_components/navbar/Navbar.tsx
index 1bdabca4..bd3a30dc 100644
--- a/apps/dispatch/app/dispatch/_components/navbar/Navbar.tsx
+++ b/apps/dispatch/app/dispatch/_components/navbar/Navbar.tsx
@@ -1,14 +1,15 @@
"use client";
import { Connection } from "./_components/Connection";
-import { ThemeSwap } from "./_components/ThemeSwap";
+/* import { ThemeSwap } from "./_components/ThemeSwap"; */
import { Audio } from "../../../_components/Audio";
-import { useState } from "react";
+/* import { useState } from "react"; */
import { ExitIcon, ExternalLinkIcon } from "@radix-ui/react-icons";
import Link from "next/link";
+import { SettingsBtn } from "./_components/Settings";
export default function Navbar() {
- const [isDark, setIsDark] = useState(false);
+ /* const [isDark, setIsDark] = useState(false);
const toggleTheme = () => {
const newTheme = !isDark;
@@ -17,7 +18,7 @@ export default function Navbar() {
"data-theme",
newTheme ? "nord" : "dark",
);
- };
+ }; */
return (
@@ -32,8 +33,9 @@ export default function Navbar() {
-
+ {/*
*/}
+
{
onClick={() => {
modalRef.current?.showModal();
}}
- className="btn btn-soft btn-info"
+ className="btn btn-sm btn-soft btn-info"
>
{connection.status == "disconnected"
? "Verbinden"
diff --git a/apps/dispatch/app/dispatch/_components/navbar/_components/Settings.tsx b/apps/dispatch/app/dispatch/_components/navbar/_components/Settings.tsx
new file mode 100644
index 00000000..5a51934f
--- /dev/null
+++ b/apps/dispatch/app/dispatch/_components/navbar/_components/Settings.tsx
@@ -0,0 +1,103 @@
+"use client";
+import { useRef } from "react";
+import { GearIcon } from "@radix-ui/react-icons";
+import { SettingsIcon, Volume2 } from "lucide-react";
+
+export const SettingsBtn = () => {
+ const modalRef = useRef
(null);
+
+ return (
+
+
+
+
+
+ );
+};
+
+export const Settings = () => {
+ return (
+
+
+
+ );
+};
diff --git a/apps/dispatch/app/pilot/_components/navbar/Navbar.tsx b/apps/dispatch/app/pilot/_components/navbar/Navbar.tsx
index 53cfc32e..53241866 100644
--- a/apps/dispatch/app/pilot/_components/navbar/Navbar.tsx
+++ b/apps/dispatch/app/pilot/_components/navbar/Navbar.tsx
@@ -1,14 +1,15 @@
"use client";
import { Connection } from "./Connection";
-import { ThemeSwap } from "./ThemeSwap";
+/* import { ThemeSwap } from "./ThemeSwap"; */
import { Audio } from "../../../_components/Audio";
-import { useState } from "react";
+/* import { useState } from "react"; */
import { ExitIcon, ExternalLinkIcon } from "@radix-ui/react-icons";
import Link from "next/link";
+import { Settings } from "./Settings";
export default function Navbar() {
- const [isDark, setIsDark] = useState(false);
+ /* const [isDark, setIsDark] = useState(false);
const toggleTheme = () => {
const newTheme = !isDark;
@@ -17,7 +18,7 @@ export default function Navbar() {
"data-theme",
newTheme ? "nord" : "dark",
);
- };
+ }; */
return (
@@ -32,8 +33,9 @@ export default function Navbar() {
-
+ {/*
*/}
+
{
+ const modalRef = useRef
(null);
+
+ return (
+
+
+
+
+
+ );
+};
+
+export const Settings = () => {
+ return (
+
+
+
+ );
+};