fix turnstile look

This commit is contained in:
Cooper Ransom 2024-03-07 11:33:07 -05:00
parent 183f2f5efa
commit d5357d7549
4 changed files with 10 additions and 6 deletions

View File

@ -14,7 +14,7 @@ window.__CONFIG__ = {
// The backend URL to communicate with, defaults to the movie-web hosted one at backend.movie-web.app // The backend URL to communicate with, defaults to the movie-web hosted one at backend.movie-web.app
VITE_BACKEND_URL: "https://sudo-flix-backend.lol", // "https://mw-backend.lonelil.com", VITE_BACKEND_URL: "https://sudo-flix-backend.lol", // "https://mw-backend.lonelil.com",
VITE_TURNSTILE_KEY: "0x4AAAAAAATd-oefbvXlJvmj", VITE_TURNSTILE_KEY: "0x4AAAAAAATd-oefbvXlJvmj", // "3x00000000000000000000FF",
// A comma separated list of disallowed IDs in the case of a DMCA claim - in the format "series-<id>" and "movie-<id>" // A comma separated list of disallowed IDs in the case of a DMCA claim - in the format "series-<id>" and "movie-<id>"
VITE_DISALLOWED_IDS: "", VITE_DISALLOWED_IDS: "",

View File

@ -428,7 +428,7 @@
"turnstile": { "turnstile": {
"description": "Please prove your humanity by completing the Captcha on the right. This is to keep sudo-flix.lol safe!", "description": "Please prove your humanity by completing the Captcha on the right. This is to keep sudo-flix.lol safe!",
"error": "Failed to verify your humanity! Please try again.", "error": "Failed to verify your humanity! Please try again.",
"title": "We need to verify you're not a robot 🤖", "title": "Are You a Robot 🤖?",
"verifyingHumanity": "Verifying your humanity... (^▽^)👍" "verifyingHumanity": "Verifying your humanity... (^▽^)👍"
} }
}, },

View File

@ -25,16 +25,19 @@ function TurnstileInteractive() {
return ( return (
<div <div
className={classNames( className={classNames(
"absolute w-10/12 max-w-[800px] bg-background-main p-20 rounded-lg select-none z-50 top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform", "absolute w-10/12 max-w-[800px] max-h-[375px] p-20 rounded-lg select-none z-50 top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform",
show ? "" : "hidden", show ? "" : "hidden",
"bg-[#1b1b1b]",
)} )}
> >
<div className="w-full grid lg:grid-cols-[1fr,auto] gap-12 items-center"> <div className="w-full grid lg:grid-cols-[1fr,auto] gap-8 items-center">
<div className="text-left"> <div className="text-left">
<h2 className="text-type-emphasis font-bold text-xl mb-6"> <h2 className="text-type-emphasis font-bold text-xl mb-6">
{t("player.turnstile.title")} {t("player.turnstile.title")}
</h2> </h2>
<p>{t("player.turnstile.description")}</p> <p className="text-type-emphasis mb-6">
{t("player.turnstile.description")}
</p>
</div> </div>
<TurnstileProvider <TurnstileProvider
isInPopout isInPopout

View File

@ -151,7 +151,7 @@ export function ScrapingPart(props: ScrapingProps) {
</div> </div>
); );
})} })}
{/* IDK to keep this or remove it */} {/* IDK to keep this or remove it
<div className="flex gap-3"> <div className="flex gap-3">
<Button <Button
href="/" href="/"
@ -170,6 +170,7 @@ export function ScrapingPart(props: ScrapingProps) {
{t("notFound.reloadButton")} {t("notFound.reloadButton")}
</Button> </Button>
</div> </div>
*/}
</div> </div>
</div> </div>
); );