chore: make banner bigger

fix: logged out chat
This commit is contained in:
kieran 2024-05-29 10:31:41 +01:00
parent b4ec25eeb4
commit 160d9261fe
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941
2 changed files with 5 additions and 4 deletions

View File

@ -147,7 +147,7 @@ export function LiveChat({
if (!e.pubkey) return true; // injected content
const author = NostrLink.publicKey(e.pubkey);
return (
!(login?.state?.muted.some(a => a.equals(author)) ?? true) && !hostMutedPubkeys.some(a => a.equals(author))
!(login?.state?.muted.some(a => a.equals(author)) ?? false) && !hostMutedPubkeys.some(a => a.equals(author))
);
});
}, [events, login?.state?.version, hostMutedPubkeys]);

View File

@ -9,15 +9,16 @@ import useImgProxy from "@/hooks/img-proxy";
export function RootPage() {
const streams = useStreamsFeed();
const { proxy } = useImgProxy();
const shirtSize = 120;
return (
<div className="flex flex-col gap-6 p-4">
<div className="flex max-md:flex-col gap-2 items-center bg-layer-2 p-4 text-lg font-medium text-pretty">
<img
width={40}
width={shirtSize}
className="rounded-xl"
src={proxy(
"https://blossom.nogood.studio/f98bc742ba24b2c729420148d736c3c0f58e6551d7dc0e4bd263d78bf2ab58b8.png",
40,
shirtSize,
"f98bc742ba24b2c729420148d736c3c0f58e6551d7dc0e4bd263d78bf2ab58b8",
)}
/>