From 2f2a52ae2fa4b1c7eb057b4bf96a86a0f49a2210 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Mon, 17 May 2021 01:36:31 +0430 Subject: [PATCH] Move navbars --- webUI/react/src/components/{ => navbar}/NavBar.tsx | 6 +++--- webUI/react/src/components/{ => navbar}/ReaderNavBar.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) rename webUI/react/src/components/{ => navbar}/NavBar.tsx (93%) rename webUI/react/src/components/{ => navbar}/ReaderNavBar.tsx (99%) diff --git a/webUI/react/src/components/NavBar.tsx b/webUI/react/src/components/navbar/NavBar.tsx similarity index 93% rename from webUI/react/src/components/NavBar.tsx rename to webUI/react/src/components/navbar/NavBar.tsx index 87f09ab..b5f27ac 100644 --- a/webUI/react/src/components/NavBar.tsx +++ b/webUI/react/src/components/navbar/NavBar.tsx @@ -12,9 +12,9 @@ import Toolbar from '@material-ui/core/Toolbar'; import Typography from '@material-ui/core/Typography'; import IconButton from '@material-ui/core/IconButton'; import MenuIcon from '@material-ui/icons/Menu'; -import NavBarContext from '../context/NavbarContext'; -import DarkTheme from '../context/DarkTheme'; -import TemporaryDrawer from './TemporaryDrawer'; +import NavBarContext from '../../context/NavbarContext'; +import DarkTheme from '../../context/DarkTheme'; +import TemporaryDrawer from '../TemporaryDrawer'; const useStyles = makeStyles((theme) => ({ root: { diff --git a/webUI/react/src/components/ReaderNavBar.tsx b/webUI/react/src/components/navbar/ReaderNavBar.tsx similarity index 99% rename from webUI/react/src/components/ReaderNavBar.tsx rename to webUI/react/src/components/navbar/ReaderNavBar.tsx index ae0346a..7b87c95 100644 --- a/webUI/react/src/components/ReaderNavBar.tsx +++ b/webUI/react/src/components/navbar/ReaderNavBar.tsx @@ -30,8 +30,8 @@ import ListItemSecondaryAction from '@material-ui/core/ListItemSecondaryAction'; import Collapse from '@material-ui/core/Collapse'; import Button from '@material-ui/core/Button'; import ClickAwayListener from '@material-ui/core/ClickAwayListener'; -import DarkTheme from '../context/DarkTheme'; -import NavBarContext from '../context/NavbarContext'; +import DarkTheme from '../../context/DarkTheme'; +import NavBarContext from '../../context/NavbarContext'; const useStyles = (settings: IReaderSettings) => makeStyles((theme: Theme) => ({ // main container and root div need to change classes...