Conversation
- 创建了robots.ts - 扩展了根layout.tsx :添加了keywords、viewport、themeColor等SEO相关meta标签 - 添加了Open Graph元数据 :支持社交媒体分享,包括标题、描述、图片等 - 添加了Twitter Card元数据 :优化Twitter分享效果 - 添加了Schema.org标记 - 首页:基于语言环境动态生成标题和描述 - 搜索页面:基于搜索参数动态生成标题和描述 - 博客页面:基于内容动态生成标题和描述
添加generateImageAlt函数生成更详细的图片描述文本 将viewport和themeColor从metadata移至独立配置
添加设备检测工具函数和中间件逻辑,支持自动重定向移动设备到专属页面 创建移动端搜索页面示例,优化移动端用户体验
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
wiperi
requested changes
Feb 13, 2026
| @@ -0,0 +1,140 @@ | |||
| # QRent SEO配置优化计划 | |||
Owner
There was a problem hiding this comment.
Please make sure we use the English across the repo.
| @@ -0,0 +1,40 @@ | |||
| # 移动端专属页面路由方案 | |||
Owner
There was a problem hiding this comment.
Please make sure we use the English across the repo.
| @@ -52,5 +52,5 @@ bcrypt 6.0.0 | |||
| 使用 lucide-react 和react-icons图标库,不要使用path硬编码图标。 | |||
Owner
There was a problem hiding this comment.
Please make sure we use the English across the repo.
| localePrefix: 'always', | ||
| }); | ||
|
|
||
| export default function middleware(request: NextRequest) { |
Owner
There was a problem hiding this comment.
Maybe we should separate these logic (frontend routing) into isolated PR. Preventing different logic mix in the one PR.
Collaborator
Author
|
Ready to close this PR and move commits/updates to #290. |
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.
Upload the Baidu SEO inclusion verification file and complete the files required for website SEO. Provide a mobile routing framework without involving specific page modifications.