diff --git a/src/App.js b/src/App.js
index 6fdd96c..0ac0e05 100644
--- a/src/App.js
+++ b/src/App.js
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
import { BrowserRouter as Router, Routes, Route, Navigate } from 'react-router-dom';
import { isAuthenticated, isApiKeyEnabled } from 'utilities/authUtilities';
-import { AuthWrapper } from 'utilities/AuthWrapper';
+import { NoAuthWrapper } from 'utilities/NoAuthWrapper';
import HomePage from './pages/HomePage';
import LoginPage from './pages/LoginPage';
@@ -20,18 +20,15 @@ function App() {
- }>
+ }>
} />
} />
} />
} />
} />
{isApiKeyEnabled() && } />}
- } />
-
- }>
} />
- } />
+ } />
diff --git a/src/utilities/NoAuthWrapper.jsx b/src/utilities/NoAuthWrapper.jsx
new file mode 100644
index 0000000..974e11f
--- /dev/null
+++ b/src/utilities/NoAuthWrapper.jsx
@@ -0,0 +1,23 @@
+import React from 'react';
+import { Outlet } from 'react-router-dom';
+import makeStyles from '@mui/styles/makeStyles';
+
+const useStyles = makeStyles(() => ({
+ topMargin: {
+ marginTop: '10vh',
+ minHeight: '90vh',
+ height: '100%'
+ }
+}));
+
+const NoAuthWrapper = ({ hasHeader = false }) => {
+ const classes = useStyles();
+
+ return (
+
+
+
+ );
+};
+
+export { NoAuthWrapper };