Tighten featured tools header arrow and add “All tools” section divider

This commit is contained in:
lyzno1 2025-10-22 14:41:18 +08:00
parent 16957f14f1
commit 45b221659b
No known key found for this signature in database

View File

@ -32,6 +32,7 @@ import { useGlobalPublicStore } from '@/context/global-public-context'
import RAGToolSuggestions from './rag-tool-suggestions'
import FeaturedTools from './featured-tools'
import Link from 'next/link'
import Divider from '@/app/components/base/divider'
type AllToolsProps = {
className?: string
@ -221,6 +222,7 @@ const AllTools = ({
/>
)}
{shouldShowFeatured && (
<>
<FeaturedTools
plugins={featuredPlugins}
providerMap={providerMap}
@ -232,7 +234,14 @@ const AllTools = ({
await onFeaturedInstallSuccess?.()
}}
/>
<div className='px-3'>
<Divider className='!h-px' />
</div>
</>
)}
<div className='px-3 pb-1 pt-2'>
<span className='system-xs-medium text-text-primary'>{t('tools.allTools')}</span>
</div>
<Tools
className={toolContentClassName}
tools={tools}