Finished dashboard, fixed images

This commit is contained in:
Patrick Hatsune 2024-08-04 22:48:50 -07:00
parent 956ab13ff9
commit 75eeda0bd8
Signed by: keyemail
GPG key ID: 6FD1A0FDB0D914C2
27 changed files with 38 additions and 26 deletions

View file

@ -1,10 +1,10 @@
import { useState, useEffect } from 'react'
import { Routes, Route, useNavigate } from 'react-router-dom';
import Dashboard from './pages/Dashboard'
import Devices from './pages/DeviceList.tsx'
import Extend from './pages/ExtendWirelessNetwork.tsx'
import WirelessSettings from './pages/SystemSettings.tsx'
import SystemSettings from './pages/WirelessSettings.tsx'
import Devices from './pages/DeviceList'
import Extend from './pages/ExtendWirelessNetwork'
import WirelessSettings from './pages/SystemSettings'
import SystemSettings from './pages/WirelessSettings'
import Login from './pages/Login'
import Register from './pages/Register'
import Navbar from './components/Navbar'
@ -32,7 +32,6 @@ function Index() {
return(
<>
<p>{ loginState }</p>
<Navbar LoggedUser={ loggedUser } />
<Routes>
<Route path="/" element={<Dashboard RouterName={ routerName } TwoGExtendedName={ twoGExtendedName } FiveGExtendedName={ fiveGExtendedName } DevicesOnline={ devicesOnline } />} />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

BIN
src/assets/backups/gear.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
src/assets/backups/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View file

@ -1,3 +1,4 @@
import { Link } from 'react-router-dom'
import '../styles/Dashboard.css'
import Globe from '../assets/globe.png'
import Arrow from '../assets/arrow.png'
@ -55,26 +56,34 @@ function Dashboard({ RouterName, TwoGExtendedName, FiveGExtendedName, DevicesOnl
</header>
<nav id="lowerNav">
<ul>
<Link to="/devices">
<li>
<img src={ Devices } />
<h2>Device List</h2>
<p>{ DevicesOnline } Devices Online</p>
</li>
</Link>
<Link to="/extend">
<li>
<img src={ Globe } />
<h2>Extend Network</h2>
<p>Amplify Network</p>
</li>
</Link>
<Link to="/wireless">
<li>
<img src={ Signal } />
<h2>Wireless Settings</h2>
<p>Set Extender Network Up</p>
</li>
</Link>
<Link to="/settings">
<li>
<img src={ Gear } />
<h2>System Settings</h2>
<p>Change Extender Settings</p>
</li>
</Link>
</ul>
</nav>
</>

View file

@ -1,5 +1,5 @@
function WirelessName() {
return <p>Wireless Name</p>
return <p>Wireless Name??????????</p>
}
export default WirelessName;

View file

@ -40,11 +40,15 @@ li {
#lowerNav {
margin-top: 20px;
display: flex;
justify-content: center;
ul {
justify-content: space-around;
max-width: fit-content;
}
li{
display: flex;
padding: 40px;
background-color: #071e42;
justify-content: center;