mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-12-30 11:31:23 +00:00
Merge redesign into main (#111)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<a href="{{Link}}">
|
||||
<div class="post">
|
||||
<div class="bg-slate-600 rounded-lg">
|
||||
{{#equal Cover.Type "video"}}
|
||||
<video controls loop poster="/{{Cover.Id}}.webp" preload="none" width="100%" height="100%">
|
||||
<source src="{{Cover.Url}}" type="video/mp4" />
|
||||
@@ -8,18 +8,18 @@
|
||||
{{#equal Cover.Type "image"}}
|
||||
<img src="{{Cover.Url}}" loading="lazy" width="100%" height="100%">
|
||||
{{/equal}}
|
||||
<p class="post__title">{{Title}}</p>
|
||||
<p class="m-2 text-ellipsis whitespace-nowrap overflow-hidden">{{Title}}</p>
|
||||
<div class="flex gap-2 p-2">
|
||||
<div>
|
||||
<img class="icon" src="/static/icons/chevron-up.svg" alt="Points">
|
||||
<div class="flex gap-1">
|
||||
<img class="invert icon" src="/static/icons/PhArrowFatUp.svg" alt="Points" width="18px" height="18px">
|
||||
{{Points}}
|
||||
</div>
|
||||
<div>
|
||||
<img class="icon" src="/static/icons/message-square.svg" alt="Comments">
|
||||
<div class="flex gap-1">
|
||||
<img class="invert icon" src="/static/icons/PhChat.svg" alt="Comments" width="18px" height="18px">
|
||||
{{Comments}}
|
||||
</div>
|
||||
<div>
|
||||
<img class="icon" src="/static/icons/eye.svg" alt="Views">
|
||||
<div class="flex gap-1">
|
||||
<img class="invert icon" src="/static/icons/PhEye.svg" alt="Views" width="18px" height="18px">
|
||||
{{Views}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user