mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-29 17:45:12 +08:00

Co-authored-by: NFish <douxc512@gmail.com> Co-authored-by: zxhlyh <jasonapring2015@outlook.com> Co-authored-by: twwu <twwu@dify.ai> Co-authored-by: jZonG <jzongcode@gmail.com>
30 lines
1.0 KiB
TypeScript
30 lines
1.0 KiB
TypeScript
'use client'
|
|
import type { FC } from 'react'
|
|
import React from 'react'
|
|
import { useTranslation } from 'react-i18next'
|
|
import UpgradeBtn from '../upgrade-btn'
|
|
import VectorSpaceInfo from '../usage-info/vector-space-info'
|
|
import s from './style.module.css'
|
|
import cn from '@/utils/classnames'
|
|
import GridMask from '@/app/components/base/grid-mask'
|
|
|
|
const VectorSpaceFull: FC = () => {
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<GridMask wrapperClassName='border border-gray-200 rounded-xl' canvasClassName='rounded-xl' gradientClassName='rounded-xl'>
|
|
<div className='px-6 py-5'>
|
|
<div className='flex items-center justify-between'>
|
|
<div className={cn(s.textGradient, 'text-base font-semibold leading-[24px]')}>
|
|
<div>{t('billing.vectorSpace.fullTip')}</div>
|
|
<div>{t('billing.vectorSpace.fullSolution')}</div>
|
|
</div>
|
|
<UpgradeBtn loc='knowledge-add-file' />
|
|
</div>
|
|
<VectorSpaceInfo className='pt-4' />
|
|
</div>
|
|
</GridMask>
|
|
)
|
|
}
|
|
export default React.memo(VectorSpaceFull)
|