From d6751900335d858a56a31af3ceb3e2572caebb12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCray=20Da=C4=9F?= Date: Thu, 1 Aug 2024 16:56:14 +0300 Subject: [PATCH] resolve #79 I added the message with the link that redirects to the issue page --- src/components/Search.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Search.jsx b/src/components/Search.jsx index c053cca..bafe02c 100644 --- a/src/components/Search.jsx +++ b/src/components/Search.jsx @@ -15,6 +15,7 @@ import { usePathname, useRouter, useSearchParams } from 'next/navigation' import { createAutocomplete } from '@algolia/autocomplete-core' import { Dialog } from '@headlessui/react' import clsx from 'clsx' +import Link from 'next/link' import { navigation } from '@/lib/navigation' @@ -178,11 +179,14 @@ function SearchResults({ autocomplete, query, collection }) { if (collection.items.length === 0) { return (

- No results for “ + Couldn't find what you are looking for?  + + Create an Issue on GitHub for “ {query} ” +

) }