feat: enhance header layout, add LSP support, and improve documentation#53
Closed
ChouChiu wants to merge 17 commits into
Closed
feat: enhance header layout, add LSP support, and improve documentation#53ChouChiu wants to merge 17 commits into
ChouChiu wants to merge 17 commits into
Conversation
- separate background overlay from content container in Header for better layout control - adjust PC showcase image positioning and size for improved visual alignment
- add .opencode/opencode.json config with lsp: true - improve development experience through language server protocol
- add id and fullscreen layout classes to FAQ section - implement wheel event listener for auto-scrolling to FAQ - clean up event listener on page navigation
- removed .opencode/opencode.json for simplification - added lsp: true to opencode.jsonc for unified configuration
- Rewrite with compact, up-to-date project stack (Astro v6, SolidJS v1, Tailwind CSS v4, pnpm v10, Biome v2) - Remove verbose sections and restructure into focused areas: Stack, Commands, Testing, Content Collections, Key Layout, Deployment - Add Node built-in test runner details and new testing commands - Update development workflows and pre-commit hooks - Document content collections (changelogs, wiki) and source layout - Mention bilingual content and OpenCode skills
- add technology stack section - restructure project structure to tree format - document available commands and testing - detail pre-commit hooks and lint-staged usage - update code quality verification steps
- Introduce AdSlidePanel component with slide-up animation - Move desktop and mobile ads from header to bottom slide panel - Add ad exposure and slide open event tracking
- update JSON schema URL to version 2.5.0 - replace deprecated `recommended: true` with `preset: "recommended"` in linter rules
- add descriptive aria-label to toggle button for screen reader
- remove wheel event listener and smooth scroll behavior - simplify user interaction and reduce unnecessary javascript
- add pb-32 class to FAQ section bottom padding - improve visual separation from subsequent content
- Rename astro.config.mjs and tailwind.config.mjs to .mts for TypeScript module support
- change tree parameter from HastNode to unknown to prevent incorrect type inference - add explicit type assertion when visiting elements for safe property access
- Bump actions/checkout to v7 - Bump pnpm/action-setup to v6 - Switch node-version to LTS
- set version field to 'latest' for clarity and consistency
- change from lts to 24 to ensure consistent builds and avoid unexpected breakage from Node.js version changes
Member
|
不要一堆东西塞一个PR里面,文档和UI可以分两个PR开。cloudflare的PR preview bot不知道为什么没有触发,所以涉及UI修改可以贴一下截图。广告相关没有188或者sg点头最好不要动,这个PR我先关了。 |
Contributor
Author
👌 |
This was referenced Jun 20, 2026
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.
This pull request introduces a significant documentation overhaul, dependency upgrades, and a new homepage ad slide panel component. The documentation for both contributors and AI agents has been rewritten for clarity and conciseness, with updated stack, commands, and project structure sections. Several dependencies are bumped to their latest versions, and a new responsive, accessible ad slide panel is added to the homepage. Minor improvements to configuration and code style enforcement are also included.
Documentation and Contributor Guide Improvements:
AGENTS.mdto be more concise and actionable for AI agents, with updated stack info, commands, content collections, code style, deployment, environment, pre-commit hooks, and agent rules.CONTRIBUTING.mdandCONTRIBUTING_CN.mdwith clearer stack descriptions, detailed project structure, available commands, code standards, testing instructions, pre-commit hooks, and code quality verification order. [1] [2] [3] [4]Dependency and Tooling Upgrades:
package.json.actions/checkout,pnpm/action-setup, and Node.js 24 in.github/workflows/pr_check.yml.biome.jsonschema and switched topreset: "recommended"for linter rules. [1] [2]pnpm-workspace.yaml.opencode.jsonc.New Features and UI Improvements:
AdSlidePanel.astrocomponent for the homepage, featuring a responsive, landscape-aware layout, localStorage-based open/close state, accessibility improvements, and event tracking.FeaturesandFAQhomepage sections for better visual consistency. [1] [2]