29 lines
974 B
TypeScript
Raw Normal View History

import { useTranslation } from 'react-i18next'
2025-03-07 11:56:20 +08:00
import {
RiExternalLinkLine,
RiPuzzle2Line,
} from '@remixicon/react'
const Empty = () => {
const { t } = useTranslation()
return (
2025-03-07 11:56:20 +08:00
<div className='mb-2 p-6 rounded-xl bg-background-section'>
<div className='flex items-center justify-center mb-3 w-10 h-10 rounded-[10px] bg-components-card-bg-alt backdrop-blur-sm border-[0.5px] border-components-card-border shadow-lg'>
<RiPuzzle2Line className='w-5 h-5 text-text-accent' />
</div>
2025-03-07 11:56:20 +08:00
<div className='mb-1 text-text-secondary system-sm-medium'>{t('common.apiBasedExtension.title')}</div>
<a
2025-03-07 11:56:20 +08:00
className='flex items-center system-xs-regular text-text-accent'
href={t('common.apiBasedExtension.linkUrl') || '/'}
2024-02-02 15:24:17 +08:00
target='_blank' rel='noopener noreferrer'
>
{t('common.apiBasedExtension.link')}
2025-03-07 11:56:20 +08:00
<RiExternalLinkLine className='ml-1 w-3 h-3' />
</a>
</div>
)
}
export default Empty