feat: presents popular tv shows on landing page
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user