diff options
Diffstat (limited to 'src/pages/TermsOfService.js')
-rw-r--r-- | src/pages/TermsOfService.js | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/src/pages/TermsOfService.js b/src/pages/TermsOfService.js index 71df372..0f0688f 100644 --- a/src/pages/TermsOfService.js +++ b/src/pages/TermsOfService.js @@ -1,3 +1,23 @@ -export default function TermsOfService() { - return <h1>be good volunteer pls</h1> -}
\ No newline at end of file +import React, { useContext } from 'react'; +import { AuthContext } from '../providers/AuthContext'; +import GridLayout from '../layouts/GridLayout'; + +const TermsOfService = () => { + const { user } = useContext(AuthContext); + + return ( + <> + {!user ? ( + <h1>don't be a douche pls</h1> + ) : ( + <GridLayout> + <> + don't be a douche pls + </> + </GridLayout> + )} + </> + ); +}; + +export default TermsOfService;
\ No newline at end of file |