new stuff

This commit is contained in:
Ashley 2022-09-21 14:34:25 +02:00
parent 61ca5e12ef
commit 0758c10fa5

View file

@ -29,8 +29,11 @@
<meta content="<%-desc%>" property=twitter:description> <meta content="<%-desc%>" property=twitter:description>
<% } %> <% } %>
<% if (j.Channel.Metadata.Banners.Thumbnail) { %>
<meta content="<%=j.Channel.Metadata.Banners.Thumbnail[2].$t%>" property=og:image> <meta content="<%=j.Channel.Metadata.Banners.Thumbnail[2].$t%>" property=og:image>
<% } %>
<meta content=summary_large_image name=twitter:card> <meta content=summary_large_image name=twitter:card>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
@ -115,9 +118,12 @@
<nav> <nav>
<div class="left"><a class="class" href="/143" style=font-family:Inter,sans-serif;color:#fff> <img style="transform: scale(1.3);padding-left:0.9em;width: 8.5em;display: block;margin-left: auto;margin-right: auto;" src="/css/logo.svg?v=5"> </a> </div> <div class="left"><a class="class" href="/143" style=font-family:Inter,sans-serif;color:#fff> <img style="transform: scale(1.3);padding-left:0.9em;width: 8.5em;display: block;margin-left: auto;margin-right: auto;" src="/css/logo.svg?v=5"> </a> </div>
<div class="middle"> <div class="middle">
<% if (!isMobile) { %>
<form action=/search><input class=search-bar autocomplete="on" id=fname name=query style="color:#fff;font-family:Inter,sans-serif;border-radius: 8px;transform:none;"> <form action=/search><input class=search-bar autocomplete="on" id=fname name=query style="color:#fff;font-family:Inter,sans-serif;border-radius: 8px;transform:none;">
<% } %>
</form> </form>
<img src="https://search-metrics.poketube.fun/t/rep.gif" style="border:0;width: 0;visibility: hidden;"> <img src="https://search-metrics.poketube.fun/t/rep.gif" style="border:0;width: 0;visibility: hidden;">
</div> </div>
@ -140,7 +146,12 @@
<div class="channel-page"> <div class="channel-page">
<div class="channel-info-container"> <div class="channel-info-container">
<% if (j.Channel.Metadata.Banners.Thumbnail) { %>
<img src="https://p.poketube.fun/<%=j.Channel.Metadata.Banners.Thumbnail[2].$t%>"> <img src="https://p.poketube.fun/<%=j.Channel.Metadata.Banners.Thumbnail[2].$t%>">
<% } %>
<div class="channel-info" > <div class="channel-info" >
<a href="/channel?id=<%=ID%>" class="avatar"> <a href="/channel?id=<%=ID%>" class="avatar">
<img src="https://p.poketube.fun/<%=j.Channel.Metadata.Avatars.Thumbnail.$t%>" alt="Channel Avatar"> <img src="https://p.poketube.fun/<%=j.Channel.Metadata.Avatars.Thumbnail.$t%>" alt="Channel Avatar">
@ -187,10 +198,12 @@
</div> <% } %> </div> <% } %>
<% if (tab === "about") { %> <% if (tab === "about") { %>
<div style="text-align: left;"> <% if (desc) { %> <div style="text-align: left;">
<h3 style="color:#fff;font-family:Ginto Nord,sans-serif;font-weight:900;padding: 0px;margin: 0;margin-top: 7px;margin-left: 10px;">About</h3> <h3 style="color:#fff;font-family:Ginto Nord,sans-serif;font-weight:900;padding: 0px;margin: 0;margin-top: 7px;margin-left: 10px;">About</h3>
<% if (desc) { %>
<p style="color:#fff;margin-left: 10px;font-weight: bold;"><%-desc.replace(/\n/g, " <br> ")%></p> <p style="color:#fff;margin-left: 10px;font-weight: bold;"><%-desc.replace(/\n/g, " <br> ")%></p>
<% } %> <% } %>
<% if (wiki.extract_html) { %> <% if (wiki.extract_html) { %>
@ -216,8 +229,10 @@
</p> </p>
<% } %> <% } %>
<div style="font-weight: bold;color:#fff;margin-left: 10px;"> <div style="font-weight: bold;color:#fff;margin-left: 10px;">
<% if (about.Location != "[object Object]") { %>
<p style="margin: 0px;margin-top: 2.5px;font-weight: bold;"><i class="fa-light fa-earth-americas"></i> <%- about.Location%> </p> <p style="margin: 0px;margin-top: 2.5px;font-weight: bold;"><i class="fa-light fa-earth-americas"></i> <%- about.Location%> </p>
<% } %>
<p style="margin: 0px;margin-top: 2.5px;font-weight: bold;"><i class="fa-light fa-circle-info"></i> <%- about.Joined%> </p> <p style="margin: 0px;margin-top: 2.5px;font-weight: bold;"><i class="fa-light fa-circle-info"></i> <%- about.Joined%> </p>
<p style="margin: 0px;margin-top: 2.5px;font-weight: bold;"> <i class="fa-light fa-arrow-trend-up"></i> <%- about.ViewCount%> </p> <p style="margin: 0px;margin-top: 2.5px;font-weight: bold;"> <i class="fa-light fa-arrow-trend-up"></i> <%- about.ViewCount%> </p>