cursed hack, aber...

This commit is contained in:
x
2024-06-10 02:21:54 +02:00
parent c05bcb758f
commit b62bd3bfb9

View File

@@ -15,9 +15,22 @@
<?php <?php
$thumb = str_replace(".webm","",$video->file); $thumb = str_replace(".webm","",$video->file);
?> ?>
<div class="main-item"> <div style="position: relative;" class="main-item hasTag-{{$video->id}}">
@if(isset($q) && $video->hasAllTags($q)) @if(isset($q) && $video->hasAllTags($q))
<a href="/t/{{$q}}/{{$video->id}}"> <a href="/t/{{$q}}/{{$video->id}}">
<style>
.hasTag-{{$video->id}}::after {
content: "\f02b";
font: normal normal normal 14px/1 FontAwesome;
position: absolute;
bottom: 0;
left: 0;
padding: 5px;
color: #1fb2b0;
font-size: 2em;
pointer-events: none;
}
</style>
@else @else
<a href="/{{$video->id}}"> <a href="/{{$video->id}}">
@endif @endif