diff --git a/public/logo.png b/public/logo.png deleted file mode 100644 index 56a71a2..0000000 Binary files a/public/logo.png and /dev/null differ diff --git a/src/components/organisms/Navbar/components/Search/index.tsx b/src/components/organisms/Navbar/components/Search/index.tsx index 46af2c7..b66508c 100644 --- a/src/components/organisms/Navbar/components/Search/index.tsx +++ b/src/components/organisms/Navbar/components/Search/index.tsx @@ -4,11 +4,11 @@ import { useState } from "react"; import { SearchResult } from "@/lib/tmdb/types"; import { TMDB } from "@/lib/tmdb"; import { SearchInput } from "@/components/atoms/SearchInput"; -import { MovieCard } from "@/components/atoms/MovieCard"; import { useKeyListener } from "@/hooks/useKeyListener"; import { useRef } from "react"; import { useOutsideClick } from "@/hooks/useOutsideClick"; import { Button } from "@/components/atoms/Button"; +import { MovieList } from "@/components/molecules/MovieList"; export const Search = () => { const ref = useRef(null); @@ -59,40 +59,35 @@ export const Search = () => {
-
- {results && ( -
-

{total_results} movies found

-
- )} - {results?.slice(0, 5).map((result) => ( - - ))} - {total_results > 5 && ( -
- -
- )} -
+ {results && ( +
+

{total_results} movies found

+
+ )} + {results && ( + ({ + ...m, + favorite: false, + seen: false, + genre_ids: JSON.stringify(m.genre_ids), + }))} + fluid + /> + )} + {total_results > 5 && ( +
+ +
+ )}
)}