Skip to content

An AI-powered search engine with a generative UI

feat: add IconLogoOutline component and use for Adaptive mode

Yoshiki Miurac7c3ac281ceb
diff --git a/components/ui/icons.tsx b/components/ui/icons.tsx
index 8a00dc9e..3a4c6f5d 100644
--- a/components/ui/icons.tsx
+++ b/components/ui/icons.tsx
@@ -19,4 +19,28 @@ function IconLogo({ className, ...props }: React.ComponentProps<'svg'>) {
)
}
-export { IconLogo }
+function IconLogoOutline({ className, ...props }: React.ComponentProps<'svg'>) {
+ return (
+ <svg
+ fill="currentColor"
+ viewBox="0 0 256 256"
+ role="img"
+ xmlns="http://www.w3.org/2000/svg"
+ className={cn('h-4 w-4', className)}
+ {...props}
+ >
+ <circle
+ cx="128"
+ cy="128"
+ r="120"
+ fill="none"
+ stroke="currentColor"
+ strokeWidth="16"
+ ></circle>
+ <circle cx="102" cy="128" r="18" fill="currentColor"></circle>
+ <circle cx="154" cy="128" r="18" fill="currentColor"></circle>
+ </svg>
+ )
+}
+
+export { IconLogo, IconLogoOutline }
diff --git a/lib/config/search-modes.ts b/lib/config/search-modes.ts
index 77e772c0..015e89d2 100644
--- a/lib/config/search-modes.ts
+++ b/lib/config/search-modes.ts
@@ -2,7 +2,7 @@ import { ListChecks, Search } from 'lucide-react'
import { SearchMode } from '@/lib/types/search'
-import { IconLogo } from '@/components/ui/icons'
+import { IconLogoOutline } from '@/components/ui/icons'
export interface SearchModeConfig {
value: SearchMode
@@ -18,7 +18,7 @@ export const SEARCH_MODE_CONFIGS: SearchModeConfig[] = [
value: 'adaptive',
label: 'Adaptive',
description: 'Automatically adjusts search strategy to match your needs',
- icon: IconLogo,
+ icon: IconLogoOutline,
color: 'text-violet-500'
},
{