diff --git a/public/placeholder.svg b/public/placeholder.svg new file mode 100644 index 0000000..31b9cfc --- /dev/null +++ b/public/placeholder.svg @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/pages/Movie.jsx b/src/pages/Movie.jsx index 73777cd..84448f9 100644 --- a/src/pages/Movie.jsx +++ b/src/pages/Movie.jsx @@ -132,14 +132,14 @@ const Movie = () => { to={`/actor/${actor.id}`} className={styles.Actor} > - {actor.profile_path ? ( - {actor.name} - ) : ( -

Image Unavailable

- )} + {actor.name}

{actor.name}

diff --git a/src/styles/Movie.module.css b/src/styles/Movie.module.css index 4c384c3..e969ef2 100644 --- a/src/styles/Movie.module.css +++ b/src/styles/Movie.module.css @@ -90,6 +90,10 @@ color: white; } +.Actor img { + height: 300px; +} + .Actor:not(:hover) { text-decoration: none; }