+
-export default function BaseLayout(props: BaseLayoutProps): JSX.Element {
- return (
-
-
+
+ {children}
+
+
+);
-
- {props.children}
-
-
- );
-}
+export default BaseLayout;
diff --git a/src/components/layouts/NavigationBar/NavigationBar.tsx b/src/components/layouts/NavigationBar/NavigationBar.tsx
index 8083009..f967549 100644
--- a/src/components/layouts/NavigationBar/NavigationBar.tsx
+++ b/src/components/layouts/NavigationBar/NavigationBar.tsx
@@ -1,34 +1,41 @@
-import React from 'react';
+import React, { useContext } from 'react';
import { FaUserCircle } from 'react-icons/fa';
import { Link } from 'react-router-dom';
-
+import UserContext from '../../../state/user';
+import { HOME_PAGE, IPFS_BASE_PAGE } from '../../urls';
import './NavigationBar.scss';
const NavigationBar = (): JSX.Element => {
+ const { user, logout } = useContext(UserContext);
+
return (