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
|
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"
|
||||||
|
@ -13,17 +13,17 @@ 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 (
|
e.key === "?" &&
|
||||||
e.key === "?" &&
|
window.location.search === ""
|
||||||
window.location.search === ""
|
) {
|
||||||
) {
|
window.location.href += "?q=";
|
||||||
window.location.href += "?q=";
|
}
|
||||||
}
|
}, IS_BROWSER ? document?.body : undefined);
|
||||||
}, IS_BROWSER ? document?.body : undefined);
|
}
|
||||||
|
|
||||||
return <></>;
|
return <></>;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user