fix: user website should open link in a new tab

This commit is contained in:
Divlo 2022-05-12 20:54:50 +02:00
parent c0e2c547ef
commit 567829fa3a
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9

View File

@ -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'
> >