From e39a926d27d83a3932f4e47db36a5e8db97279ea Mon Sep 17 00:00:00 2001 From: Emir Karabeg Date: Fri, 31 Jan 2025 16:02:27 -0800 Subject: [PATCH] Fixed icons and colors --- blocks/blocks/crewai.ts | 4 +- blocks/blocks/firecrawl.ts | 4 +- blocks/blocks/jina.ts | 4 +- components/icons.tsx | 97 ++++++++++++++++++++++---------------- 4 files changed, 63 insertions(+), 46 deletions(-) diff --git a/blocks/blocks/crewai.ts b/blocks/blocks/crewai.ts index 8080d89f5f..149ab6750b 100644 --- a/blocks/blocks/crewai.ts +++ b/blocks/blocks/crewai.ts @@ -6,8 +6,8 @@ export const CrewAIVisionBlock: BlockConfig = { type: 'crewai_vision', toolbar: { title: 'CrewAI Vision Tool', - description: 'Analyze images using vision models', - bgColor: '#C0392B', + description: 'Analyze images with vision models', + bgColor: '#FF5A50', icon: CrewAIIcon, category: 'advanced' }, diff --git a/blocks/blocks/firecrawl.ts b/blocks/blocks/firecrawl.ts index 2bc090d57f..e9b7cbbb51 100644 --- a/blocks/blocks/firecrawl.ts +++ b/blocks/blocks/firecrawl.ts @@ -6,8 +6,8 @@ export const FirecrawlScrapeBlock: BlockConfig = { type: 'firecrawl_scrape', toolbar: { title: 'Firecrawl Scraper', - description: 'Extract clean content from any webpage', - bgColor: '#FF6B6B', + description: 'Scrape website content', + bgColor: '#FF613A', icon: FirecrawlIcon, category: 'advanced' }, diff --git a/blocks/blocks/jina.ts b/blocks/blocks/jina.ts index 723d974118..3f981f13a3 100644 --- a/blocks/blocks/jina.ts +++ b/blocks/blocks/jina.ts @@ -6,8 +6,8 @@ export const JinaBlock: BlockConfig = { type: 'jina_reader', toolbar: { title: 'Jina Reader', - description: 'Convert any URL to LLM-friendly text', - bgColor: '#ffffff', + description: 'Convert website content into text', + bgColor: '#1A1A1A', icon: JinaAIIcon, category: 'advanced', }, diff --git a/components/icons.tsx b/components/icons.tsx index a10d256c92..105bb43046 100644 --- a/components/icons.tsx +++ b/components/icons.tsx @@ -855,12 +855,18 @@ export function CrewAIIcon(props: SVGProps) { return ( - + ) } @@ -893,49 +899,60 @@ export function SalesforceIcon(props: SVGProps) { ) } -export const FirecrawlIcon = (props: SVGProps) => ( - - - - -) +export function FirecrawlIcon(props: SVGProps) { + return ( + + + + ) +} export function JinaAIIcon(props: SVGProps) { return ( - - - - - + + + + + + ) }