From c02dbe4797b418e9c1a1337073bc10d582fb912d Mon Sep 17 00:00:00 2001 From: Roland Date: Tue, 31 Jan 2023 17:26:43 -0700 Subject: [PATCH] Renaming Apps to More. --- app/src/App.js | 4 ++-- app/src/components/Apps.js | 2 +- app/src/components/Nav.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/App.js b/app/src/App.js index 2bb4f598..0e3f88b6 100644 --- a/app/src/App.js +++ b/app/src/App.js @@ -8,7 +8,7 @@ import {Container} from "semantic-ui-react"; import 'semantic-ui-offline/semantic.min.css'; import {SemanticToastContainer} from 'react-semantic-toasts'; import 'react-semantic-toasts/styles/react-semantic-alert.css'; -import {AppsRoute} from "./components/Apps"; +import {MoreRoute} from "./components/Apps"; import {InventoryRoute} from "./components/Inventory"; import {ArchiveRoute} from "./components/Archive"; import {FilesRoute} from "./components/Files"; @@ -69,7 +69,7 @@ const router = createBrowserRouter(createRoutesFromElements( }/> }/> }/> - }/> + }/> }/> }/> }/> diff --git a/app/src/components/Apps.js b/app/src/components/Apps.js index 1ead2f44..741fc92f 100644 --- a/app/src/components/Apps.js +++ b/app/src/components/Apps.js @@ -247,7 +247,7 @@ function StatisticsPage() { } -export function AppsRoute(props) { +export function MoreRoute(props) { return ( }/> diff --git a/app/src/components/Nav.js b/app/src/components/Nav.js index 023c4acc..58218bd0 100644 --- a/app/src/components/Nav.js +++ b/app/src/components/Nav.js @@ -10,8 +10,8 @@ const links = [{text: 'Videos', to: '/videos', key: 'videos'}, { }, {text: 'Map', to: '/map', key: 'map'}, {text: 'Files', to: '/files', key: 'files'}, { text: 'Inventory', to: '/inventory', key: 'inventory' }, { - key: 'apps', text: 'Apps', links: [{to: '/apps/otp', text: 'One Time Pad', end: true}, { - to: '/apps/statistics', text: 'Statistics', end: true + key: 'more', text: 'More', links: [{to: '/more/otp', text: 'One Time Pad', end: true}, { + to: '/more/statistics', text: 'Statistics', end: true },] },]; const admin = {to: '/admin', text: 'Admin', key: 'admin'}; @@ -72,7 +72,7 @@ export function NavBar() { {icons} - {collapsedLinks.map(i =>)} + {collapsedLinks.map(i => )}