From 074671f4268794346e6b135680f4450144db6184 Mon Sep 17 00:00:00 2001 From: Charly Gomez Date: Tue, 28 Jan 2025 12:02:19 -0800 Subject: [PATCH] Revert "feat(platform): Integrate AI into search results (#12448)" This reverts commit 5ca4064c312e2e67b00f5caaf0289d996ec1d527. --- app/not-found.tsx | 2 +- src/components/cutomIcons/magic.tsx | 18 ------ src/components/header.tsx | 2 +- src/components/mobileMenu/index.tsx | 8 ++- src/components/search/index.tsx | 76 ++++++++++++++---------- src/components/search/search.module.scss | 42 +------------ src/globals.d.ts | 3 - 7 files changed, 53 insertions(+), 98 deletions(-) delete mode 100644 src/components/cutomIcons/magic.tsx diff --git a/app/not-found.tsx b/app/not-found.tsx index 9cd46e3b599ef..4f49a35d4674e 100644 --- a/app/not-found.tsx +++ b/app/not-found.tsx @@ -24,7 +24,7 @@ export default function NotFound() {

Let's give it another shot:

- +
+ + )}
{query.length >= 2 && inputFocus && (
-
- -
- {loading && } {!loading && totalHits > 0 && ( @@ -294,6 +296,14 @@ export function Search({path, autoFocus, searchPlatforms = []}: Props) { /> )} + {!loading && totalHits === 0 && ( +
+ +
+ )} + {!loading && !showOffsiteResults && (