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