diff options
| author | real-zephex <[email protected]> | 2024-05-07 08:38:08 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-05-07 08:38:08 +0530 |
| commit | d4cb608107f48c763d489411189a7a634edfdded (patch) | |
| tree | 0827f8da810ca372f6e3dea8406b739ba03e43a6 /src/app/movies/components/popular.jsx | |
| parent | Merge pull request #20 from zephex-alt/master (diff) | |
| download | dramalama-d4cb608107f48c763d489411189a7a634edfdded.tar.xz dramalama-d4cb608107f48c763d489411189a7a634edfdded.zip | |
small fixes and shit
Diffstat (limited to 'src/app/movies/components/popular.jsx')
| -rw-r--r-- | src/app/movies/components/popular.jsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app/movies/components/popular.jsx b/src/app/movies/components/popular.jsx index 04d9cf8..d2d5e36 100644 --- a/src/app/movies/components/popular.jsx +++ b/src/app/movies/components/popular.jsx @@ -27,7 +27,7 @@ export default async function POPULAR_MOVIES() { style={{ borderRadius: "0.5rem", overflow: "hidden", - backgroundImage: `url(https://image.tmdb.org/t/p/original${item.backdrop_path})`, + backgroundImage: `url(https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=https://image.tmdb.org/t/p/original${item.backdrop_path})`, backgroundRepeat: "no-repeat", backgroundSize: "cover", }} @@ -35,9 +35,9 @@ export default async function POPULAR_MOVIES() { > <div className={styles.MovieEntry}> <Image - src={`https://image.tmdb.org/t/p/original${item.poster_path}`} - width={200} - height={300} + src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=https://image.tmdb.org/t/p/original${item.poster_path}`} + width={167} + height={247} alt="Movie Poster" priority ></Image> |