feat: search results
This commit is contained in:
16
templates/components/SearchResult.html.twig
Normal file
16
templates/components/SearchResult.html.twig
Normal file
@@ -0,0 +1,16 @@
|
||||
<div{{ attributes }}>
|
||||
<div class="p-4 flex flex-row gap-6 bg-orange-500 bg-clip-padding backdrop-filter backdrop-blur-md bg-opacity-60 rounded-md">
|
||||
<img class="w-24" src="{{ poster }}" />
|
||||
<div class="w-full flex flex-col">
|
||||
<h3 class="mb-4 text-xl font-medium leading-tight font-bold text-gray-50">
|
||||
{{ title }} - {{ year }}
|
||||
</h3>
|
||||
<p class="text-gray-50">
|
||||
{{ description }}
|
||||
</p>
|
||||
</div>
|
||||
<a class="h-9 rounded-md py-1 px-2 bg-green-600 text-gray-50"
|
||||
href="/results/{{ mediaType }}/{{ imdbId }}/"
|
||||
>choose</a>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user