feat: remove glow
This commit is contained in:
parent
3232f14bf7
commit
7fdc5c7069
@ -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"
|
||||
|
@ -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 <></>;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user