on master help sign in
components/gateway/Image: update placeholder
d6e7785Matilde Park
components/gateway/Image.js+1−1
@@ -56,7 +56,7 @@ const GatewayImage = ({
56 <img
56 <img
57 className="object-contain shadow-sm rounded-xl"
57 className="object-contain shadow-sm rounded-xl"
58 style={{ height: size, width: size }}
58 style={{ height: size, width: size }}
59− src="https://media.urbit.org/logo/urbit-logo-card.png"
59+ src="https://media.urbit.org/public-links/placeholder-image.png"
60 />
60 />
61 );
61 );
62};
62};
pages/groups/[[...group]].js+3−1
@@ -23,7 +23,9 @@ const GroupPage = ({ data, markdown, params }) => {
23 const image = `https://urbit-id-og-cards-ltjw3771z-urbit.vercel.app/${
23 const image = `https://urbit-id-og-cards-ltjw3771z-urbit.vercel.app/${
24 data.title
24 data.title
25 }?images=${
25 }?images=${
26+ data?.tile
27+ ? data.tile
26− data?.tile ? data.tile : "https://media.urbit.org/logo/urbit-logo-card.png"
28+ : "https://media.urbit.org/public-links/placeholder-image.png"
27 }`;
29 }`;
28
30
29 return (
31 return (