feat: implement search functionality with results display, add search input component, and update API for search results

This commit is contained in:
2025-09-07 12:54:39 +02:00
parent 69eb225c1e
commit c9b8bd7b07
7 changed files with 171 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
import Link from "next/link";
import { usePathname } from "next/navigation";
import { cn } from "@/lib/utils";
import { SearchInput } from "./search-input";
export function MainNav() {
const pathname = usePathname();
@@ -17,6 +18,7 @@ export function MainNav() {
>
Feed
</Link>
<SearchInput />
</nav>
);
}