2020-05-13 17:39:43 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { Panel } from 'rsuite';
|
|
|
|
|
2020-08-21 22:08:42 +00:00
|
|
|
import { useAuth } from '../helpers/authContext';
|
|
|
|
import NavBar from '../components/Navbar/NavBar';
|
|
|
|
|
2020-05-13 17:39:43 +00:00
|
|
|
const boxStyle = {
|
|
|
|
margin: '50px 10px',
|
|
|
|
};
|
|
|
|
|
|
|
|
export default function Dashboard() {
|
2020-08-21 22:08:42 +00:00
|
|
|
const { authToken } = useAuth();
|
|
|
|
|
2020-05-13 17:39:43 +00:00
|
|
|
return (
|
2020-08-21 22:08:42 +00:00
|
|
|
<>
|
|
|
|
<NavBar title='Meeting Planner' />
|
|
|
|
<Panel header={<h3>Dashboard</h3>} bordered style={boxStyle}>
|
|
|
|
<p>This is just experimenting with stuff.</p>
|
|
|
|
<p>{authToken}</p>
|
|
|
|
</Panel>
|
|
|
|
</>
|
2020-05-13 17:39:43 +00:00
|
|
|
);
|
|
|
|
}
|