From 66412b7788f49def33fc2143f9e1bd5d25bac261 Mon Sep 17 00:00:00 2001 From: Alberto-Duarte Date: Tue, 25 Apr 2023 16:27:11 +0100 Subject: added more things jaja --- src/components/PreviewCard.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/components/PreviewCard.tsx (limited to 'src/components/PreviewCard.tsx') diff --git a/src/components/PreviewCard.tsx b/src/components/PreviewCard.tsx new file mode 100644 index 0000000..5c4129f --- /dev/null +++ b/src/components/PreviewCard.tsx @@ -0,0 +1,19 @@ +const imageURL = 'https://image.tmdb.org/t/p/original'; +import Genre from "./Genre"; +const baseURL ='https://api.themoviedb.org/3/' + +const PreviewCard = ({ movie }) => { + return ( +
+
+
+

+ {movie.original_title} +

+ +
+
+ )} + + +export default PreviewCard \ No newline at end of file -- cgit v1.2.3-54-g00ecf