mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-30 18:15:15 +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>
32 lines
1.2 KiB
TypeScript
32 lines
1.2 KiB
TypeScript
'use client'
|
|
import type { FC } from 'react'
|
|
import React from 'react'
|
|
import { useTranslation } from 'react-i18next'
|
|
import UpgradeBtn from '../upgrade-btn'
|
|
import Usage from './usage'
|
|
import s from './style.module.css'
|
|
import cn from '@/utils/classnames'
|
|
import GridMask from '@/app/components/base/grid-mask'
|
|
|
|
const AnnotationFull: FC = () => {
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<GridMask wrapperClassName='rounded-lg' canvasClassName='rounded-lg' gradientClassName='rounded-lg'>
|
|
<div className='mt-6 flex cursor-pointer flex-col rounded-lg border-2 border-solid border-transparent px-3.5 py-4 shadow-md transition-all duration-200 ease-in-out'>
|
|
<div className='flex items-center justify-between'>
|
|
<div className={cn(s.textGradient, 'text-base font-semibold leading-[24px]')}>
|
|
<div>{t('billing.annotatedResponse.fullTipLine1')}</div>
|
|
<div>{t('billing.annotatedResponse.fullTipLine2')}</div>
|
|
</div>
|
|
<div className='flex'>
|
|
<UpgradeBtn loc={'annotation-create'} />
|
|
</div>
|
|
</div>
|
|
<Usage className='mt-4' />
|
|
</div>
|
|
</GridMask>
|
|
)
|
|
}
|
|
export default React.memo(AnnotationFull)
|