Skip to content

fix: standardize blog cover presentation - #69

Open
feihongxu0824 wants to merge 1 commit into
zvec-ai:mainfrom
feihongxu0824:codex/fix-blog-cover-crop
Open

feihongxu0824 wants to merge 1 commit into
zvec-ai:mainfrom
feihongxu0824:codex/fix-blog-cover-crop

Conversation

@feihongxu0824

Copy link
Copy Markdown
Contributor

Summary

  • render featured and article-card covers consistently without blank bands or per-post fit overrides
  • normalize legacy cover assets and add dark-mode covers for the RaBitQ and multi-platform posts
  • add a 16:9 cover specification plus automated validation for local paths, dimensions, and aspect ratio
  • run the cover validator automatically during production builds

Validation

  • npm run blog:covers:check
  • npm run types:check
  • npm run build

@github-actions

Copy link
Copy Markdown

☁️ Cloudflare Pages preview: https://59e6ed64.zvec-web.pages.dev

Comment thread CONTRIBUTING.md
@@ -0,0 +1,35 @@
# Blog contribution guide

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

这个文件要不移动到 content/blog 下面,作为编写 blog 的指导说明

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

维护一个contributing.md就可以了吧,放在外面醒目且常用一些,标题暂时是blog contributing guide,后面有其他guide可以再修改标题

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants