Commit 95fe57b
fix: correct 0.15.1 blog cover image aspect ratio (16:9 -> 3:2) (#5887)
* fix: correct 0.15.1 blog cover image aspect ratio (16:9 -> 3:2)
The 0.15.1 cover shipped at 2400x1350 (16:9), wider than the site's standard
1536-wide covers, so its blog-listing card didn't line up with neighbors.
Re-cropped/scaled to 1536x1024 (matches open-design-shanghai-ai-workshop-cover.jpg);
same content (logo, version, tagline), same filenames/paths. Follow-up to #5884.
* fix: register 0.15.1 cover in blog index postImages map
The cover-file swap alone did not reach the blog index: cards render art only
when postImages[id] exists, and there was no open-design-0-15-1 entry, so the
0.15.1 card fell through to the fallback. Add the entry (points at the .webp
cover) so the index card shows the release art. Addresses @nettee's review.
---------
Co-authored-by: XingliGe <xinglige0205@gmail.com>1 parent a2f526f commit 95fe57b
3 files changed
Lines changed: 4 additions & 0 deletions
File tree
- apps/landing-page
- app/pages/blog
- public/blog
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| |||
0 commit comments