chore: fix link rel field

This commit is contained in:
Steven
2024-01-04 21:26:56 +08:00
parent ca53630410
commit 9593b0b091
4 changed files with 10 additions and 22 deletions

View File

@ -95,7 +95,12 @@ const UserProfile = () => {
<UserAvatar className="!w-20 !h-20 mb-2 drop-shadow" avatarUrl={user?.avatarUrl} />
<div className="w-full flex flex-row justify-center items-center">
<p className="text-3xl text-black leading-none opacity-80 dark:text-gray-200">{user?.nickname}</p>
<a className="ml-1 cursor-pointer text-gray-500" href={`/u/${user?.id}/rss.xml`} target="_blank">
<a
className="ml-1 cursor-pointer text-gray-500"
href={`/u/${user?.id}/rss.xml`}
target="_blank"
rel="noopener noreferrer"
>
<Icon.Rss className="w-5 h-auto opacity-60 mt-0.5" />
</a>
</div>