From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/datasets/create/website/firecrawl/header.tsx | 29 ++++++++++++++---------------
1 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/app/components/datasets/create/website/firecrawl/header.tsx b/app/components/datasets/create/website/firecrawl/header.tsx
index d23c57f..c06b816 100644
--- a/app/components/datasets/create/website/firecrawl/header.tsx
+++ b/app/components/datasets/create/website/firecrawl/header.tsx
@@ -2,8 +2,8 @@
import type { FC } from 'react'
import React from 'react'
import { useTranslation } from 'react-i18next'
-import { RiBookOpenLine, RiEqualizer2Line } from '@remixicon/react'
-import Button from '@/app/components/base/button'
+import { Settings01 } from '@/app/components/base/icons/src/vender/line/general'
+import { BookOpen01 } from '@/app/components/base/icons/src/vender/line/education'
const I18N_PREFIX = 'datasetCreation.stepOne.website'
@@ -19,23 +19,22 @@
return (
<div className='flex h-6 items-center justify-between'>
<div className='flex items-center'>
- <div className='text-base font-medium text-text-secondary'>{t(`${I18N_PREFIX}.firecrawlTitle`)}</div>
- <div className='ml-2 mr-2 h-3.5 w-px bg-divider-regular' />
- <Button className='flex h-6 items-center gap-x-[1px] px-1.5' onClick={onSetting}>
- <RiEqualizer2Line className='h-3.5 w-3.5 text-components-button-secondary-text' />
- <span className='px-[3px] text-xs font-medium text-components-button-secondary-text'>
- {t(`${I18N_PREFIX}.configureFirecrawl`)}
- </span>
- </Button>
+ <div className='text-base font-medium text-gray-700'>{t(`${I18N_PREFIX}.firecrawlTitle`)}</div>
+ <div className='ml-2 mr-1 w-px h-3.5 bg-gray-200'></div>
+ <div
+ className='p-1 rounded-md hover:bg-black/5 cursor-pointer'
+ onClick={onSetting}
+ >
+ <Settings01 className='w-3.5 h-3.5 text-gray-500' />
+ </div>
</div>
<a
href='https://docs.firecrawl.dev/introduction'
- target='_blank'
- rel='noopener noreferrer'
- className='inline-flex items-center gap-x-1 text-xs font-medium text-text-accent'
+ target='_blank' rel='noopener noreferrer'
+ className='flex items-center text-xs text-primary-600'
>
- <RiBookOpenLine className='h-3.5 w-3.5 text-text-accent' />
- <span>{t(`${I18N_PREFIX}.firecrawlDoc`)}</span>
+ <BookOpen01 className='mr-1 w-3.5 h-3.5 text-primary-600' />
+ {t(`${I18N_PREFIX}.firecrawlDoc`)}
</a>
</div>
)
--
Gitblit v1.8.0