From 3710507828ec4b5ea9335568bbf07193a29bcb49 Mon Sep 17 00:00:00 2001 From: Ashley Date: Fri, 23 Sep 2022 13:27:53 +0200 Subject: [PATCH] new channel page for mobile :3 --- html/channel.ejs | 130 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 127 insertions(+), 3 deletions(-) diff --git a/html/channel.ejs b/html/channel.ejs index b00c043d..489a0094 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -109,7 +109,73 @@ line-height:24px; margin-top:12px } - + <% if (isMobile) { %> + + <% } %> + @@ -145,12 +211,46 @@
-
+ <% if (isMobile) { %> + + + +
+ +
+ <% if (!tab) { %> + + Home + About + <% } %> + <% if (tab) { %> + + Home + About + <% } %> + +
+ + + + + + +
+ +
+ + <% } %> + +
+ + <% if (j.Channel.Metadata.Banners.Thumbnail) { %> <% } %> + <% if (!isMobile) { %>
+ <% } %> + <% if (isMobile) { %> + +
+ + Channel Avatar + +
+

<%=j.Channel.Metadata.Name%>

+
+ + <%=subs%> Subscribers + <% if (!tab) { %> + +

+ <%-getFirstLine(desc)%> + +

+ <% } %> +
+
+ <% } %> + <% if (!isMobile) { %> + <% if (!tab) { %>
@@ -180,7 +304,7 @@ Uploads About
- <% } %> + <% } %> <% } %>
<% if (!tab) { %>