No devices are connected.
} + {deviceNames.length === 0 &&No devices are connected.
}{ deviceIPs[index] }
-{deviceIPs[index]}
+Extend Wireless Network
+import { Dispatch, SetStateAction } from "react"; +import VeryLowSignal from "../assets/very_low_signal.png"; +import LowSignal from "../assets/low_signal.png"; +import MediumSignal from "../assets/medium_signal.png"; +import HighSignal from "../assets/high_signal.png"; +import "../styles/ExtendWirelessNetwork.css"; + +interface Props { + selectedModeButton: number; + setSelecModeButton: DispatchConnected
:Unknown
} +On AP Mode.
+ )} +Wrong username.
}Wrong password.
}Forgot password? Reset it
@@ -67,4 +67,4 @@ function Login({ setLogin, setUser }: Props) { ) } -export default Login; \ No newline at end of file +export default Login; diff --git a/src/pages/SystemSettings.tsx b/src/pages/SystemSettings.tsx index ece2db8..2d8eb42 100644 --- a/src/pages/SystemSettings.tsx +++ b/src/pages/SystemSettings.tsx @@ -1,5 +1,5 @@ function SystemSettings() { - return + returnSystem Settings
; } -export default SystemSettings; \ No newline at end of file +export default SystemSettings; diff --git a/src/pages/WirelessSettings.tsx b/src/pages/WirelessSettings.tsx index ee834b4..2bec647 100644 --- a/src/pages/WirelessSettings.tsx +++ b/src/pages/WirelessSettings.tsx @@ -1,5 +1,5 @@ function WirelessName() { - returnWireless Name??????????
+ returnWireless Name
; } -export default WirelessName; \ No newline at end of file +export default WirelessName; diff --git a/src/styles/ExtendWirelessNetwork.css b/src/styles/ExtendWirelessNetwork.css index e69de29..3e896b2 100644 --- a/src/styles/ExtendWirelessNetwork.css +++ b/src/styles/ExtendWirelessNetwork.css @@ -0,0 +1,85 @@ +#extendNetwork { + background-color: var(--bg-color-alt); + margin-top: 20px; + border-radius: 20px; + padding: 20px; + height: calc(100% - 50px); + overflow: scroll; + + h2 { + font-size: 2.5rem; + text-align: center; + } + button { + background-color: #071436; + color: white; + border: none; + cursor: pointer; + height: 50px; + width: 80px; + border-radius: 10px; + transition: 0.3s background-color; + } + button:hover { + background-color: #0069ff; + } + #modeButton { + margin-top: 20px; + display: flex; + justify-content: center; + gap: 20px; + } + #APMode { + margin-top: 60px; + font-size: 2rem; + text-align: center; + } + .modeButonActive { + background-color: #0069ff; + } +} + +#signalList { + list-style: none; + display: flex; + flex-direction: column; + gap: 20px; + margin-top: 20px; + + li { + display: inherit; + background-color: #071436; + padding: 30px 20px; + border-radius: 20px; + justify-content: space-between; + align-items: center; + } + h3 { + font-size: 1.8rem; + width: fit-content; + } + p { + font-size: 1.3rem; + width: fit-content; + } + div { + display: inherit; + flex-direction: column; + text-align: center; + margin: 0 20px; + position: relative; + width: 100%; + } + img { + max-width: 100px; + } + .link { + max-width: 50px; + cursor: pointer; + color: #fff; + transition: 0.3s color; + } + .link:hover { + color: #0069ff; + } +} diff --git a/src/styles/Login.css b/src/styles/Login.css index 5966d73..9514bf9 100644 --- a/src/styles/Login.css +++ b/src/styles/Login.css @@ -1,11 +1,3 @@ -body { - height: 100vh; -} - -#root { - height: 100%; -} - #login { display: flex; align-items: center; diff --git a/src/styles/Main.css b/src/styles/Main.css index 2d7572d..ce7372e 100644 --- a/src/styles/Main.css +++ b/src/styles/Main.css @@ -25,6 +25,7 @@ body { color: #fff; padding: 20px; font-family: 'Poppins', sans-serif; + height: 100vh; } a { @@ -32,6 +33,10 @@ a { text-decoration: none; } +#root { + height: 100%; +} + #topNav { display: flex; justify-content: space-between;