diff --git a/src/app/account/[[...account]]/page.tsx b/src/app/account/[[...account]]/page.tsx index 95949a6..1cdc062 100644 --- a/src/app/account/[[...account]]/page.tsx +++ b/src/app/account/[[...account]]/page.tsx @@ -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', }, }} /> diff --git a/src/app/profile/[id]/page.tsx b/src/app/profile/[id]/page.tsx new file mode 100644 index 0000000..9a4f4f6 --- /dev/null +++ b/src/app/profile/[id]/page.tsx @@ -0,0 +1,8 @@ +export default async function UserProfilePage({ + params, +}: { + params: { id: string }; +}) { + // TODO: Profile page. Display profile and user's post + return

{params.id}

; +} diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 3fc5cbc..f8e4505 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -1,10 +1,11 @@ -import { SignedIn, SignedOut, UserButton } from '@clerk/nextjs'; +import { SignedIn, SignedOut, UserButton, currentUser } from '@clerk/nextjs'; import Link from 'next/link'; import { BiSolidMessageSquareAdd } from 'react-icons/bi'; -import ProfileLink from './ProfileLink'; import ThemeButton from './ThemeButton'; -export default function Navbar() { +export default async function Navbar() { + const user = await currentUser(); + return (