diff --git a/packages/web/src/app/[domain]/components/homepage/agenticSearch.tsx b/packages/web/src/app/[domain]/components/homepage/agenticSearch.tsx index 5d09168a..04c2c5e6 100644 --- a/packages/web/src/app/[domain]/components/homepage/agenticSearch.tsx +++ b/packages/web/src/app/[domain]/components/homepage/agenticSearch.tsx @@ -83,88 +83,88 @@ export const AgenticSearch = ({ {demoExamples && ( -
- {/* Example Searches Column */} -
-
- -

Example Searches

-
-
- {demoExamples.searchExamples.map((example) => ( - handleExampleClick(example)} - > - -
-
- {example.icon} -
-
-

- {example.title} -

-

{example.description}

- - {example.category} - -
-
-
-
- ))} -
-
- - {/* Search Contexts Column */} -
-
- -

Search Contexts

-
-
- {demoExamples.searchContextExamples.map((context) => { - const searchContext = searchContexts.find((item) => item.name === context.name); - if (!searchContext) return null; - const isSelected = false; //selectedItems.some((item) => item.id === context.id) - - const numRepos = searchContext.repoNames.length; - return ( +
+ {/* Example Searches Column */} +
+
+ +

Example Searches

+
+
+ {demoExamples.searchExamples.map((example) => ( handleContextClick(context)} + key={example.id} + className="cursor-pointer transition-all duration-200 hover:shadow-md hover:border-primary/50 group" + onClick={() => handleExampleClick(example)} >
-
- {context.icon} +
+ {example.icon}
-

- {context.displayName} +

+ {example.title}

-

{context.description}

+

{example.description}

- {numRepos} repos + {example.category}
- ) - })} + ))} +
+
+ + {/* Search Contexts Column */} +
+
+ +

Search Contexts

+
+
+ {demoExamples.searchContextExamples.map((context) => { + const searchContext = searchContexts.find((item) => item.name === context.name); + if (!searchContext) return null; + const isSelected = false; //selectedItems.some((item) => item.id === context.id) + + const numRepos = searchContext.repoNames.length; + return ( + handleContextClick(context)} + > + +
+
+ {context.icon} +
+
+

+ {context.displayName} +

+

{context.description}

+ + {numRepos} repos + +
+
+
+
+ ) + })} +
-
)}
)