verified tag

This commit is contained in:
JzoNg 2024-11-02 12:09:59 +08:00
parent 99a9bf6d56
commit eb8b827906
2 changed files with 10 additions and 12 deletions

View File

@ -44,16 +44,14 @@ const PluginsPanel = () => {
<List pluginList={filteredList} /> <List pluginList={filteredList} />
</div> </div>
</div> </div>
{false && ( <PluginDetailPanel
<PluginDetailPanel pluginDetail={currentPluginDetail}
pluginDetail={currentPluginDetail} endpointList={currentPluginEndpoints}
endpointList={currentPluginEndpoints} onHide={() => {
onHide={() => { setCurrentPluginDetail(undefined)
setCurrentPluginDetail(undefined) setCurrentEndpoints([])
setCurrentEndpoints([]) }}
}} />
/>
)}
</> </>
) )
} }

View File

@ -2,7 +2,7 @@
import React from 'react' import React from 'react'
import type { FC } from 'react' import type { FC } from 'react'
import { useTranslation } from 'react-i18next' import { useTranslation } from 'react-i18next'
import { RiArrowRightUpLine, RiVerifiedBadgeLine } from '@remixicon/react' import { RiArrowRightUpLine } from '@remixicon/react'
import Badge from '../base/badge' import Badge from '../base/badge'
import type { Plugin } from './types' import type { Plugin } from './types'
import Description from './card/base/description' import Description from './card/base/description'
@ -35,7 +35,7 @@ const ProviderCard: FC<Props> = ({
<div className="ml-3 w-0 grow"> <div className="ml-3 w-0 grow">
<div className="flex items-center h-5"> <div className="flex items-center h-5">
<Title title={label[language]} /> <Title title={label[language]} />
<RiVerifiedBadgeLine className="shrink-0 ml-0.5 w-4 h-4 text-text-accent" /> {/* <RiVerifiedBadgeLine className="shrink-0 ml-0.5 w-4 h-4 text-text-accent" /> */}
</div> </div>
<div className='mb-1 flex justify-between items-center h-4'> <div className='mb-1 flex justify-between items-center h-4'>
<div className='flex items-center'> <div className='flex items-center'>