mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-03 21:29:59 -05:00
Renaming Apps to More.
This commit is contained in:
parent
7a55f8677b
commit
c02dbe4797
3 changed files with 6 additions and 6 deletions
|
|
@ -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(
|
|||
<Route path='videos/channel/:channelId/video/:videoId' exact element={<VideoWrapper/>}/>
|
||||
<Route path="videos/*" element={<VideosRoute/>}/>
|
||||
<Route path="admin/*" element={<Admin/>}/>
|
||||
<Route path="apps/*" element={<AppsRoute/>}/>
|
||||
<Route path="more/*" element={<MoreRoute/>}/>
|
||||
<Route path="inventory/*" element={<InventoryRoute/>}/>
|
||||
<Route path='archive/*' element={<ArchiveRoute/>}/>
|
||||
<Route path='map/*' element={<MapRoute/>}/>
|
||||
|
|
|
|||
|
|
@ -247,7 +247,7 @@ function StatisticsPage() {
|
|||
|
||||
}
|
||||
|
||||
export function AppsRoute(props) {
|
||||
export function MoreRoute(props) {
|
||||
return (<PageContainer>
|
||||
<Routes>
|
||||
<Route path='otp' exact element={<OTP/>}/>
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
<Dropdown item icon="bars">
|
||||
<Dropdown.Menu>
|
||||
{collapsedLinks.map(i =><MenuLink link={i} key={i.key}/>)}
|
||||
{collapsedLinks.map(i => <MenuLink link={i} key={i.key}/>)}
|
||||
</Dropdown.Menu>
|
||||
</Dropdown>
|
||||
</Menu.Menu>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue