From 1333b990f6102587e7eccd350555cfe67c909229 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Mon, 14 Mar 2022 21:32:34 +1300 Subject: [PATCH 1/3] Add recommended videos to the can't think page this is probably some kind of sick irony yeah yeah no, no thinking. content. consume the content. watch more videos. https://tube.cadence.moe/cant-think watch more videos. https://tube.cadence.moe/cant-think watch more videos. https://tube.cadence.moe/cant-think watch more videos. https://tube.cadence.moe/cant-think watch more videos. https://tube.cadence.moe/cant-think ... can't think? --- pug/cant-think.pug | 6 ++++++ sass/includes/_cant-think-page.sass | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/pug/cant-think.pug b/pug/cant-think.pug index e730c57..2f88367 100644 --- a/pug/cant-think.pug +++ b/pug/cant-think.pug @@ -18,6 +18,7 @@ mixin leave(index, prefix="No more?", final) a(href="/search?q=cats+being+cute") [BLISS] block content + include includes/video-list-item main.cant-think-page - let src = constants.server_setup.cant_think_narration_url if src @@ -71,3 +72,8 @@ block content p You know what you must do. p.ultimatum: a(href="#i-understand").border-look I know what I must do. a#i-understand + + p.the-end Well, looks like you reached the end of the content.#[br]You know what happens now. + h3 Recommended videos + +video_list_item("related-video", {videoId: "jKKCF_Bqtw4", title: "dopamine review", author: "Jreg", authorId: "UCGSGPehp0RWfca-kENgBJ9Q", viewCountText: "84,651 views"}) + +video_list_item("related-video", {videoId: "gLYWLobR248", title: "I Watch My YouTube Videos At 2x Speed", author: "Jreg", authorId: "UCGSGPehp0RWfca-kENgBJ9Q", viewCountText: "125,625 views"}) diff --git a/sass/includes/_cant-think-page.sass b/sass/includes/_cant-think-page.sass index 0bbf369..2365a59 100644 --- a/sass/includes/_cant-think-page.sass +++ b/sass/includes/_cant-think-page.sass @@ -11,6 +11,7 @@ $_theme: () !default text-align: left max-width: 572px padding-top: 40px + margin-bottom: 12vh border-radius: 0px 0px 16px 16px box-sizing: border-box @@ -56,6 +57,12 @@ $_theme: () !default .ultimatum margin-top: 32px !important + .the-end + margin: 120px 0px 1em !important + + .thumbnail__more + display: none + #i-understand display: flex height: 20px From 25baf8c73bcefbb6ad8c969abe9abc6764044f09 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Mon, 14 Mar 2022 21:48:33 +1300 Subject: [PATCH 2/3] Fix z-index on can't think page Because why would I be able to test if I'm not able to think? --- sass/includes/_cant-think-page.sass | 1 + 1 file changed, 1 insertion(+) diff --git a/sass/includes/_cant-think-page.sass b/sass/includes/_cant-think-page.sass index 2365a59..99faa21 100644 --- a/sass/includes/_cant-think-page.sass +++ b/sass/includes/_cant-think-page.sass @@ -74,6 +74,7 @@ $_theme: () !default &:target position: fixed + z-index: 1 top: 0 bottom: 0 left: 0 From f04be0d3f915a8adf838dfd9aa8d6ea784b9a5c3 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Mon, 14 Mar 2022 21:54:42 +1300 Subject: [PATCH 3/3] Add video durations to can't think page Because why would I care when I instinctively click anyway? --- pug/cant-think.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pug/cant-think.pug b/pug/cant-think.pug index 2f88367..05b876c 100644 --- a/pug/cant-think.pug +++ b/pug/cant-think.pug @@ -75,5 +75,5 @@ block content p.the-end Well, looks like you reached the end of the content.#[br]You know what happens now. h3 Recommended videos - +video_list_item("related-video", {videoId: "jKKCF_Bqtw4", title: "dopamine review", author: "Jreg", authorId: "UCGSGPehp0RWfca-kENgBJ9Q", viewCountText: "84,651 views"}) - +video_list_item("related-video", {videoId: "gLYWLobR248", title: "I Watch My YouTube Videos At 2x Speed", author: "Jreg", authorId: "UCGSGPehp0RWfca-kENgBJ9Q", viewCountText: "125,625 views"}) + +video_list_item("related-video", {videoId: "jKKCF_Bqtw4", title: "dopamine review", author: "Jreg", authorId: "UCGSGPehp0RWfca-kENgBJ9Q", viewCountText: "84,651 views", second__lengthText: "3:10"}) + +video_list_item("related-video", {videoId: "gLYWLobR248", title: "I Watch My YouTube Videos At 2x Speed", author: "Jreg", authorId: "UCGSGPehp0RWfca-kENgBJ9Q", viewCountText: "125,625 views", second__lengthText: "2:24"})