From bde2231a909e955804f44ff92423e610f02b9f5c Mon Sep 17 00:00:00 2001 From: qtchaos <72168435+qtchaos@users.noreply.github.com> Date: Wed, 13 Mar 2024 23:20:17 +0200 Subject: [PATCH 01/14] fix: set touch-action to none --- src/components/player/atoms/Volume.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/player/atoms/Volume.tsx b/src/components/player/atoms/Volume.tsx index b2ea4cf4..6f97a14f 100644 --- a/src/components/player/atoms/Volume.tsx +++ b/src/components/player/atoms/Volume.tsx @@ -63,7 +63,7 @@ export function Volume(props: Props) { onMouseEnter={handleMouseEnter} onWheel={handleWheel} > -
+
0 ? Icons.VOLUME : Icons.VOLUME_X} />
From 4155c4b6108c26cf581ab0abb1cd265f7f0e6463 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Thu, 21 Mar 2024 19:01:52 -0400 Subject: [PATCH 02/14] Remove shitty auto next episode --- .../player/atoms/NextEpisodeButton.tsx | 55 +++++-------------- 1 file changed, 15 insertions(+), 40 deletions(-) diff --git a/src/components/player/atoms/NextEpisodeButton.tsx b/src/components/player/atoms/NextEpisodeButton.tsx index ce608750..3d760900 100644 --- a/src/components/player/atoms/NextEpisodeButton.tsx +++ b/src/components/player/atoms/NextEpisodeButton.tsx @@ -1,5 +1,5 @@ import classNames from "classnames"; -import React, { useCallback, useEffect, useState } from "react"; +import React, { useCallback } from "react"; import { useTranslation } from "react-i18next"; import { Icon, Icons } from "@/components/Icon"; @@ -54,30 +54,12 @@ export function NextEpisodeButton(props: { const setShouldStartFromBeginning = usePlayerStore( (s) => s.setShouldStartFromBeginning, ); - const [countdown, setCountdown] = useState(15); let show = false; if (showingState === "always") show = true; else if (showingState === "hover" && props.controlsShowing) show = true; if (isHidden || status !== "playing" || duration === 0) show = false; - useEffect(() => { - // Initialize intervalId with 0, which is a safe value to clear if not reassigned. - let intervalId: number = 0; - if (show && countdown > 0) { - intervalId = window.setInterval(() => { - setCountdown((currentCountdown) => currentCountdown - 1); - }, 1000); - } else { - window.clearInterval(intervalId); // No need for casting here. - if (!show) { - setCountdown(15); // Reset countdown when not showing. - } - } - // Cleanup function to clear the interval when the component unmounts or the dependencies change. - return () => window.clearInterval(intervalId); - }, [show, countdown]); - const animation = showingState === "hover" ? "slide-up" : "fade"; let bottom = "bottom-[calc(6rem+env(safe-area-inset-bottom))]"; if (showingState === "always") @@ -117,30 +99,23 @@ export function NextEpisodeButton(props: { >
- {countdown > 0 && show && ( -
- {t("player.nextEpisode.nextIn", { seconds: countdown })} -
- )} -
- - -
+ +
); From b2e1cc5aab2dbe59ca8c61939e357730f4360fc9 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Thu, 21 Mar 2024 20:08:46 -0400 Subject: [PATCH 03/14] Change next episode button to be more universal --- src/components/player/atoms/NextEpisodeButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/player/atoms/NextEpisodeButton.tsx b/src/components/player/atoms/NextEpisodeButton.tsx index 3d760900..b5f6548a 100644 --- a/src/components/player/atoms/NextEpisodeButton.tsx +++ b/src/components/player/atoms/NextEpisodeButton.tsx @@ -15,7 +15,7 @@ function shouldShowNextEpisodeButton( const percentage = time / duration; const secondsFromEnd = duration - time; if (secondsFromEnd <= 30) return "always"; - if (percentage >= 0.93) return "hover"; + if (percentage >= 0.94) return "hover"; return "none"; } From 39bcf8c270422027f0c3ed6d074fa0419b74bc42 Mon Sep 17 00:00:00 2001 From: qtchaos <72168435+qtchaos@users.noreply.github.com> Date: Fri, 22 Mar 2024 17:42:18 +0200 Subject: [PATCH 04/14] fix: add overflow-y-hidden for mac users --- src/components/player/atoms/Volume.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/player/atoms/Volume.tsx b/src/components/player/atoms/Volume.tsx index 6f97a14f..62662de1 100644 --- a/src/components/player/atoms/Volume.tsx +++ b/src/components/player/atoms/Volume.tsx @@ -41,8 +41,13 @@ export function Volume(props: Props) { const handleMouseEnter = useCallback(async () => { if (await canChangeVolume()) setHovering(true); + document.body.classList.add("overflow-y-hidden"); }, [setHovering]); + const handleMouseLeave = () => { + document.body.classList.remove("overflow-y-hidden"); + }; + let percentage = makePercentage(volume * 100); if (dragging) percentage = makePercentage(dragPercentage); const percentageString = makePercentageString(percentage); @@ -61,6 +66,7 @@ export function Volume(props: Props) {
From 15e11d30aad700307260b8efd571bb1c13a908e6 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Fri, 22 Mar 2024 13:31:25 -0400 Subject: [PATCH 05/14] Add custom @sudo-flix email --- README.md | 2 +- public/config.js | 2 +- src/assets/locales/en.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a93c9435..8438c3e0 100644 --- a/README.md +++ b/README.md @@ -72,4 +72,4 @@ git push # Push to YOUR repository ## Contact Me **Discord:** *.baddeveloper* -**Email:** *[sudo-flix@proton.me](mailto:sudo-flix@proton.me)* +**Email:** *[dev@sudo-flix.lol](mailto:dev@sudo-flix.lol)* diff --git a/public/config.js b/public/config.js index 7eb8a8bc..1f4dbfa6 100644 --- a/public/config.js +++ b/public/config.js @@ -1,7 +1,7 @@ window.CONFIG = { VITE_BACKEND_URL: "https://backend.sudo-flix.lol/", VITE_CORS_PROXY_URL: "https://sudo-proxy1.sudo-flix.lol%2Chttps//sudo-proxy2.sudo-flix.lol,https://sudo-proxy3.sudo-flix.lol,https://sudo-proxy4.sudo-flix.lol,https://sudo-proxy5.sudo-flix.lol", - VITE_DMCA_EMAIL: "sudo-flix@proton.me", + VITE_DMCA_EMAIL: "dev@sudo-flix.lol", VITE_GA_ID: "G-3VB2TNCW2V", VITE_NORMAL_ROUTER: true, VITE_TMDB_READ_API_KEY: "eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJhZTljNGE2ZDE1ZDFiODZiNzdlMWQyYmI5ZGY0MzdmYyIsInN1YiI6IjY1YjNmMWI0NTk0Yzk0MDE2MzNkZDBjNSIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.kAX7TkbKuJkNty6IsjcCLnoENFicVZn6d6DkLQsy3p8", diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json index a9db3c83..df636e26 100644 --- a/src/assets/locales/en.json +++ b/src/assets/locales/en.json @@ -453,7 +453,7 @@ }, "screens": { "dmca": { - "text": "Welcome to sudo-flix's DMCA contact page. If you believe your copyrighted work has been improperly used on our platform (😢), please send a detailed DMCA notice to: sudo-flix@proton.me below. Please include a description of the copyrighted material, your contact details, and a statement of good faith belief. We're committed to resolving these matters promptly and appreciate your cooperation.", + "text": "Welcome to sudo-flix's DMCA contact page. If you believe your copyrighted work has been improperly used on our platform (😢), please send a detailed DMCA notice to: dev@sudo-flix.lol below. Please include a description of the copyrighted material, your contact details, and a statement of good faith belief. We're committed to resolving these matters promptly and appreciate your cooperation.", "title": "DMCA :(" }, "loadingApp": "Loading application", From debd422109a2cd5543b58105074ca10f590530d3 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Fri, 22 Mar 2024 20:53:56 -0400 Subject: [PATCH 06/14] Delete config'js --- public/config.js | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 public/config.js diff --git a/public/config.js b/public/config.js deleted file mode 100644 index 1f4dbfa6..00000000 --- a/public/config.js +++ /dev/null @@ -1,8 +0,0 @@ -window.CONFIG = { - VITE_BACKEND_URL: "https://backend.sudo-flix.lol/", - VITE_CORS_PROXY_URL: "https://sudo-proxy1.sudo-flix.lol%2Chttps//sudo-proxy2.sudo-flix.lol,https://sudo-proxy3.sudo-flix.lol,https://sudo-proxy4.sudo-flix.lol,https://sudo-proxy5.sudo-flix.lol", - VITE_DMCA_EMAIL: "dev@sudo-flix.lol", - VITE_GA_ID: "G-3VB2TNCW2V", - VITE_NORMAL_ROUTER: true, - VITE_TMDB_READ_API_KEY: "eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJhZTljNGE2ZDE1ZDFiODZiNzdlMWQyYmI5ZGY0MzdmYyIsInN1YiI6IjY1YjNmMWI0NTk0Yzk0MDE2MzNkZDBjNSIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.kAX7TkbKuJkNty6IsjcCLnoENFicVZn6d6DkLQsy3p8", -}; From ac0cb22e3869c3e21f29c505f8b241567a3023ea Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Fri, 22 Mar 2024 21:51:54 -0400 Subject: [PATCH 07/14] Add og:image for embeds --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 94452660..2fc088df 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,8 @@ + + @@ -173,4 +175,4 @@ - \ No newline at end of file + From f942e6cf6b628fc597cfa9ee4c028555d11edb29 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Fri, 22 Mar 2024 22:02:59 -0400 Subject: [PATCH 08/14] Decrease fishie particles --- src/components/utils/Lightbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/utils/Lightbar.tsx b/src/components/utils/Lightbar.tsx index 5442a2c8..75c7f11d 100644 --- a/src/components/utils/Lightbar.tsx +++ b/src/components/utils/Lightbar.tsx @@ -202,7 +202,7 @@ function ParticlesCanvas() { sizeRange: [48, 56] as [number, number], }, ]; - imageParticleCount = particleCount * 0.085; + imageParticleCount = particleCount * 0.075; } // Weed easter egg From 090eac05394efbdb99bc7d9c7027de0f6acdc0ce Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Fri, 22 Mar 2024 22:21:17 -0400 Subject: [PATCH 09/14] Remove cancerous lightbar random code --- src/components/utils/Lightbar.tsx | 395 ++++++++++++++---------------- 1 file changed, 184 insertions(+), 211 deletions(-) diff --git a/src/components/utils/Lightbar.tsx b/src/components/utils/Lightbar.tsx index 75c7f11d..0e46b64d 100644 --- a/src/components/utils/Lightbar.tsx +++ b/src/components/utils/Lightbar.tsx @@ -145,234 +145,207 @@ function ParticlesCanvas() { // Basic particle config const particleCount = 265; - let imageParticleCount = particleCount; - // Holiday overrides let imageOverride: { image: string; sizeRange?: [number, number] }[] = []; const date = new Date(); const month = date.getMonth(); const day = date.getDate(); - if ( - (month === 11 && day >= 24 && day <= 26) || - Math.random() < 0.051 // 5.1% - ) { - imageOverride = [ - { - image: "/lightbar-images/snowflake.svg", - sizeRange: [12, 20] as [number, number], - }, - { - image: "/lightbar-images/santa.png", - sizeRange: [25, 35] as [number, number], - }, - ]; - imageParticleCount = particleCount * 0.1; - } + let imageParticleCount = particleCount; - // Halloween overrides - const month2 = date.getMonth(); - const day2 = date.getDate(); - if ( - (month2 === 9 && day2 >= 29 && day2 <= 31) || - Math.random() < 0.05 // 5% - ) { - imageOverride = [ - { - image: "/lightbar-images/ghost.png", - sizeRange: [20, 33] as [number, number], - }, - { - image: "/lightbar-images/pumpkin.png", - sizeRange: [25, 35] as [number, number], - }, - ]; - imageParticleCount = particleCount * 0.0879; - } + switch (true) { + case (month === 11 && day >= 24 && day <= 26) || Math.random() < 0.051: + imageOverride = [ + { + image: "/lightbar-images/snowflake.svg", + sizeRange: [12, 20] as [number, number], + }, + { + image: "/lightbar-images/santa.png", + sizeRange: [25, 35] as [number, number], + }, + ]; + imageParticleCount = particleCount * 0.1; + break; - // Fish easter egg - const shouldShowFishie = Math.random() < 0.1; // 10% - if (shouldShowFishie) { - imageOverride = [ - { - image: "/lightbar-images/fishie.png", - sizeRange: [10, 13] as [number, number], - }, - { - image: "/lightbar-images/shark.png", - sizeRange: [48, 56] as [number, number], - }, - ]; - imageParticleCount = particleCount * 0.075; - } + case (month === 9 && day >= 29 && day <= 31) || Math.random() < 0.05: + imageOverride = [ + { + image: "/lightbar-images/ghost.png", + sizeRange: [20, 33] as [number, number], + }, + { + image: "/lightbar-images/pumpkin.png", + sizeRange: [25, 35] as [number, number], + }, + ]; + imageParticleCount = particleCount * 0.0879; + break; - // Weed easter egg - const month3 = date.getMonth() + 1; - const day3 = date.getDate(); - const shouldShowZa = (month3 === 4 && day3 === 20) || Math.random() < 0.25; // 25% - if (shouldShowZa) { - imageOverride = [ - { - image: "/lightbar-images/weed.png", - sizeRange: [32, 40] as [number, number], - }, - ]; - imageParticleCount = particleCount / 6.25; - } + case Math.random() < 0.1: + imageOverride = [ + { + image: "/lightbar-images/fishie.png", + sizeRange: [10, 13] as [number, number], + }, + { + image: "/lightbar-images/shark.png", + sizeRange: [48, 56] as [number, number], + }, + ]; + imageParticleCount = particleCount * 0.075; + break; - // Kitty easter egg - const shouldShowCat = Math.random() < 0.2; // 20% - if (shouldShowCat) { - imageOverride = [ - { - image: "/lightbar-images/cat.png", - sizeRange: [30, 38] as [number, number], - }, - ]; - imageParticleCount = particleCount / 6.6; - } + case (month === 4 && day === 20) || Math.random() < 0.25: + imageOverride = [ + { + image: "/lightbar-images/weed.png", + sizeRange: [32, 40] as [number, number], + }, + ]; + imageParticleCount = particleCount / 6.25; + break; - // Movie & popcorn easter egg - const shouldShowParaphernalia = Math.random() < 0.3; // 30% - if (shouldShowParaphernalia) { - imageOverride = [ - { - image: "/lightbar-images/camera.png", - sizeRange: [24, 32] as [number, number], - }, - { - image: "/lightbar-images/popcorn.png", - sizeRange: [18, 27] as [number, number], - }, - ]; - imageParticleCount = particleCount / 7.85; - } + case Math.random() < 0.2: + imageOverride = [ + { + image: "/lightbar-images/cat.png", + sizeRange: [30, 38] as [number, number], + }, + ]; + imageParticleCount = particleCount / 6.6; + break; - // Chicken easter egg - const shouldShow4thDecor = Math.random() < 0.08; // 8% - if (shouldShow4thDecor) { - imageOverride = [ - { - image: "/lightbar-images/cock.png", - sizeRange: [25, 32] as [number, number], - }, - { - image: "/lightbar-images/egg.png", - sizeRange: [18, 24] as [number, number], - }, - { - image: "/lightbar-images/barn.png", - sizeRange: [32, 38] as [number, number], - }, - ]; - imageParticleCount = particleCount / 9; - } + case Math.random() < 0.3: + imageOverride = [ + { + image: "/lightbar-images/camera.png", + sizeRange: [24, 32] as [number, number], + }, + { + image: "/lightbar-images/popcorn.png", + sizeRange: [18, 27] as [number, number], + }, + ]; + imageParticleCount = particleCount / 7.85; + break; - // Money easter egg - const shouldShowMoney = Math.random() < 0.06; // 6% - if (shouldShowMoney) { - imageOverride = [ - { - image: "/lightbar-images/money-sack.png", - sizeRange: [24, 32] as [number, number], - }, - { - image: "/lightbar-images/money.png", - sizeRange: [13, 23] as [number, number], - }, - { - image: "/lightbar-images/coin.png", - sizeRange: [8, 20] as [number, number], - }, - ]; - imageParticleCount = particleCount / 8.45; - } + case Math.random() < 0.08: + imageOverride = [ + { + image: "/lightbar-images/cock.png", + sizeRange: [25, 32] as [number, number], + }, + { + image: "/lightbar-images/egg.png", + sizeRange: [18, 24] as [number, number], + }, + { + image: "/lightbar-images/barn.png", + sizeRange: [32, 38] as [number, number], + }, + ]; + imageParticleCount = particleCount / 9; + break; - // Pirate easter egg - const shouldShowPirate = Math.random() < 0.075; // 7.5% - if (shouldShowPirate) { - imageOverride = [ - { - image: "/lightbar-images/skull.png", - sizeRange: [20, 28] as [number, number], - }, - { - image: "/lightbar-images/ship.png", - sizeRange: [23, 27] as [number, number], - }, - ]; - imageParticleCount = particleCount / 10; - } + case Math.random() < 0.06: + imageOverride = [ + { + image: "/lightbar-images/money-sack.png", + sizeRange: [24, 32] as [number, number], + }, + { + image: "/lightbar-images/money.png", + sizeRange: [13, 23] as [number, number], + }, + { + image: "/lightbar-images/coin.png", + sizeRange: [8, 20] as [number, number], + }, + ]; + imageParticleCount = particleCount / 8.45; + break; - // Dev easter egg - const shouldShowCode = Math.random() < 0.03; // 3% - if (shouldShowCode) { - imageOverride = [ - { - image: "/lightbar-images/ts.png", - sizeRange: [20, 32] as [number, number], - }, - { - image: "/lightbar-images/git.png", - sizeRange: [20, 28] as [number, number], - }, - ]; - imageParticleCount = particleCount / 9; - } + case Math.random() < 0.075: + imageOverride = [ + { + image: "/lightbar-images/skull.png", + sizeRange: [20, 28] as [number, number], + }, + { + image: "/lightbar-images/ship.png", + sizeRange: [23, 27] as [number, number], + }, + ]; + imageParticleCount = particleCount / 10; + break; - // DUI easter egg - const shouldShowFlix = Math.random() < 0.08; // 8% - if (shouldShowFlix) { - imageOverride = [ - { - image: "/lightbar-images/beer.png", - sizeRange: [15, 35] as [number, number], - }, - { - image: "/lightbar-images/beer-bottle.png", - sizeRange: [10, 38] as [number, number], - }, - { - image: "/lightbar-images/wine.png", - sizeRange: [15, 35] as [number, number], - }, - { - image: "/lightbar-images/cigarette.png", - sizeRange: [10, 38] as [number, number], - }, - { - image: "/lightbar-images/cigarette2.png", - sizeRange: [15, 35] as [number, number], - }, - ]; - imageParticleCount = particleCount / 11; - } + case Math.random() < 0.03: + imageOverride = [ + { + image: "/lightbar-images/ts.png", + sizeRange: [20, 32] as [number, number], + }, + { + image: "/lightbar-images/git.png", + sizeRange: [20, 28] as [number, number], + }, + ]; + imageParticleCount = particleCount / 9; + break; - // Gangster easter egg - const shouldShowCowboy = Math.random() < 0.05; // 5% - if (shouldShowCowboy) { - imageOverride = [ - { - image: "/lightbar-images/auto-gun.png", - sizeRange: [28, 36] as [number, number], - }, - { - image: "/lightbar-images/gun.png", - sizeRange: [23, 30] as [number, number], - }, - ]; - imageParticleCount = particleCount / 11.6; - } + case Math.random() < 0.7: + imageOverride = [ + { + image: "/lightbar-images/beer.png", + sizeRange: [15, 35] as [number, number], + }, + { + image: "/lightbar-images/beer-bottle.png", + sizeRange: [10, 38] as [number, number], + }, + { + image: "/lightbar-images/wine.png", + sizeRange: [15, 35] as [number, number], + }, + { + image: "/lightbar-images/cigarette.png", + sizeRange: [10, 38] as [number, number], + }, + { + image: "/lightbar-images/cigarette2.png", + sizeRange: [15, 35] as [number, number], + }, + ]; + imageParticleCount = particleCount / 11; + break; - // Star easter egg - const shouldShowStars = Math.random() < 0.15; // 15% - if (shouldShowStars) { - imageOverride = [ - { - image: "/lightbar-images/star.png", - sizeRange: [18, 28] as [number, number], - }, - ]; - imageParticleCount = particleCount / 6.6; + case Math.random() < 0.05: + imageOverride = [ + { + image: "/lightbar-images/auto-gun.png", + sizeRange: [28, 36] as [number, number], + }, + { + image: "/lightbar-images/gun.png", + sizeRange: [23, 30] as [number, number], + }, + ]; + imageParticleCount = particleCount / 11.6; + break; + + case Math.random() < 0.15: + imageOverride = [ + { + image: "/lightbar-images/star.png", + sizeRange: [18, 28] as [number, number], + }, + ]; + imageParticleCount = particleCount / 6.6; + break; + + default: + // Default case + break; } // HOIST THE SAIL (of particles)! From dc2f77f015a321ad5f044c4a309f839187fa7f2b Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Fri, 22 Mar 2024 22:58:09 -0400 Subject: [PATCH 10/14] Polish DMCA email to white --- src/pages/Dmca.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/pages/Dmca.tsx b/src/pages/Dmca.tsx index 5fb276a1..203e06c1 100644 --- a/src/pages/Dmca.tsx +++ b/src/pages/Dmca.tsx @@ -26,7 +26,7 @@ export function DmcaPage() { , + bold: , }} /> @@ -34,10 +34,7 @@ export function DmcaPage() { setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} > From 5d721adb91720a884c253befd4213e3e257e6b90 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Fri, 22 Mar 2024 23:03:29 -0400 Subject: [PATCH 11/14] Fix hover text color --- src/pages/Dmca.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/Dmca.tsx b/src/pages/Dmca.tsx index 203e06c1..b96a2ce5 100644 --- a/src/pages/Dmca.tsx +++ b/src/pages/Dmca.tsx @@ -34,7 +34,10 @@ export function DmcaPage() { setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} > From 478b24e62797615a1048ac0538934c311cdce596 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Fri, 22 Mar 2024 23:14:51 -0400 Subject: [PATCH 12/14] Tweak shouldShowNextEpisodeButton percentage --- src/components/player/atoms/NextEpisodeButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/player/atoms/NextEpisodeButton.tsx b/src/components/player/atoms/NextEpisodeButton.tsx index b5f6548a..3d760900 100644 --- a/src/components/player/atoms/NextEpisodeButton.tsx +++ b/src/components/player/atoms/NextEpisodeButton.tsx @@ -15,7 +15,7 @@ function shouldShowNextEpisodeButton( const percentage = time / duration; const secondsFromEnd = duration - time; if (secondsFromEnd <= 30) return "always"; - if (percentage >= 0.94) return "hover"; + if (percentage >= 0.93) return "hover"; return "none"; } From 12dd3a38b1c706ff49176207e94160281de56493 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Fri, 22 Mar 2024 23:17:42 -0400 Subject: [PATCH 13/14] Comment out google analytics --- index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.html b/index.html index 2fc088df..12b06ed6 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ + From 626805dfabf6b030ef00f78a6679ce9200e1f0ef Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Fri, 22 Mar 2024 23:22:27 -0400 Subject: [PATCH 14/14] NVM BAD IDEA LOL --- index.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.html b/index.html index 12b06ed6..2fc088df 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,6 @@ -