Files
frontend/src/app/movie-poster/movie-poster.component.html
Piet Ostendorp eaab2bef4e Make movie duration component dynamic
Updated MovieDurationComponent to accept a 'duration' input and display it dynamically. Adjusted usage in MoviePosterComponent to pass the duration value, improving reusability and flexibility.
2025-10-29 10:15:02 +01:00

9 lines
340 B
HTML

<div class="w-64 mx-auto my-2">
<img src="assets/test-movie-poster.jpg" alt="Movie Poster" class="w-full h-auto shadow-md">
</div>
<div class="flex gap-1 justify-between">
<app-movie-rating [rating]="12"></app-movie-rating>
<app-movie-duration [duration]="181"></app-movie-duration>
<app-movie-category></app-movie-category>
</div>