diff --git a/src/components/SettingForms/Channel1-JSON/ChannelFields.tsx b/src/components/SettingForms/Channel1-JSON/ChannelFields.tsx index 36b505f..e837821 100644 --- a/src/components/SettingForms/Channel1-JSON/ChannelFields.tsx +++ b/src/components/SettingForms/Channel1-JSON/ChannelFields.tsx @@ -234,7 +234,7 @@ const ChannelFields = ({ touched, isSubmitting, format }: ChannelFieldsProps) => {isSubmitting ? "Saving..." : "Save Changes"} diff --git a/src/components/SettingForms/NPED/NPEDFields.tsx b/src/components/SettingForms/NPED/NPEDFields.tsx index 88f47c8..7beb06a 100644 --- a/src/components/SettingForms/NPED/NPEDFields.tsx +++ b/src/components/SettingForms/NPED/NPEDFields.tsx @@ -102,14 +102,14 @@ const NPEDFields = () => { {!state.npedUser?.propClientID?.value ? ( {isSubmitting ? "Logging in..." : "Login"} ) : ( Logout diff --git a/src/components/SettingForms/NPED/NPEDHotlist.tsx b/src/components/SettingForms/NPED/NPEDHotlist.tsx index b33421f..4ae9325 100644 --- a/src/components/SettingForms/NPED/NPEDHotlist.tsx +++ b/src/components/SettingForms/NPED/NPEDHotlist.tsx @@ -47,7 +47,7 @@ const NPEDHotlist = () => { /> Upload diff --git a/src/components/SettingForms/Sound/SoundSettingsFields.tsx b/src/components/SettingForms/Sound/SoundSettingsFields.tsx index c2f1fb1..5e1a79b 100644 --- a/src/components/SettingForms/Sound/SoundSettingsFields.tsx +++ b/src/components/SettingForms/Sound/SoundSettingsFields.tsx @@ -139,7 +139,7 @@ const SoundSettingsFields = () => { Save Settings diff --git a/src/components/SettingForms/Sound/SoundUpload.tsx b/src/components/SettingForms/Sound/SoundUpload.tsx index 30a03e6..3cd0e6e 100644 --- a/src/components/SettingForms/Sound/SoundUpload.tsx +++ b/src/components/SettingForms/Sound/SoundUpload.tsx @@ -96,7 +96,7 @@ const SoundUpload = () => { {errors.soundFile && Not an mp3 file} Upload diff --git a/src/components/SettingForms/System/SystemConfigFields.tsx b/src/components/SettingForms/System/SystemConfigFields.tsx index b830dd2..e58709d 100644 --- a/src/components/SettingForms/System/SystemConfigFields.tsx +++ b/src/components/SettingForms/System/SystemConfigFields.tsx @@ -167,7 +167,7 @@ const SystemConfigFields = () => { {saveSystemSettingsLoading ? "Saving..." : "Save System Settings"} diff --git a/src/components/SettingForms/System/SystemFileUpload.tsx b/src/components/SettingForms/System/SystemFileUpload.tsx index 32fd544..cb7f00b 100644 --- a/src/components/SettingForms/System/SystemFileUpload.tsx +++ b/src/components/SettingForms/System/SystemFileUpload.tsx @@ -52,7 +52,7 @@ const SystemFileUpload = ({ name, selectedFile }: SystemFileUploadProps) => { diff --git a/src/components/SettingForms/WiFi&Modem/ModemSettings.tsx b/src/components/SettingForms/WiFi&Modem/ModemSettings.tsx index a381f2b..723b392 100644 --- a/src/components/SettingForms/WiFi&Modem/ModemSettings.tsx +++ b/src/components/SettingForms/WiFi&Modem/ModemSettings.tsx @@ -178,7 +178,7 @@ const ModemSettings = () => { )} {isSubmitting || modemMutation.isPending ? "Saving..." : "Save Modem settings"} diff --git a/src/components/UI/Header.tsx b/src/components/UI/Header.tsx index c093949..7d0f34a 100644 --- a/src/components/UI/Header.tsx +++ b/src/components/UI/Header.tsx @@ -1,15 +1,26 @@ import { Link } from "react-router"; import Logo from "/MAV.svg"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { faGear, faHome, faListCheck, faMaximize, faMinimize, faRotate } from "@fortawesome/free-solid-svg-icons"; +import { + faBars, + faGear, + faHome, + faListCheck, + faMaximize, + faMinimize, + faRotate, +} from "@fortawesome/free-solid-svg-icons"; import { useState } from "react"; import SoundBtn from "./SoundBtn"; import { useIntegrationsContext } from "../../context/IntegrationsContext"; export default function Header() { const [isFullscreen, setIsFullscreen] = useState(false); + const [isMenuOpen, setIsMenuOpen] = useState(false); const { state } = useIntegrationsContext(); + const toggleMenu = () => setIsMenuOpen(!isMenuOpen); + const sessionStarted = state.sessionStarted; const sessionPaused = state.sessionPaused; @@ -36,7 +47,7 @@ export default function Header() { - + {sessionStarted && sessionPaused ? ( Session Paused ) : ( @@ -44,7 +55,7 @@ export default function Header() { )} - + @@ -59,15 +70,35 @@ export default function Header() { - + + + + + - + + {isMenuOpen && ( + + + setIsMenuOpen(false)}> + + + + + setIsMenuOpen(false)}> + + + + + + + )} ); } diff --git a/src/index.css b/src/index.css index 92bfa28..77fced0 100644 --- a/src/index.css +++ b/src/index.css @@ -33,7 +33,7 @@ body { } .arrow-outline path { - stroke: black; /* outline color */ - stroke-width: 20px; /* thickness of outline (tweak this) */ + stroke: black; + stroke-width: 20px; stroke-linejoin: round; }
Not an mp3 file
Session Paused