feat: remove glow

This commit is contained in:
max_richter 2023-08-10 10:42:38 +02:00
parent 3232f14bf7
commit 7fdc5c7069
2 changed files with 12 additions and 12 deletions

View File

@ -30,7 +30,7 @@ export function Card(
sm:w-48 sm:h-48 sm:w-48 sm:h-48
w-[37vw] h-[37vw]" w-[37vw] h-[37vw]"
> >
{!image?.includes("placeholder.svg") && {!image?.includes("placeholder.svg") && false &&
( (
<img <img
class="absolute opacity-30 top-0 left-0 object-cover w-full h-full -z-10" class="absolute opacity-30 top-0 left-0 object-cover w-full h-full -z-10"

View File

@ -13,8 +13,7 @@ import Image from "@components/Image.tsx";
import { Emoji } from "@components/Emoji.tsx"; import { Emoji } from "@components/Emoji.tsx";
export const RedirectSearchHandler = () => { export const RedirectSearchHandler = () => {
if (!getCookie("session_cookie")) return; if (getCookie("session_cookie")) {
useEventListener("keydown", (e: KeyboardEvent) => { useEventListener("keydown", (e: KeyboardEvent) => {
if (e?.target?.nodeName == "INPUT") return; if (e?.target?.nodeName == "INPUT") return;
if ( if (
@ -24,6 +23,7 @@ export const RedirectSearchHandler = () => {
window.location.href += "?q="; window.location.href += "?q=";
} }
}, IS_BROWSER ? document?.body : undefined); }, IS_BROWSER ? document?.body : undefined);
}
return <></>; return <></>;
}; };