1
0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2024-11-21 23:27:30 +00:00

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?
This commit is contained in:
Cadence Ember 2022-03-14 21:32:34 +13:00
parent 893684c311
commit 1333b990f6
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17
2 changed files with 13 additions and 0 deletions

View File

@ -18,6 +18,7 @@ mixin leave(index, prefix="No more?", final)
a(href="/search?q=cats+being+cute") [BLISS] a(href="/search?q=cats+being+cute") [BLISS]
block content block content
include includes/video-list-item
main.cant-think-page main.cant-think-page
- let src = constants.server_setup.cant_think_narration_url - let src = constants.server_setup.cant_think_narration_url
if src if src
@ -71,3 +72,8 @@ block content
p You know what you must do. p You know what you must do.
p.ultimatum: a(href="#i-understand").border-look I know what I must do. p.ultimatum: a(href="#i-understand").border-look I know what I must do.
a#i-understand 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"})

View File

@ -11,6 +11,7 @@ $_theme: () !default
text-align: left text-align: left
max-width: 572px max-width: 572px
padding-top: 40px padding-top: 40px
margin-bottom: 12vh
border-radius: 0px 0px 16px 16px border-radius: 0px 0px 16px 16px
box-sizing: border-box box-sizing: border-box
@ -56,6 +57,12 @@ $_theme: () !default
.ultimatum .ultimatum
margin-top: 32px !important margin-top: 32px !important
.the-end
margin: 120px 0px 1em !important
.thumbnail__more
display: none
#i-understand #i-understand
display: flex display: flex
height: 20px height: 20px