Closed ibrahimjaved12 closed 1 month ago
This is mostly ready but I just need to confirm the image dimensions requirements.
Netlify Deployments:
www: https://ocw-hugo-themes-www-pr-1435--ocw-next.netlify.app/
Course v2: https://ocw-hugo-themes-course-v2-pr-1435--ocw-next.netlify.app/
The current resolution is 1600 x 630, which comes to about 2.5 aspect ratio. We're good to go with this.
What are the relevant tickets?
No ticket
Description (What does it do?)
I put up a fix here https://github.com/mitodl/ocw-hugo-themes/pull/1432 but it used
.svg
over.png
which has compatibility issues. This PR uses same logo (although in slightly different aspect ratio), and using.png
instead.These are general guidelines for OG images:
This PR is made keeping in mind these requirements.
How can this be tested?
It would be difficult to test it locally (would have to use
ngrok
). It's a simple change. Let's test it on RC.Screenshots
Slack:
WhatsApp: