feat(F-065): completed feature

This commit is contained in:
chattie
2026-08-19 17:12:25 +02:00
parent a6d65310df
commit e60e22ca30
14 changed files with 169 additions and 12 deletions

View File

@@ -42,6 +42,7 @@ export default async function SearchPage({ searchParams }: Props) {
</h1>
<form method="GET" action="/search" className="flex gap-3">
<input
id="search-page-q"
name="q"
type="search"
defaultValue={query}

View File

@@ -186,6 +186,8 @@ export function Header() {
<div className="relative w-full">
<input
type="search"
id="site-search"
name="q"
value={q}
onChange={(e) => handleSearchChange(e.target.value)}
onFocus={() => { if (q.trim() && (results.length > 0 || suggestions.length > 0)) setShowDropdown(true); }}