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
w-[37vw] h-[37vw]"
>
{!image?.includes("placeholder.svg") &&
{!image?.includes("placeholder.svg") && false &&
(
<img
class="absolute opacity-30 top-0 left-0 object-cover w-full h-full -z-10"

View File

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