This commit is contained in:
parent
b6197f533f
commit
ca472a5756
@ -8,7 +8,7 @@ type ProxyImgProps = HTMLProps<HTMLImageElement> & {
|
|||||||
className?: string;
|
className?: string;
|
||||||
promptToLoadDirectly?: boolean;
|
promptToLoadDirectly?: boolean;
|
||||||
missingImageElement?: ReactNode;
|
missingImageElement?: ReactNode;
|
||||||
}
|
};
|
||||||
|
|
||||||
export const ProxyImg = ({ size, className, promptToLoadDirectly, missingImageElement, ...props }: ProxyImgProps) => {
|
export const ProxyImg = ({ size, className, promptToLoadDirectly, missingImageElement, ...props }: ProxyImgProps) => {
|
||||||
const { proxy } = useImgProxy();
|
const { proxy } = useImgProxy();
|
||||||
|
@ -38,7 +38,11 @@ const Avatar = ({ pubkey, user, size, onClick, image, imageOverlay, icons, class
|
|||||||
<div
|
<div
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
style={style}
|
style={style}
|
||||||
className={classNames("avatar relative flex items-center justify-center", { "with-overlay": imageOverlay }, className)}
|
className={classNames(
|
||||||
|
"avatar relative flex items-center justify-center",
|
||||||
|
{ "with-overlay": imageOverlay },
|
||||||
|
className,
|
||||||
|
)}
|
||||||
data-domain={domain?.toLowerCase()}
|
data-domain={domain?.toLowerCase()}
|
||||||
title={getDisplayName(user, "")}>
|
title={getDisplayName(user, "")}>
|
||||||
<ProxyImg
|
<ProxyImg
|
||||||
|
@ -118,12 +118,16 @@ const DonatePage = () => {
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
defaultMessage="To see a full list of changes you can view the changelog {here}" id="VfhYxG"
|
defaultMessage="To see a full list of changes you can view the changelog {here}"
|
||||||
|
id="VfhYxG"
|
||||||
values={{
|
values={{
|
||||||
here: <Link to="/about" className="underline">
|
here: (
|
||||||
<FormattedMessage defaultMessage="here" id="hniz8Z" />
|
<Link to="/about" className="underline">
|
||||||
</Link>
|
<FormattedMessage defaultMessage="here" id="hniz8Z" />
|
||||||
}} />
|
</Link>
|
||||||
|
),
|
||||||
|
}}
|
||||||
|
/>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
|
@ -861,6 +861,9 @@
|
|||||||
"VcwrfF": {
|
"VcwrfF": {
|
||||||
"defaultMessage": "Yes please"
|
"defaultMessage": "Yes please"
|
||||||
},
|
},
|
||||||
|
"VfhYxG": {
|
||||||
|
"defaultMessage": "To see a full list of changes you can view the changelog {here}"
|
||||||
|
},
|
||||||
"VlJkSk": {
|
"VlJkSk": {
|
||||||
"defaultMessage": "{n} muted"
|
"defaultMessage": "{n} muted"
|
||||||
},
|
},
|
||||||
|
@ -283,6 +283,7 @@
|
|||||||
"VOjC1i": "Pick which upload service you want to upload attachments to",
|
"VOjC1i": "Pick which upload service you want to upload attachments to",
|
||||||
"VR5eHw": "Public key (npub/nprofile)",
|
"VR5eHw": "Public key (npub/nprofile)",
|
||||||
"VcwrfF": "Yes please",
|
"VcwrfF": "Yes please",
|
||||||
|
"VfhYxG": "To see a full list of changes you can view the changelog {here}",
|
||||||
"VlJkSk": "{n} muted",
|
"VlJkSk": "{n} muted",
|
||||||
"VnXp8Z": "Avatar",
|
"VnXp8Z": "Avatar",
|
||||||
"VvaJst": "View Wallets",
|
"VvaJst": "View Wallets",
|
||||||
|
Loading…
Reference in New Issue
Block a user