mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:43:25 +00:00
feat: higher poster quality
This commit is contained in:
@@ -9,7 +9,7 @@ export const bookmarks: ItemData[] = [
|
|||||||
id: "219651",
|
id: "219651",
|
||||||
title: "Welcome to Samdal-ri",
|
title: "Welcome to Samdal-ri",
|
||||||
posterUrl:
|
posterUrl:
|
||||||
"https://www.themoviedb.org/t/p/w185/98IvA2i0PsTY8CThoHByCKOEAjz.jpg",
|
"https://www.themoviedb.org/t/p/w500/98IvA2i0PsTY8CThoHByCKOEAjz.jpg",
|
||||||
type: "tv",
|
type: "tv",
|
||||||
year: 2023,
|
year: 2023,
|
||||||
},
|
},
|
||||||
@@ -17,7 +17,7 @@ export const bookmarks: ItemData[] = [
|
|||||||
id: "194797",
|
id: "194797",
|
||||||
title: "Doona!",
|
title: "Doona!",
|
||||||
posterUrl:
|
posterUrl:
|
||||||
"https://www.themoviedb.org/t/p/w185/bQhiOkU3lCu5pwCqPdNVG5GBLlj.jpg",
|
"https://www.themoviedb.org/t/p/w500/bQhiOkU3lCu5pwCqPdNVG5GBLlj.jpg",
|
||||||
type: "tv",
|
type: "tv",
|
||||||
year: 2023,
|
year: 2023,
|
||||||
},
|
},
|
||||||
@@ -28,7 +28,7 @@ export const watching: ItemData[] = [
|
|||||||
id: "113268",
|
id: "113268",
|
||||||
title: "The Uncanny Counter",
|
title: "The Uncanny Counter",
|
||||||
posterUrl:
|
posterUrl:
|
||||||
"https://www.themoviedb.org/t/p/w185/tKU34QiJUfVipcuhAs5S3TdCpAF.jpg",
|
"https://www.themoviedb.org/t/p/w500/tKU34QiJUfVipcuhAs5S3TdCpAF.jpg",
|
||||||
type: "tv",
|
type: "tv",
|
||||||
year: 2020,
|
year: 2020,
|
||||||
},
|
},
|
||||||
@@ -36,7 +36,7 @@ export const watching: ItemData[] = [
|
|||||||
id: "203508",
|
id: "203508",
|
||||||
title: "Earth Arcade",
|
title: "Earth Arcade",
|
||||||
posterUrl:
|
posterUrl:
|
||||||
"https://www.themoviedb.org/t/p/w185/vBJ0uF0WlFcjr9obZZqE6GSsKoL.jpg",
|
"https://www.themoviedb.org/t/p/w500/vBJ0uF0WlFcjr9obZZqE6GSsKoL.jpg",
|
||||||
type: "tv",
|
type: "tv",
|
||||||
year: 2022,
|
year: 2022,
|
||||||
},
|
},
|
||||||
|
@@ -5,5 +5,5 @@ const TMDB_API_KEY =
|
|||||||
export const tmdb = new TMDB(TMDB_API_KEY);
|
export const tmdb = new TMDB(TMDB_API_KEY);
|
||||||
|
|
||||||
export function getMediaPoster(posterPath: string): string {
|
export function getMediaPoster(posterPath: string): string {
|
||||||
return `https://image.tmdb.org/t/p/w185/${posterPath}`;
|
return `https://image.tmdb.org/t/p/w500/${posterPath}`;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user