diff --git a/src/pages/account/index.tsx b/src/pages/account/index.tsx index bdf5020..4ee92a8 100644 --- a/src/pages/account/index.tsx +++ b/src/pages/account/index.tsx @@ -1,13 +1,64 @@ +import UserContext from '@/contexts/userContext'; +import withPageAuthRequired from '@/util/withPageAuthRequired'; import { NextPage } from 'next'; +import { useContext } from 'react'; +import { Tab } from '@headlessui/react'; +import Head from 'next/head'; + interface AccountPageProps {} const AccountPage: NextPage = () => { + const { user } = useContext(UserContext); + return ( -
-

Account Page

-
+ <> + + Your Account | The Biergarten App + + +
+
+
+
+
+
+ +
+

Hello, {user?.username}!

+

Welcome to your account page.

+
+
+ +
+ + + + Settings + + + Account Info + + + Your Posts + + + + Content 1 + Content 2 + Content 3 + + +
+
+
+ ); }; export default AccountPage; + +export const getServerSideProps = withPageAuthRequired();