chore: make banner bigger
fix: logged out chat
This commit is contained in:
@ -147,7 +147,7 @@ export function LiveChat({
|
|||||||
if (!e.pubkey) return true; // injected content
|
if (!e.pubkey) return true; // injected content
|
||||||
const author = NostrLink.publicKey(e.pubkey);
|
const author = NostrLink.publicKey(e.pubkey);
|
||||||
return (
|
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]);
|
}, [events, login?.state?.version, hostMutedPubkeys]);
|
||||||
|
@ -9,15 +9,16 @@ import useImgProxy from "@/hooks/img-proxy";
|
|||||||
export function RootPage() {
|
export function RootPage() {
|
||||||
const streams = useStreamsFeed();
|
const streams = useStreamsFeed();
|
||||||
const { proxy } = useImgProxy();
|
const { proxy } = useImgProxy();
|
||||||
|
const shirtSize = 120;
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col gap-6 p-4">
|
<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">
|
<div className="flex max-md:flex-col gap-2 items-center bg-layer-2 p-4 text-lg font-medium text-pretty">
|
||||||
<img
|
<img
|
||||||
width={40}
|
width={shirtSize}
|
||||||
|
className="rounded-xl"
|
||||||
src={proxy(
|
src={proxy(
|
||||||
"https://blossom.nogood.studio/f98bc742ba24b2c729420148d736c3c0f58e6551d7dc0e4bd263d78bf2ab58b8.png",
|
"https://blossom.nogood.studio/f98bc742ba24b2c729420148d736c3c0f58e6551d7dc0e4bd263d78bf2ab58b8.png",
|
||||||
40,
|
shirtSize,
|
||||||
"f98bc742ba24b2c729420148d736c3c0f58e6551d7dc0e4bd263d78bf2ab58b8",
|
"f98bc742ba24b2c729420148d736c3c0f58e6551d7dc0e4bd263d78bf2ab58b8",
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user