import { component$ } from "@builder.io/qwik"; import { useNanostore$ } from "~/hooks/nanostores"; import { isSettingsOpen, userInfo } from "~/lib/stores"; import { StereoUser } from "~/lib/types"; export default component$(() => { const info = useNanostore$(userInfo); const open = useNanostore$(isSettingsOpen); if (open.value) return (
open.value = false} class="z-[50] absolute flex w-full h-screen items-center justify-center backdrop-blur-3xl bg-black/50 text-white text-6xl">
e.stopPropagation()} class="flex gap-8 bg-black/50 p-8 rounded-3xl shadow-lg w-4/7 h-4/7">

settings

content

); else return ( <> ); })