feat(search): full-text recipe search and explore page

Postgres full-text search with dietary/difficulty/time filters.
Search page with real-time results. Explore page with trending and recent recipes.
This commit is contained in:
Arnaud
2026-07-01 08:10:44 +02:00
parent 3636ab27ae
commit e179692adf
5 changed files with 647 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import { SearchPageContent } from "@/components/search/search-page-content";
type Params = { searchParams: Promise<{ q?: string; difficulty?: string; dietary?: string }> };
export default async function SearchPage({ searchParams }: Params) {
const { q } = await searchParams;
return <SearchPageContent initialQuery={q ?? ""} />;
}