Skip to content

Commit 1fed485

Browse files
2.4 Recap
1 parent 9ce6743 commit 1fed485

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pages/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default function Home({ results }) {
77
<Seo title="Home" />
88
{results?.map((movie) => (
99
<div className="movie" key={movie.id}>
10-
<img src={`https://image.tmdb.org/t/p/w500/${movie.poster_path}`} />
10+
<img src={`https://image.tmdb.org/t/p/w500${movie.poster_path}`} />
1111
<h4>{movie.original_title}</h4>
1212
</div>
1313
))}
@@ -18,6 +18,9 @@ export default function Home({ results }) {
1818
padding: 20px;
1919
gap: 20px;
2020
}
21+
.movie {
22+
cursor: pointer;
23+
}
2124
.movie img {
2225
max-width: 100%;
2326
border-radius: 12px;

0 commit comments

Comments
 (0)