feat: media result page

This commit is contained in:
2025-04-21 11:30:18 -05:00
parent fb4b7dc71e
commit 77907601f8
24 changed files with 844 additions and 19 deletions

View File

@@ -0,0 +1,14 @@
{% extends 'base.html.twig' %}
{% block title %}Search Results &mdash - Torsearch{% endblock %}
{% block body %}
<div class="p-4 flex flex-col grow gap-4">
<h2 class="mb-2 text-3xl font-bold text-gray-50">Search Results</h2>
<div class="flex flex-row w-full gap-2">
<twig:Card title="{{ result.media.title }}" contentClass="flex flex-col gap-4 justify-between w-full">
</twig:Card>
</div>
</div>
{% endblock %}

View File

@@ -17,6 +17,7 @@
description="{{ result.description }}"
poster="{{ result.poster }}"
imdbId="{{ result.imdbId }}"
tmdbId="{{ result.tmdbId }}"
/>
</li>
</ul>