From 44183892bfc04cfa3b08f7784414b8f64b67e919 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 23 Nov 2023 06:24:55 +0000 Subject: [PATCH 01/14] add splash!! --- src/libpoketube/init/pages-404-and-main.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/libpoketube/init/pages-404-and-main.js b/src/libpoketube/init/pages-404-and-main.js index e469c827..6ce2e7d6 100644 --- a/src/libpoketube/init/pages-404-and-main.js +++ b/src/libpoketube/init/pages-404-and-main.js @@ -23,6 +23,21 @@ var ping = require("ping"); const sha384 = modules.hash; + +const splash = [ + "Woke!", + "Gay gay homosexaul gay!", + "free palistine!", + "free software!", + "frick capitalism!", + "still calling it twitter btw!", + "boop!" +] + +const random = + splash[Math.floor(Math.random() * splash.length)]; + + function getJson(str) { try { return JSON.parse(str); @@ -85,6 +100,7 @@ module.exports = function (app, config, renderTemplate) { return renderTemplate(res, req, "landing.ejs", { isOldWindows, + splash }); }; From bfe0b6a687a2ca8c135e40268554a95f38611128 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 23 Nov 2023 07:02:06 +0000 Subject: [PATCH 02/14] Update src/libpoketube/init/pages-404-and-main.js --- src/libpoketube/init/pages-404-and-main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-404-and-main.js b/src/libpoketube/init/pages-404-and-main.js index 6ce2e7d6..e869f8ad 100644 --- a/src/libpoketube/init/pages-404-and-main.js +++ b/src/libpoketube/init/pages-404-and-main.js @@ -100,7 +100,7 @@ module.exports = function (app, config, renderTemplate) { return renderTemplate(res, req, "landing.ejs", { isOldWindows, - splash + random }); }; From 7072ff9720db7a40d2c54163d09238a294ff89b8 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 23 Nov 2023 07:06:13 +0000 Subject: [PATCH 03/14] Update html/landing.ejs --- html/landing.ejs | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/html/landing.ejs b/html/landing.ejs index 881471e4..aff7173f 100644 --- a/html/landing.ejs +++ b/html/landing.ejs @@ -43,13 +43,34 @@ h1 { font-family:"Ginto Nord" !important; } - <% } %> + <% } %> + +
From ff60d4a316cbb6b4054eb0291ef633ec90cc3d69 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 23 Nov 2023 07:14:18 +0000 Subject: [PATCH 04/14] Update html/landing.ejs --- html/landing.ejs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/html/landing.ejs b/html/landing.ejs index aff7173f..b969bb46 100644 --- a/html/landing.ejs +++ b/html/landing.ejs @@ -48,7 +48,7 @@
From efe75f7e67b480c851344bdd0e24cecddacefe8b Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 23 Nov 2023 07:16:54 +0000 Subject: [PATCH 05/14] Update html/landing.ejs --- html/landing.ejs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/html/landing.ejs b/html/landing.ejs index b969bb46..a7d23af3 100644 --- a/html/landing.ejs +++ b/html/landing.ejs @@ -49,15 +49,15 @@ .subtitle { - text-align: center - color: #FFFF00 - text-shadow: 1px 1px 0px #000 - position: relative - left: 200px - bottom: 50px - animation: subtitle .25s - animation-direction: alternate - animation-iteration-count: infinite + text-align: center; + color: #FFFF00; + text-shadow: 1px 1px 0px #000; + position: relative; + left: 200px; + bottom: 50px; + animation: subtitle .25s; + animation-direction: alternate; + animation-iteration-count: infinite; } @-webkit-keyframes subtitle { From 614e53353677771f2d2e1190bbc9a5e193f8be6e Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 23 Nov 2023 07:21:34 +0000 Subject: [PATCH 06/14] new css --- html/landing.ejs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/html/landing.ejs b/html/landing.ejs index a7d23af3..ce7ba175 100644 --- a/html/landing.ejs +++ b/html/landing.ejs @@ -47,17 +47,17 @@