Make video thumbnails clickable on instance homepage

This commit is contained in:
metalune 2021-07-31 12:45:04 +02:00
parent a624de1ec3
commit f4bdebb9f5
4 changed files with 12 additions and 4 deletions

View file

@ -8,7 +8,9 @@
<div id="wrap">
{% for video in videos.data %}
<div class="result-wrapper">
<a href="https://{{ domain }}/videos/watch/{{ video.uuid }}">
<img src="https://{{ domain }}{{ video.thumbnailPath }}" height="150"/>
</a>
<div class="result-info">
<a href="/{{ domain }}/videos/watch/{{ video.uuid }}">{{ video.name }}</a>

View file

@ -8,7 +8,9 @@
<div id="wrap">
{% for video in videos.data %}
<div class="result-wrapper">
<a href="https://{{ domain }}/videos/watch/{{ video.uuid }}">
<img src="https://{{ domain }}{{ video.thumbnailPath }}" height="150"/>
</a>
<div class="result-info">
<a href="/{{ domain }}/videos/watch/{{ video.uuid }}">{{ video.name }}</a>

View file

@ -8,7 +8,9 @@
<div id="wrap">
{% for video in videos.data %}
<div class="result-wrapper">
<a href="https://{{ domain }}/videos/watch/{{ video.uuid }}">
<img src="https://{{ domain }}{{ video.thumbnailPath }}" height="150"/>
</a>
<div class="result-info">
<a href="/{{ domain }}/videos/watch/{{ video.uuid }}">{{ video.name }}</a>

View file

@ -8,7 +8,9 @@
<div id="wrap">
{% for video in videos.data %}
<div class="result-wrapper">
<a href="https://{{ domain }}/videos/watch/{{ video.uuid }}">
<img src="https://{{ domain }}{{ video.thumbnailPath }}" height="150"/>
</a>
<div class="result-info">
<a href="/{{ domain }}/videos/watch/{{ video.uuid }}">{{ video.name }}</a>