diff --git a/components/Card.tsx b/components/Card.tsx
index 2b19fa9..dcad4af 100644
--- a/components/Card.tsx
+++ b/components/Card.tsx
@@ -10,7 +10,7 @@ export function Card(
backgroundImage: `url(${image})`,
backgroundSize: "cover",
}}
- class="bg-gray-900 text-white rounded-3xl shadow-md p-4 relative overflow-hidden
+ class="text-white rounded-3xl shadow-md p-4 relative overflow-hidden
lg:w-56 lg:h-56
sm:w-40 sm:h-40
w-32 h-32"
diff --git a/components/MovieCard.tsx b/components/MovieCard.tsx
new file mode 100644
index 0000000..555d53a
--- /dev/null
+++ b/components/MovieCard.tsx
@@ -0,0 +1,18 @@
+import { Card } from "@components/Card.tsx";
+import { Movie } from "@lib/movies.ts";
+
+export function MovieCard({ movie }: { movie: Movie }) {
+ const { meta: { image = "/placeholder.svg" } = {} } = movie;
+
+ const imageUrl = image?.startsWith("Media/movies/")
+ ? `/api/images?image=${image}&width=200&height=200`
+ : image;
+
+ return (
+
- {recipe.preparation} + {movie.description}