Add sidebar nav to jquery.com pages
@Krinkle 已经在做这个了。
开始于 2026年6月10日。
评估
这个 Issue 还没有评估数据。
描述
We have the pages directly on jquery.com. See also https://jquery.com/wp-sitemap-posts-page-1.xml.
| Page | Primary navigation | Secondary |
|---|---|---|
| Browser Support | Browser Support |
.. |
| Download | Download |
.. |
| Meetups | .. | .. |
| Upgrade Guides | .. | Linked from Version Support, Linked from API Documentation: Home, Linked from API Documentation: Category Version 4.0 |
| Upgrade Guide: 1.9, 3.0, 3.5, 4.0 | .. | Linked from Upgrade Guides |
| License | .. | .. |
| Team | .. | Top > OpenJS > jQuery Team |
| Support | Main nav > Version Support |
Top > Support > Chat |
| History | .. | .. |
The "License", "Team", "Support", and "History" pages were recently imported from jquery.org per https://github.com/jquery/jquery.org/issues/139.
While "Support" was added to the main nav (as "Version Support"), several of the above are hard to discover. Requiring either browsing the Top nav, or finding it indirectly via other pages, or via typeahead search suggestions.
I suggest we enable the sidebar on these pages. This is similar to what we do on other jQuery sites (api.jquery.com, blog.jquery.com, and learn.jquery.com). And for jQuery UI, it was always done on the main site as well (e.g. https://jqueryui.com/about/).
For jQuery UI, while the sidebar has always been enabled there, including on these kinds of meta pages, those meta pages were not themselves linked from that same sidebar. I fixed that in https://github.com/jquery/jqueryui.com/pull/229 a few months ago.
Once we have a solution for navigating to these pages (whether the proposed sidebar, or something else), I'd be interested in importing a "Brand Guidelines" page of sorts as well, after which we could potentially phase out https://brand.jquery.org/. I did this for QUnit at https://qunitjs.com/brand/.
Thoughts?
Preview
This is an example of what it might look like:
| Page | Screenshot |
|---|---|
| API (unchanged) | |
| Blog (unchanged) | |
| Support (after) | |
| Support (before) | |
| Team (after) | |
| Team (before) |
Note that the default page layout is already mobile-friendly. It renders similar to before on mobile when above the fold (except left-aligned instead of centered, and with a bit more room for content on mobile). The sidebar is an appendix in mobile.
| Before | After |
|---|---|
- 主要语言
- HTML
- 星标
- 79
- 派生
- 101
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
jquery/jquery.com 的其他 Issue
-
Download page has no jQuery Migrate 4.x links可能已有人在做 @RaphaelFakhri 于 7 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 35/100
jquery/jquery.com#274 ·
-
难度 1/5 1-3 小时 新手友好度 45/100
jquery/jquery.com#232 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
jquery/jquery.com#181 ·
-
难度 1/5 1 小时以内 新手友好度 45/100
jquery/jquery.com#158 · 1 个 reaction ·