empty.tsx 955 B

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