entropyxyz / entropy-docs

Documentation for Entropy.
https://docs.entropy.xyz
GNU Affero General Public License v3.0
3 stars 1 forks source link

Add OpenGraph API (`meta` elements) for prettier previews, especially on social media sharing #135

Closed vitropy closed 3 months ago

vitropy commented 3 months ago

Steps to reproduce:

When sharing a page from https://docs.entropy.xyz on various platforms, those platforms fetch previews of the content to display to users. Currently, those previews are all Docusaurus defaults. They should instead be Entropy-specific preview images such as logos and so on.

Screenshot:

Screen Shot 2024-06-18 at Jun 18, 2 05 55 PM

Expected behavior:

Show the Entropy logo with a site-specific or, ideally, page-specific description.

johnnymatthews commented 3 months ago

Hmm, this is odd. I was pretty sure that that social image issue was fixed in https://github.com/entropyxyz/entropy-docs/issues/109, but evidently not.

vitropy commented 3 months ago

Hmm, this is odd. I was pretty sure that that social image issue was fixed in #109, but evidently not.

Oh, huh. Well, OpenGraph.xyz seems to think it is fixed so…maybe this is just a caching issue on Twitter's side?

A custom Head component implementation might be nice (as in #136), but the simpler fix is @cooldracula's #138.

johnnymatthews commented 3 months ago

maybe this is just a caching issue on Twitter's side?

Possibly. We'll just have to wait and see? If it continues to be an issue, we can reopen this issue and implement the custom head component from #136. That might cause Tesla's Social Network Team to delete their cache.