Skip to content

Commit 137579d

Browse files
Merge pull request #34 from amd/dholanda/website_quicklinks
Add sidebar navigation to playbooks
2 parents 4f59f5e + c9ce95b commit 137579d

4 files changed

Lines changed: 301 additions & 77 deletions

File tree

playbooks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Write your playbook content in Markdown format. Images, tables, code, and other
6666
| **Getting Started** | First hands-on step—get users into the tool quickly |
6767
| **Core Concepts** | Teach the mental model (tables and diagrams help) |
6868
| **Main Activity** | Where users achieve the payoff moment |
69-
| **Next Steps** | 3-5 paths forward with links to resources |
69+
| **Next Steps** | 3-5 paths forward with links to resources and official documentation |
7070

7171
### OS-Specific Content
7272

playbooks/core/comfyui-image-gen/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,5 @@ Workflows are self-contained—share the JSON file with colleagues, and they can
166166
- **Browse community workflows**: [ComfyUI Examples](https://github.com/comfyanonymous/ComfyUI_examples) has many ready-to-use workflows
167167

168168
ComfyUI's strength is experimentation: connect nodes differently, adjust parameters, and observe how each change affects the output. This hands-on exploration builds intuition for how diffusion models work.
169+
170+
For more information, check out the [ComfyUI Documentation](https://docs.comfy.org/).

website/src/app/globals.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,4 +323,37 @@ body {
323323
.playbook-content > .md-h3:first-child,
324324
.playbook-content > .md-h4:first-child {
325325
margin-top: 0;
326+
}
327+
328+
/* Table of Contents Sidebar */
329+
.toc-sidebar {
330+
padding: 1rem;
331+
background: rgba(26, 26, 26, 0.6);
332+
border: 1px solid var(--border-color);
333+
border-radius: 0.75rem;
334+
backdrop-filter: blur(8px);
335+
max-height: calc(100vh - 8rem);
336+
overflow-y: auto;
337+
}
338+
339+
.toc-sidebar::-webkit-scrollbar {
340+
width: 4px;
341+
}
342+
343+
.toc-sidebar::-webkit-scrollbar-track {
344+
background: transparent;
345+
}
346+
347+
.toc-sidebar::-webkit-scrollbar-thumb {
348+
background: var(--border-color);
349+
border-radius: 2px;
350+
}
351+
352+
.toc-sidebar::-webkit-scrollbar-thumb:hover {
353+
background: var(--text-muted);
354+
}
355+
356+
/* Smooth scroll for anchor links */
357+
.scroll-mt-28 {
358+
scroll-margin-top: 7rem;
326359
}

0 commit comments

Comments
 (0)