From 62f668e4ad691b3cadd20971211a0f8311ac723c 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) { %>