fix: show build app limit in app creation modal (#16940)
parent
c7fcfc863d
commit
9feafb6dbd
@ -1,27 +0,0 @@
|
|||||||
'use client'
|
|
||||||
import type { FC } from 'react'
|
|
||||||
import React from 'react'
|
|
||||||
import { useTranslation } from 'react-i18next'
|
|
||||||
import UpgradeBtn from '../upgrade-btn'
|
|
||||||
import s from './style.module.css'
|
|
||||||
import cn from '@/utils/classnames'
|
|
||||||
import GridMask from '@/app/components/base/grid-mask'
|
|
||||||
|
|
||||||
const AppsFull: FC = () => {
|
|
||||||
const { t } = useTranslation()
|
|
||||||
|
|
||||||
return (
|
|
||||||
<GridMask wrapperClassName='rounded-lg' canvasClassName='rounded-lg' gradientClassName='rounded-lg'>
|
|
||||||
<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'>
|
|
||||||
<div className={cn(s.textGradient, 'text-base font-semibold leading-[24px]')}>
|
|
||||||
<div>{t('billing.apps.fullTipLine1')}</div>
|
|
||||||
<div>{t('billing.apps.fullTipLine2')}</div>
|
|
||||||
</div>
|
|
||||||
<div className='mt-8 flex'>
|
|
||||||
<UpgradeBtn loc='app-create' />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</GridMask>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
export default React.memo(AppsFull)
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
.textGradient {
|
|
||||||
background: linear-gradient(92deg, #2250F2 -29.55%, #0EBCF3 75.22%);
|
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-clip: text;
|
|
||||||
text-fill-color: transparent;
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue