diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 6c10e86..c234850 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -5,6 +5,7 @@ import { AppRouterCacheProvider } from '@mui/material-nextjs/v15-appRouter'; import { Bai_Jamjuree, Inter } from 'next/font/google'; import { type Metadata } from 'next'; import { GoogleAnalytics } from '@next/third-parties/google'; +import Link from 'next/link'; import theme from '@src/utils/theme'; @@ -59,6 +60,11 @@ export default function RootLayout({ {process.env.NEXT_PUBLIC_VERCEL_ENV === 'production' && ( )} + ); diff --git a/src/app/profile/page.tsx b/src/app/profile/page.tsx new file mode 100644 index 0000000..ff31ef5 --- /dev/null +++ b/src/app/profile/page.tsx @@ -0,0 +1,53 @@ +'use client'; + +import Avatar from '@mui/material/Avatar'; +import Link from 'next/link'; + +export default function ProfilePage() { + const user = { + name: 'John Doe', + handle: '@johndoe', + email: 'johndoe@example.com', + avatar: '/images/avatar.jpg', + posts: 0, + reports_submitted: 0, + }; + + return ( +
+
+
+ +
+

{user.name}

+
{user.handle}
+

{user.email}

+
+
+ {user.posts} posts +
+
+ {user.reports_submitted}{' '} + reports submitted +
+
+
+
+ + Edit Profile + +
+
+

Saved Notes:

+

Uploaded Notes:

+
+
+ ); +}