23 lines
471 B
JavaScript
23 lines
471 B
JavaScript
import React from 'react';
|
|
import { Panel } from 'rsuite';
|
|
|
|
import { useAuth } from '../helpers/authContext';
|
|
import NavBar from '../components/Navbar/NavBar';
|
|
|
|
const boxStyle = {
|
|
margin: '50px 10px',
|
|
};
|
|
|
|
export default function Home() {
|
|
const { authToken } = useAuth();
|
|
return (
|
|
<>
|
|
<NavBar title='Meeting Planner' />
|
|
<Panel header={<h3>Home</h3>} bordered style={boxStyle}>
|
|
<p>This will be the home page</p>
|
|
<p>{authToken}</p>
|
|
</Panel>
|
|
</>
|
|
);
|
|
}
|