mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 02:46:52 +08:00
feat: new icons (#5412)
This commit is contained in:
@@ -3,9 +3,11 @@ import type { FC } from 'react'
|
||||
import React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import useSWR from 'swr'
|
||||
import {
|
||||
RiExternalLinkLine,
|
||||
} from '@remixicon/react'
|
||||
import PlanComp from '../plan'
|
||||
import { ReceiptList } from '../../base/icons/src/vender/line/financeAndECommerce'
|
||||
import { LinkExternal01 } from '../../base/icons/src/vender/line/general'
|
||||
import { fetchBillingUrl } from '@/service/billing'
|
||||
import { useAppContext } from '@/context/app-context'
|
||||
import { useProviderContext } from '@/context/provider-context'
|
||||
@@ -28,7 +30,7 @@ const Billing: FC = () => {
|
||||
<ReceiptList className='w-4 h-4 text-gray-700' />
|
||||
<div className='ml-2 text-sm font-normal text-gray-700'>{t('billing.viewBilling')}</div>
|
||||
</div>
|
||||
<LinkExternal01 className='w-3 h-3' />
|
||||
<RiExternalLinkLine className='w-3 h-3' />
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@@ -3,10 +3,10 @@ import type { FC } from 'react'
|
||||
import React from 'react'
|
||||
import { createPortal } from 'react-dom'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { RiCloseLine } from '@remixicon/react'
|
||||
import { Plan } from '../type'
|
||||
import SelectPlanRange, { PlanRange } from './select-plan-range'
|
||||
import PlanItem from './plan-item'
|
||||
import { XClose } from '@/app/components/base/icons/src/vender/line/general'
|
||||
import { useProviderContext } from '@/context/provider-context'
|
||||
import GridMask from '@/app/components/base/grid-mask'
|
||||
import { useAppContext } from '@/context/app-context'
|
||||
@@ -71,7 +71,7 @@ const Pricing: FC<Props> = ({
|
||||
className='fixed top-6 right-6 flex items-center justify-center w-10 h-10 bg-black/[0.05] rounded-full backdrop-blur-[2px] cursor-pointer z-[1001]'
|
||||
onClick={onCancel}
|
||||
>
|
||||
<XClose className='w-4 h-4 text-gray-900' />
|
||||
<RiCloseLine className='w-4 h-4 text-gray-900' />
|
||||
</div>
|
||||
</div>,
|
||||
document.body,
|
||||
|
||||
@@ -3,13 +3,15 @@ import type { FC } from 'react'
|
||||
import React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import cn from 'classnames'
|
||||
import {
|
||||
RiQuestionLine,
|
||||
} from '@remixicon/react'
|
||||
import { useContext } from 'use-context-selector'
|
||||
import { Plan } from '../type'
|
||||
import { ALL_PLANS, NUM_INFINITE, contactSalesUrl, contractSales, unAvailable } from '../config'
|
||||
import Toast from '../../base/toast'
|
||||
import TooltipPlus from '../../base/tooltip-plus'
|
||||
import { PlanRange } from './select-plan-range'
|
||||
import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general'
|
||||
import { useAppContext } from '@/context/app-context'
|
||||
import { fetchSubscriptionUrls } from '@/service/billing'
|
||||
import { LanguagesSupported } from '@/i18n/language'
|
||||
@@ -33,7 +35,7 @@ const KeyValue = ({ label, value, tooltip }: { label: string; value: string | nu
|
||||
<div className='w-[200px]'>{tooltip}</div>
|
||||
}
|
||||
>
|
||||
<HelpCircle className='w-3 h-3 text-gray-400' />
|
||||
<RiQuestionLine className='w-3 h-3 text-gray-400' />
|
||||
</TooltipPlus>
|
||||
)}
|
||||
</div>
|
||||
@@ -139,7 +141,7 @@ const PlanItem: FC<Props> = ({
|
||||
<div className='w-[200px]'>{t('billing.plansCommon.supportItems.llmLoadingBalancingTooltip')}</div>
|
||||
}
|
||||
>
|
||||
<HelpCircle className='w-3 h-3 text-gray-400' />
|
||||
<RiQuestionLine className='w-3 h-3 text-gray-400' />
|
||||
</TooltipPlus>
|
||||
</div>
|
||||
<div className='mt-3.5 flex items-center space-x-1'>
|
||||
@@ -151,7 +153,7 @@ const PlanItem: FC<Props> = ({
|
||||
<div className='w-[200px]'>{t('billing.plansCommon.ragAPIRequestTooltip')}</div>
|
||||
}
|
||||
>
|
||||
<HelpCircle className='w-3 h-3 text-gray-400' />
|
||||
<RiQuestionLine className='w-3 h-3 text-gray-400' />
|
||||
</TooltipPlus>
|
||||
</div>
|
||||
<div>{comingSoon}</div>
|
||||
|
||||
Reference in New Issue
Block a user