index.tsx 1.0 KB

123456789101112131415161718192021222324252627
  1. 'use client'
  2. import type { FC } from 'react'
  3. import React from 'react'
  4. import { useTranslation } from 'react-i18next'
  5. import UpgradeBtn from '../upgrade-btn'
  6. import s from './style.module.css'
  7. import cn from '@/utils/classnames'
  8. import GridMask from '@/app/components/base/grid-mask'
  9. const AppsFull: FC = () => {
  10. const { t } = useTranslation()
  11. return (
  12. <GridMask wrapperClassName='rounded-lg' canvasClassName='rounded-lg' gradientClassName='rounded-lg'>
  13. <div className='col-span-1 flex min-h-[160px] cursor-pointer flex-col rounded-lg border-2 border-solid border-transparent px-3.5 pt-3.5 shadow-xs transition-all duration-200 ease-in-out hover:shadow-lg'>
  14. <div className={cn(s.textGradient, 'text-base font-semibold leading-[24px]')}>
  15. <div>{t('billing.apps.fullTipLine1')}</div>
  16. <div>{t('billing.apps.fullTipLine2')}</div>
  17. </div>
  18. <div className='mt-8 flex'>
  19. <UpgradeBtn loc='app-create' />
  20. </div>
  21. </div>
  22. </GridMask>
  23. )
  24. }
  25. export default React.memo(AppsFull)