From d9e65dceb38cdb8dc4e464d388755f9456620566 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Sun, 16 May 2021 17:07:58 +0200 Subject: ui: Restructure OpenDC frontend This change updates the structure of the OpenDC frontend in order to improve the maintainability of the frontend. --- opendc-web/opendc-web-ui/src/components/navigation/Navbar.js | 2 +- opendc-web/opendc-web-ui/src/components/navigation/Navbar.module.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'opendc-web/opendc-web-ui/src/components/navigation') diff --git a/opendc-web/opendc-web-ui/src/components/navigation/Navbar.js b/opendc-web/opendc-web-ui/src/components/navigation/Navbar.js index 025d33a1..f16a3feb 100644 --- a/opendc-web/opendc-web-ui/src/components/navigation/Navbar.js +++ b/opendc-web/opendc-web-ui/src/components/navigation/Navbar.js @@ -15,7 +15,7 @@ import Login from '../../containers/auth/Login' import Logout from '../../containers/auth/Logout' import ProfileName from '../../containers/auth/ProfileName' import { login, navbar, opendcBrand } from './Navbar.module.scss' -import { useIsLoggedIn } from '../../auth/hook' +import { useIsLoggedIn } from '../../auth' export const NAVBAR_HEIGHT = 60 diff --git a/opendc-web/opendc-web-ui/src/components/navigation/Navbar.module.scss b/opendc-web/opendc-web-ui/src/components/navigation/Navbar.module.scss index 2ea59a0f..8b9e4c97 100644 --- a/opendc-web/opendc-web-ui/src/components/navigation/Navbar.module.scss +++ b/opendc-web/opendc-web-ui/src/components/navigation/Navbar.module.scss @@ -1,5 +1,5 @@ -@import '../../style-globals/_mixins.scss'; -@import '../../style-globals/_variables.scss'; +@import 'src/style/_mixins.scss'; +@import 'src/style/_variables.scss'; .navbar { border-top: $blue 3px solid; -- cgit v1.2.3