Commit 522b727
guides: Phase 2 — Vercel KB landing page + clean content layout
Landing page (layouts/guides/landing.html):
- Remove sidebar filter (checkboxes, language buttons)
- Hero section: guide count, large "Guides." heading, description
- Sticky left "Jump to" nav with numbered categories and counts
- Sections per tag with 2-column card grid (title | summary)
- Scrollspy via IntersectionObserver highlights active section
- No Alpine.js filtering — browse by scrolling/jumping
Content pages (layouts/guides/list.html, new):
- Clean left sidebar: just mainnav, no guide-specific metadata
- Slightly wider article (max-w-5xl)
- TOC stays in right column via baseof.html default
Other:
- data/tags.yaml: add description to each tag (shown under section heading)
- layouts/_partials/guide-languages.html: deleted (languages removed in Phase 1)
- layouts/_partials/sidebar/guides.html: simplify (remove stepper, resource_links,
languages — now just title, summary, tags, time, back link)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 00819cd commit 522b727
6 files changed
Lines changed: 112 additions & 303 deletions
File tree
- content/guides
- data
- layouts
- _partials
- sidebar
- guides
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 21 | + | |
| 22 | + | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
27 | | - | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
| 21 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
16 | 11 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 12 | + | |
| 13 | + | |
21 | 14 | | |
22 | 15 | | |
23 | 16 | | |
24 | 17 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 18 | | |
39 | 19 | | |
0 commit comments