edgi-govdata-archiving / EEW-Website

EEW Static Website
https://environmentalenforcementwatch.org/
1 stars 3 forks source link

Modify snippet image #253

Closed ericnost closed 2 years ago

ericnost commented 3 years ago

When we post a link to environmentalenforcemenwatch.org on social media, Slack, etc., we get what I think is the default Gatsby snippet / preview (a big G) See here:

https://twitter.com/EnviroDGI/status/1321195049745436673

Anyway we could change that to the EDGI or EEW logo?

Frijol commented 3 years ago

Good point. This looks like the right sort of thing: https://codeburst.io/how-to-automate-social-sharing-cards-on-your-gatsby-blog-77a356a58b38

Frijol commented 3 years ago

Hm. I made an attempt but I think it was not successful

Frijol commented 3 years ago

@shansen5 suggests replacing static/social.png, trying that

Frijol commented 3 years ago

sadly it didn't work. There's also https://medium.com/swlh/share-website-preview-images-in-gatsby-10cac58dd4d7 and various other ideas out there

Frijol commented 3 years ago

Screen Shot 2021-03-18 at 12 11 53 PM this is a weird thing I just noticed, wonder if it's related

CaptainStack commented 2 years ago

Oh hey - it looks like at some point this was updated because looking at the original Tweet that is linked in Eric's original post, I currently see the EEW logo:

image

I do know how to update these previews so I'm happy to do so if you like. My opinion on the current previews is that they are fine except that the image looks as if it was not specifically picked to be a social media preview as its dimensions are not really correct.