fix: user website should open link in a new tab
This commit is contained in:
parent
c0e2c547ef
commit
567829fa3a
@ -71,6 +71,8 @@ export const UserProfile: React.FC<UserProfileProps> = (props) => {
|
|||||||
<p className='font-bold'>
|
<p className='font-bold'>
|
||||||
{t('application:website')}:{' '}
|
{t('application:website')}:{' '}
|
||||||
<a
|
<a
|
||||||
|
target='_blank'
|
||||||
|
rel='noreferrer'
|
||||||
href={user.website}
|
href={user.website}
|
||||||
className='relative ml-2 font-normal tracking-wide no-underline opacity-80 transition-all after:absolute after:left-0 after:bottom-[-2px] after:h-[1px] after:w-0 after:bg-black after:transition-all hover:opacity-100 hover:after:w-full dark:after:bg-white'
|
className='relative ml-2 font-normal tracking-wide no-underline opacity-80 transition-all after:absolute after:left-0 after:bottom-[-2px] after:h-[1px] after:w-0 after:bg-black after:transition-all hover:opacity-100 hover:after:w-full dark:after:bg-white'
|
||||||
>
|
>
|
||||||
|
Reference in New Issue
Block a user