From 16d1efd387a0b88946d449aebbeabf9555a85a10 Mon Sep 17 00:00:00 2001 From: Charly Gomez Date: Mon, 25 Nov 2024 14:52:07 +0100 Subject: [PATCH] add kapa button --- src/components/search/index.tsx | 48 ++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/src/components/search/index.tsx b/src/components/search/index.tsx index 60c2d11a9a5bf..c54f2a6c5ecc6 100644 --- a/src/components/search/index.tsx +++ b/src/components/search/index.tsx @@ -1,6 +1,7 @@ 'use client'; import {Fragment, useCallback, useEffect, useRef, useState} from 'react'; +import {Button} from '@radix-ui/themes'; import {captureException} from '@sentry/nextjs'; import { Hit, @@ -20,7 +21,6 @@ import {isDeveloperDocs} from 'sentry-docs/isDeveloperDocs'; import styles from './search.module.scss'; import {Logo} from '../logo'; -import {NavLink} from '../navlink'; // Initialize Algolia Insights algoliaInsights('init', { @@ -271,28 +271,32 @@ export function Search({path, autoFocus, searchPlatforms = [], showChatBot}: Pro {showChatBot && ( or - - - - - Ask AI - +
+ + + + Ask AI +
+
)}