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 px-3.5 pt-3.5 border-2 border-solid border-transparent rounded-lg shadow-xs min-h-[160px] flex flex-col transition-all duration-200 ease-in-out cursor-pointer hover:shadow-lg'>
  14. <div className={cn(s.textGradient, 'leading-[24px] text-base font-semibold')}>
  15. <div>{t('billing.apps.fullTipLine1')}</div>
  16. <div>{t('billing.apps.fullTipLine2')}</div>
  17. </div>
  18. <div className='flex mt-8'>
  19. <UpgradeBtn loc='app-create' />
  20. </div>
  21. </div>
  22. </GridMask>
  23. )
  24. }
  25. export default React.memo(AppsFull)