feat: add uid to user profile page

This commit is contained in:
Tristan Yang
2023-06-08 18:30:43 +08:00
parent 98690c3710
commit fd9de20381
+3 -1
View File
@@ -62,7 +62,9 @@ const Profile: FC<Props> = ({ uid, type = "embed", cid }) => {
src={avatar}
name={name}
/>
<h2 className="text-lg select-text font-bold text-gray-900 dark:text-white">{name}</h2>
<h2 className="text-lg select-text font-bold text-gray-900 dark:text-white">
{name} <span className="font-normal text-gray-500">#{uid}</span>
</h2>
<span className="text-sm text-gray-400 dark:text-gray-200 select-text">{email}</span>
{/* <p className="intro">{introduction}</p> */}
<ul className={clsx("mt-6 flex flex-col md:flex-row items-center gap-2", isCard && "pb-0.5")}>