2025-06-24 09:10:30 +08:00
|
|
|
import type { FC } from 'react'
|
|
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
import { Variable02 } from '@/app/components/base/icons/src/vender/solid/development'
|
|
|
|
|
|
|
|
const Empty: FC = () => {
|
|
|
|
const { t } = useTranslation()
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div className='flex h-full flex-col gap-3 rounded-xl bg-background-section p-8'>
|
|
|
|
<div className='flex h-10 w-10 items-center justify-center rounded-[10px] border-[0.5px] border-components-card-border bg-components-card-bg shadow-lg backdrop-blur-sm'>
|
|
|
|
<Variable02 className='h-5 w-5 text-text-accent' />
|
|
|
|
</div>
|
|
|
|
<div className='flex flex-col gap-1'>
|
|
|
|
<div className='system-sm-semibold text-text-secondary'>{t('workflow.debug.variableInspect.title')}</div>
|
|
|
|
<div className='system-xs-regular text-text-tertiary'>{t('workflow.debug.variableInspect.emptyTip')}</div>
|
|
|
|
<a
|
|
|
|
className='system-xs-regular cursor-pointer text-text-accent'
|
2025-06-25 20:21:51 +08:00
|
|
|
href='https://docs.dify.ai/en/guides/workflow/debug-and-preview/variable-inspect'
|
2025-06-24 09:10:30 +08:00
|
|
|
target='_blank'
|
|
|
|
rel='noopener noreferrer'>
|
|
|
|
{t('workflow.debug.variableInspect.emptyLink')}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Empty
|