Convert three-line poem activity into article; rewrite TXT Reader guide and improve reader UI - #27
Open
XRYua wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
TXT Reader的文档定位为教程页以避免与阅读器静态页面命名冲突导致的误跳转,同时提升阅读器的视觉与使用体验。Description
src/content/posts/three-line-poem-activity.md重写为文青风活动文章(标题改为「三行情书写」,简介改为“愿每一封情,都能被温柔读到”,并增加permalink: three-line-poem),并将活动场地说明改为使用文章评论区留言。src/pages/three-line-poem.astro与src/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),该检查在当前环境给出警告/失败但未阻止构建。Codex Task