Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify social images and add ability to set per-page images #36804

Merged
merged 4 commits into from Jul 26, 2022

Conversation

mdo
Copy link
Member

@mdo mdo commented Jul 21, 2022

Addressing a few things after v5.2.0 went stable:

  • Removes the homepage summary layout in favor of the larger image card (makes it more consistent with other pages)
  • Reuses new thumbnails for Webpack, Parcel, and Vite guides to add their new social images
  • Updates default social card to be larger for more retina friendly rendering and with new design

Possibly more custom cards to come, but might push that to separate PRs. Ideas welcome on this :).

Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Way better when the pages are shared in social networks! Good catch!
I find bootstrap-social.png a bit heavy/large but I suppose it is for retina friendly rendering.

Tested the rendering manually and with:

site/layouts/partials/social.html Outdated Show resolved Hide resolved
@mdo
Copy link
Member Author

mdo commented Jul 25, 2022

@julien-deramond Implemented your suggested changes and cleaned up a couple things. Thanks!

@julien-deramond julien-deramond self-requested a review July 26, 2022 05:49
Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

mdo added 4 commits July 26, 2022 10:03
- Removes the homepage summary layout in favor of the larger image card (makes it more consistent with other pages)
- Reuses new thumbnails for Webpack, Parcel, and Vite guides to add their new social images
@mdo mdo merged commit 501faa2 into main Jul 26, 2022
@mdo mdo deleted the custom-social-images branch July 26, 2022 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants