Added ratings page

This commit is contained in:
“Henry-Hiles” 2022-11-02 11:15:42 -04:00
parent e9cb1d9d54
commit 93c6bc7e80
16 changed files with 127 additions and 58 deletions

View file

@ -47,7 +47,14 @@ const Home = () => {
return (
<div className={styles.Container}>
<TopBar search={search} setSearch={setSearch} />
<input
type="text"
className={styles.Search}
value={search}
autoFocus
placeholder="Search for movies..."
onChange={({ target }) => setSearch(target.value)}
/>
<div className={styles.CardList}>
{movies?.map((movie) => (
<Card key={movie.id} movie={movie} />