fix: get current user server side in navbar. fix: adjust breadcump styling on account component

This commit is contained in:
Stevan Freeborn
2023-09-10 20:37:07 -05:00
parent 1ad65d8b30
commit c29576a2c9
4 changed files with 14 additions and 18 deletions
+1
View File
@@ -12,6 +12,7 @@ export default function AccountPage() {
navbar: 'dark:bg-secondary-gray [&_*]:dark:text-white',
formFieldInput: 'dark:bg-primary-gray dark:text-white',
profileSectionTitle: 'dark:border-white dark:border-opacity-10',
breadcrumbsItem: 'dark:text-white',
},
}}
/>
+8
View File
@@ -0,0 +1,8 @@
export default async function UserProfilePage({
params,
}: {
params: { id: string };
}) {
// TODO: Profile page. Display profile and user's post
return <h1>{params.id}</h1>;
}