diff options
Diffstat (limited to 'src/pages/Careers.js')
-rw-r--r-- | src/pages/Careers.js | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/src/pages/Careers.js b/src/pages/Careers.js index 2b88706..889695c 100644 --- a/src/pages/Careers.js +++ b/src/pages/Careers.js @@ -1,3 +1,23 @@ -export default function Careers() { - return <h1>we cant even get jobs, how we gonna employee you??</h1> -}
\ No newline at end of file +import React, { useContext } from 'react'; +import { AuthContext } from '../providers/AuthContext'; +import GridLayout from '../layouts/GridLayout'; + +const Careers = () => { + const { user } = useContext(AuthContext); + + return ( + <> + {!user ? ( + <h1>we cant even get jobs, how we gonna employee you??</h1> + ) : ( + <GridLayout> + <> + we cant even get jobs, how we gonna employee you?? + </> + </GridLayout> + )} + </> + ); +}; + +export default Careers;
\ No newline at end of file |