fix(frontend): 🔧 add privacy policy spaces (#4277)

This commit is contained in:
Patryk Garstecki
2024-05-11 02:42:03 +02:00
committed by GitHub
parent 28495273b4
commit 370e1c1a17
4 changed files with 4 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ const ConfigPanel = () => {
{site?.privacy_policy {site?.privacy_policy
? <div className={`flex items-center ${isMobile && 'w-full justify-end'}`}>{t('share.chat.privacyPolicyLeft')} ? <div className={`flex items-center ${isMobile && 'w-full justify-end'}`}>{t('share.chat.privacyPolicyLeft')}
<a <a
className='text-gray-500' className='text-gray-500 px-1'
href={site?.privacy_policy} href={site?.privacy_policy}
target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a> target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a>
{t('share.chat.privacyPolicyRight')} {t('share.chat.privacyPolicyRight')}

View File

@@ -357,7 +357,7 @@ const Welcome: FC<IWelcomeProps> = ({
{siteInfo.privacy_policy {siteInfo.privacy_policy
? <div>{t('share.chat.privacyPolicyLeft')} ? <div>{t('share.chat.privacyPolicyLeft')}
<a <a
className='text-gray-500' className='text-gray-500 px-1'
href={siteInfo.privacy_policy} href={siteInfo.privacy_policy}
target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a> target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a>
{t('share.chat.privacyPolicyRight')} {t('share.chat.privacyPolicyRight')}

View File

@@ -358,7 +358,7 @@ const Welcome: FC<IWelcomeProps> = ({
{siteInfo.privacy_policy {siteInfo.privacy_policy
? <div>{t('share.chat.privacyPolicyLeft')} ? <div>{t('share.chat.privacyPolicyLeft')}
<a <a
className='text-gray-500' className='text-gray-500 px-1'
href={siteInfo.privacy_policy} href={siteInfo.privacy_policy}
target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a> target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a>
{t('share.chat.privacyPolicyRight')} {t('share.chat.privacyPolicyRight')}

View File

@@ -618,7 +618,7 @@ const TextGeneration: FC<IMainProps> = ({
<div>·</div> <div>·</div>
<div>{t('share.chat.privacyPolicyLeft')} <div>{t('share.chat.privacyPolicyLeft')}
<a <a
className='text-gray-500' className='text-gray-500 px-1'
href={siteInfo.privacy_policy} href={siteInfo.privacy_policy}
target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a> target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a>
{t('share.chat.privacyPolicyRight')} {t('share.chat.privacyPolicyRight')}