|
@@ -13,6 +13,7 @@ import { getSystemFeatures, invitationCheck } from '@/service/common'
|
|
|
import { LicenseStatus, defaultSystemFeatures } from '@/types/feature'
|
|
|
import Toast from '@/app/components/base/toast'
|
|
|
import { IS_CE_EDITION } from '@/config'
|
|
|
+import style from './page.module.css'
|
|
|
|
|
|
const NormalForm = () => {
|
|
|
const { t } = useTranslation()
|
|
@@ -128,6 +129,7 @@ const NormalForm = () => {
|
|
|
|
|
|
return (
|
|
|
<>
|
|
|
+ {/* 登录页输入模块 */}
|
|
|
<div className="w-full mx-auto mt-8">
|
|
|
{isInviteLink
|
|
|
? <div className="w-full mx-auto">
|
|
@@ -135,7 +137,18 @@ const NormalForm = () => {
|
|
|
<p className='mt-2 body-md-regular text-text-tertiary'>{t('login.joinTipStart')}{workspaceName}{t('login.joinTipEnd')}</p>
|
|
|
</div>
|
|
|
: <div className="w-full mx-auto">
|
|
|
- <h2 className="title-4xl-semi-bold text-text-primary">{t('login.pageTitle')}</h2>
|
|
|
+ {/* <h2 className="title-4xl-semi-bold text-text-primary">{t('login.pageTitle')}</h2> */}
|
|
|
+ <div>
|
|
|
+ <span style={{margin:'0 auto'}}>
|
|
|
+ <span className={cn(style.himg)}></span>
|
|
|
+ <span className={cn(style.eimg)}></span>
|
|
|
+ <span className={cn(style.limg)}></span>
|
|
|
+ <span className={cn(style.limg)}></span>
|
|
|
+ <span className={cn(style.oimg)}></span>
|
|
|
+ </span>
|
|
|
+
|
|
|
+
|
|
|
+ </div>
|
|
|
<p className='mt-2 body-md-regular text-text-tertiary'>{t('login.welcome')}</p>
|
|
|
</div>}
|
|
|
<div className="bg-white">
|
|
@@ -184,29 +197,32 @@ const NormalForm = () => {
|
|
|
</div>
|
|
|
</div>
|
|
|
</>}
|
|
|
- <div className="w-full block mt-2 system-xs-regular text-text-tertiary">
|
|
|
- {t('login.tosDesc')}
|
|
|
-
|
|
|
- <Link
|
|
|
- className='system-xs-medium text-text-secondary hover:underline'
|
|
|
- target='_blank' rel='noopener noreferrer'
|
|
|
- href='https://dify.ai/terms'
|
|
|
- >{t('login.tos')}</Link>
|
|
|
- &
|
|
|
- <Link
|
|
|
- className='system-xs-medium text-text-secondary hover:underline'
|
|
|
- target='_blank' rel='noopener noreferrer'
|
|
|
- href='https://dify.ai/privacy'
|
|
|
- >{t('login.pp')}</Link>
|
|
|
+ <div className="w-full block mt-2 system-xs-regular text-text-tertiary" style={{ display: 'flex', alignItems: 'center' }}>
|
|
|
+ <input type="checkbox" value="sleep" checked></input>
|
|
|
+ <div>
|
|
|
+ {t('login.tosDesc')}
|
|
|
+
|
|
|
+ <Link
|
|
|
+ className='system-xs-medium text-text-secondary hover:underline'
|
|
|
+ target='_blank' rel='noopener noreferrer'
|
|
|
+ href='https://dify.ai/terms'
|
|
|
+ >{t('login.tos')}</Link>
|
|
|
+ 和
|
|
|
+ <Link
|
|
|
+ className='system-xs-medium text-text-secondary hover:underline'
|
|
|
+ target='_blank' rel='noopener noreferrer'
|
|
|
+ href='https://dify.ai/privacy'
|
|
|
+ >{t('login.pp')}</Link>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- {IS_CE_EDITION && <div className="w-hull block mt-2 system-xs-regular text-text-tertiary">
|
|
|
+ {/* {IS_CE_EDITION && <div className="w-hull block mt-2 system-xs-regular text-text-tertiary">
|
|
|
{t('login.goToInit')}
|
|
|
|
|
|
<Link
|
|
|
className='system-xs-medium text-text-secondary hover:underline'
|
|
|
href='/install'
|
|
|
>{t('login.setAdminAccount')}</Link>
|
|
|
- </div>}
|
|
|
+ </div>} */}
|
|
|
|
|
|
</div>
|
|
|
</div>
|