chore: enchance firecrawl user experience (#5958)

This commit is contained in:
Joel
2024-07-04 15:26:38 +08:00
committed by GitHub
parent 688b8fe114
commit 52e59cf4df
4 changed files with 5 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ const DataSourceWebsite: FC<Props> = () => {
logo: ({ className }: { className: string }) => (
<div className={cn(className, 'flex items-center justify-center w-5 h-5 bg-white border border-gray-100 text-xs font-medium text-gray-500 rounded ml-3')}>🔥</div>
),
name: 'FireCrawl',
name: 'Firecrawl',
isActive: true,
}))}
onRemove={handleRemove(DataSourceProvider.fireCrawl)}

View File

@@ -46,7 +46,7 @@ const Panel: FC<Props> = ({
<div className='text-sm font-medium text-gray-800'>{t(`common.dataSource.${type}.title`)}</div>
{isWebsite && (
<div className='ml-1 leading-[18px] px-1.5 rounded-md bg-white border border-gray-100 text-xs font-medium text-gray-700'>
<span className='text-gray-500'>{t('common.dataSource.website.with')}</span> 🔥 FireCrawl
<span className='text-gray-500'>{t('common.dataSource.website.with')}</span> 🔥 Firecrawl
</div>
)}
</div>