fix: links popular movies to their download options
This commit is contained in:
@@ -1,4 +1,14 @@
|
|||||||
<div{{ attributes }}>
|
<div{{ attributes }}>
|
||||||
<img src="{{ image }}" class="w-40 rounded-md" />
|
<a href="{{ path('app_search_result', {
|
||||||
<h3 class="text-center text-gray-50 max-w-[16ch] text-extrabold">{{ title }}</h3>
|
mediaType: "movies",
|
||||||
|
tmdbId: tmdbId
|
||||||
|
}) }}">
|
||||||
|
<img src="{{ image }}" class="w-40 rounded-md" />
|
||||||
|
</a>
|
||||||
|
<a href="{{ path('app_search_result', {
|
||||||
|
mediaType: "movies",
|
||||||
|
tmdbId: tmdbId
|
||||||
|
}) }}">
|
||||||
|
<h3 class="text-center text-gray-50 max-w-[16ch] text-extrabold">{{ title }}</h3>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -92,7 +92,12 @@
|
|||||||
<div class="">
|
<div class="">
|
||||||
<twig:Card title="Popular Movies" contentClass="flex flex-row justify-between w-full">
|
<twig:Card title="Popular Movies" contentClass="flex flex-row justify-between w-full">
|
||||||
{% for movie in popular_movies %}
|
{% for movie in popular_movies %}
|
||||||
<twig:Poster imdbId="" title="{{ movie.title }}" description="{{ movie.description }}" image="{{ movie.poster }}" year="{{ movie.year }}" />
|
<twig:Poster imdbId=""
|
||||||
|
tmdbId="{{ movie.tmdbId }}"
|
||||||
|
title="{{ movie.title }}"
|
||||||
|
description="{{ movie.description }}"
|
||||||
|
image="{{ movie.poster }}"
|
||||||
|
year="{{ movie.year }}" />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</twig:Card>
|
</twig:Card>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user