feat: presents popular tv shows on landing page

This commit is contained in:
2025-04-27 21:36:45 -05:00
parent 5d257e4404
commit c664e9fbca
4 changed files with 36 additions and 4 deletions

View File

@@ -54,7 +54,7 @@
</table>
</twig:Card>
</div>
<div class="">
<div class="flex flex-col gap-4">
<twig:Card title="Popular Movies" contentClass="flex flex-row justify-between w-full">
{% for movie in popular_movies %}
<twig:Poster imdbId=""
@@ -62,7 +62,21 @@
title="{{ movie.title }}"
description="{{ movie.description }}"
image="{{ movie.poster }}"
year="{{ movie.year }}" />
year="{{ movie.year }}"
mediaType="movies"
/>
{% endfor %}
</twig:Card>
<twig:Card title="Popular TV Shows" contentClass="flex flex-row justify-between w-full">
{% for movie in popular_tvshows %}
<twig:Poster imdbId=""
tmdbId="{{ movie.tmdbId }}"
title="{{ movie.title }}"
description="{{ movie.description }}"
image="{{ movie.poster }}"
year="{{ movie.year }}"
mediaType="tvshows"
/>
{% endfor %}
</twig:Card>
</div>