1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 04:14:39 -05:00

add google-it back :3

This commit is contained in:
Ashley //// 2024-03-29 15:06:01 +00:00
parent debe3ddd5c
commit 103362876d

View file

@ -18,16 +18,14 @@
--> -->
<!DOCTYPE html> <!DOCTYPE html>
<head> <head>
<head>
<title>Searching <%=q%> - PokeSearch</title> <title>Searching <%=q%> - PokeSearch</title>
<link rel="manifest" href="/manifest.json"> <link rel="manifest" href="/manifest.json">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=3.0, user-scalable=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=3.0, user-scalable=1" />
<link href=/css/yt-ukraine.svg?v=6 rel=icon> <link href=/css/yt-ukraine.svg?v=6 rel=icon>
<link href="https://fonts.poketube.fun/css/fonts.css" rel=stylesheet> <link href=/css/app-cdn.min.css?v=44600 rel=stylesheet>
<link href=/css/app-cdn.min.css rel=stylesheet> <link href=/css/app.main.css?v=44600rel=stylesheet>
<link href=/css/app.main.css?v=44600 rel=stylesheet> <link href=/css/search.main.css?v=44600 rel=stylesheet>
<link href=/css/search.main.css?v=57 rel=stylesheet> <link href=/css/watch.main.css?v=44600 rel=stylesheet>
<link href=/css/watch.main.css rel=stylesheet>
<link rel="search" type="application/opensearchdescription+xml" title="PokeTube" href="https://poketube.fun/api/opensearch" /> <link rel="search" type="application/opensearchdescription+xml" title="PokeTube" href="https://poketube.fun/api/opensearch" />
<meta content="Searching <%=q%> - PokeTube" property=og:title> <meta content="Searching <%=q%> - PokeTube" property=og:title>
<% if (q == "do the harlem shake") { %> <% if (q == "do the harlem shake") { %>
@ -147,6 +145,7 @@ summary:hover{
word-break: break-all; word-break: break-all;
white-space: normal; white-space: normal;
} }
.hide { .hide {
display: none; display: none;
} }
@ -456,21 +455,23 @@ Web
</div> </div>
<div class="video-list" > <div class="video-list" >
<% results.forEach((x, index) => { %> <% results.forEach(x => { %>
<div class="video" style="height: 7em;"> <div class="video" style="height: 6em;">
<a style="min-width: 81em;" href="<%= x.url %>"><%= x.title %></a><br>
<p style="color:gray;display: flex;flex-direction: column;width: 48em;margin-top: -8em;"> <a style="min-width: 81em;" href="<%= x.link %>"><%= x.title %></a><br>
<%= x.url %><br> <p style="color:gray;display: flex;flex-direction: column;width: 48em;margin-top: -8em;"><%= x.link %><br>
<% if (!isMobile) { %> <% if (!isMobile) { %>
<span class="search-result"><%- x.description %></span>
<span style="color:white;width: 48em;display: flex;"><%= x.snippet %></span>
<% } %> <% } %>
<% if (isMobile) { %> <% if (isMobile) { %>
<span class="search-result"><%- x.description %></span>
<span style="color:white;max-width: 15em;display: flex;"><%= x.snippet %></span>
<% } %> <% } %>
</p> </p>
</div> </div>
<% }) %>
<% }) %>
</a> </a>
</div> </div>