Skip to content

Convert three-line poem activity into article; rewrite TXT Reader guide and improve reader UI - #27

Open
XRYua wants to merge 1 commit into
masterfrom
codex/convert-three-line-love-letter-event-to-md
Open

Convert three-line poem activity into article; rewrite TXT Reader guide and improve reader UI#27
XRYua wants to merge 1 commit into
masterfrom
codex/convert-three-line-love-letter-event-to-md

Conversation

@XRYua

@XRYua XRYua commented Mar 7, 2026

Copy link
Copy Markdown
Owner

Motivation

  • 将交互式的“三行情书”功能改为以文章作为官方活动场地,避免与正文冲突并统一站内入口与公告文案样式。
  • 明确把 TXT Reader 的文档定位为教程页以避免与阅读器静态页面命名冲突导致的误跳转,同时提升阅读器的视觉与使用体验。

Description

  • src/content/posts/three-line-poem-activity.md 重写为文青风活动文章(标题改为「三行情书写」,简介改为“愿每一封情,都能被温柔读到”,并增加 permalink: three-line-poem),并将活动场地说明改为使用文章评论区留言。
  • 删除原有独立活动实现:删除 src/pages/three-line-poem.astrosrc/components/ThreeLinePoemActivity.astro,并将首页小卡片 src/components/ThreeLinePoemEntry.astro 文案/样式缩小调整(按钮文案改为“写三行”仍跳转至 /three-line-poem/)。
  • 重写 src/content/posts/txt-reader.md 为中文教程页(permalink: txt-reader-guide)以避免与 public/txt-reader.html 命名冲突,并在文内明确“这是教程页,不会自动跳转到阅读器”。
  • 优化 public/txt-reader.html 的视觉样式(背景层次、卡片/按钮圆角与渐变、阅读容器内边距与边框等),并保持原有功能与搜索/行渲染逻辑不变。
  • 更新站点公告配置 src/config.ts 为简短文青文案(标题/内容/链接文本指向活动场地)。

Testing

  • 运行 pnpm -s astro check 并通过(无错误)。
  • 执行 pnpm -s astro build 并成功生成静态站点(构建完成)。
  • 运行 pnpm -s prettier --check 对部分文件触发了解析器提示(.astro 文件未被 prettier 推断到 parser),该检查在当前环境给出警告/失败但未阻止构建。
  • 启动本地 dev 并通过 Playwright 自动化截取页面截图验证渲染,成功生成首页、活动文章页与 TXT Reader UI 的截图(截图已作为产物)。

Codex Task

@vercel

vercel Bot commented Mar 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mizuki Ready Ready Preview, Comment Mar 7, 2026 10:13am

@gemini-code-assist

Copy link
Copy Markdown

Important

Installation incomplete: to start using Gemini Code Assist, please ask the organization owner(s) to visit the Gemini Code Assist Admin Console and sign the Terms of Services.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant