fix: get current user server side in navbar. fix: adjust breadcump styling on account component
This commit is contained in:
@@ -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',
|
||||
},
|
||||
}}
|
||||
/>
|
||||
|
||||
@@ -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>;
|
||||
}
|
||||
Reference in New Issue
Block a user