Update search.ejs

This commit is contained in:
Ashley 2022-06-22 16:33:55 +03:00 committed by GitHub
parent a3e960c1e7
commit 38bf5f3035
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,13 +65,13 @@ summary:hover{
<a
href="/watch?v=<%= x.id %>"
class="thumbnail"
style="background-image: url('https://i.ytimg.com/vi/<%= x.id %>/hq720.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&amp;rs=AOn4CLBmAOZV7CM3NdDKlEFxGX7PpI5UWQ')"
style="background-image: url('https://i.ytimg.com/vi/<%= x.id %>/hqdefault.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&amp;rs=AOn4CLBmAOZV7CM3NdDKlEFxGX7PpI5UWQ')"
><span class="video-length"><%=x.duration %></span></a>
<div class="info" style="color:#fff;text-align: left;">
<a style="color:#fff" href="/watch?v=<%= x.id %>" class="title max-lines-2"
><%= x.Title %></a>
<div style="display: flex; flex-direction: column; row-gap: 8px">
<a href="/watch?v=IRSWmkSJJEs"><span><%= x.views %> views</span> <span>•</span> <span><%= x.uploadedAt %></span></a>
<a href="/watch?v=<%= x.id %>"><span><%= x.views %> views</span> <span>•</span> <span><%= x.uploadedAt %></span></a>
<a href="/channel?id=<%= x.Channel.id %>">By <%=x.Channel.Name %></a>
</div>
</div>