You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/web/app/components/header/account-setting/api-based-extension-page/empty.tsx

27 lines
955 B
TypeScript

import { useTranslation } from 'react-i18next'
import { Webhooks } from '@/app/components/base/icons/src/vender/line/development'
import { BookOpen01 } from '@/app/components/base/icons/src/vender/line/education'
const Empty = () => {
const { t } = useTranslation()
return (
<div className='mb-2 rounded-2xl bg-gray-50 p-6'>
<div className='mb-3 flex h-12 w-12 items-center justify-center rounded-[10px] border border-[#EAECF5]'>
<Webhooks className='h-6 w-6 text-gray-500' />
</div>
<div className='mb-2 text-sm text-gray-600'>{t('common.apiBasedExtension.title')}</div>
<a
className='text-primary-600 mb-2 flex h-[18px] items-center text-xs'
href={t('common.apiBasedExtension.linkUrl') || '/'}
target='_blank' rel='noopener noreferrer'
>
<BookOpen01 className='mr-1 h-3 w-3' />
{t('common.apiBasedExtension.link')}
</a>
</div>
)
}
export default Empty