matrix-public-archive/shared
Eric Eastwood 16323df054
Add image metadata for URL previews (#224)
- Default to a nice `[matrix]` banner
    -  There is room for improvement here when the Matrix Public Archive gets it's own logo (https://github.com/matrix-org/matrix-public-archive/issues/94) and maybe says "Matrix Public Archive" somewhere in the banner.
    - This is good enough for now (and certainly better than downstream previews using the first image on the page).
 - For rooms, it will use the room avatar

Part of https://github.com/matrix-org/matrix-public-archive/issues/202

Image is sized to 1200x630 to match conventions of `og:image`.

Crafted the banner image by modifying the header on the room directory homepage and taking a node screenshot. Page zoom @ 175%
2023-05-10 00:50:12 -05:00
..
lib Add image metadata for URL previews (#224) 2023-05-10 00:50:12 -05:00
viewmodels Fix checkbox being checked by default when the value was actually `null` (#221) 2023-05-05 19:44:49 -05:00
views Add safe search filter for NSFW rooms (#208) 2023-05-03 04:45:33 -05:00
.eslintrc.json Stop restarting server when the client bundle updates 2022-02-15 17:30:30 -06:00
hydrogen-vm-render-script.js Fix time selector showing when less than the page limit of messages (#213) 2023-05-04 20:50:43 -05:00
room-directory-vm-render-script.js Add safe search filter for NSFW rooms (#208) 2023-05-03 04:45:33 -05:00