Skip to content

feat(docs): add template gallery page with visual previews - #160

Merged
jrusso1020 merged 6 commits into
mainfrom
03-31-feat_docs_add_template_gallery_page_with_visual_previews
Mar 31, 2026
Merged

feat(docs): add template gallery page with visual previews#160
jrusso1020 merged 6 commits into
mainfrom
03-31-feat_docs_add_template_gallery_page_with_visual_previews

Conversation

@jrusso1020

@jrusso1020 jrusso1020 commented Mar 31, 2026

Copy link
Copy Markdown
Collaborator

What

Add a visual template gallery page to the Mintlify docs, and add inline preview images to the existing templates reference page.

Why

Users had to scaffold every template just to see what it looks like. Now they can browse all templates visually in the docs before choosing one.

How

  • New docs/guides/gallery.mdx — uses Mintlify CardGroup cols={3} with Card img= for each template
  • Updated docs/guides/templates.mdx — added <Frame> with preview images inside each <Tab>, added gallery link banner, added 4 missing template tabs (decision-tree, kinetic-type, product-promo, nyt-graph)
  • Updated docs/docs.json — added gallery to Guides navigation

Test plan

  • mintlify dev shows gallery page with all template preview images
  • Each Card links to the correct template tab on the templates page
  • All 9 templates documented (blank text-only, 8 with visual previews)

jrusso1020 commented Mar 31, 2026

Copy link
Copy Markdown
Collaborator Author

@jrusso1020
jrusso1020 changed the base branch from 03-31-feat_docs_add_template_preview_generation_script to graphite-base/160 March 31, 2026 18:23
@jrusso1020
jrusso1020 force-pushed the 03-31-feat_docs_add_template_gallery_page_with_visual_previews branch from 8c44b95 to efb480f Compare March 31, 2026 18:23
@graphite-app
graphite-app Bot changed the base branch from graphite-base/160 to main March 31, 2026 18:23
@jrusso1020
jrusso1020 force-pushed the 03-31-feat_docs_add_template_gallery_page_with_visual_previews branch from efb480f to 4171914 Compare March 31, 2026 18:23
@jrusso1020
jrusso1020 force-pushed the 03-31-feat_docs_add_template_gallery_page_with_visual_previews branch from 4171914 to dd62fde Compare March 31, 2026 18:40
…o previews

- Consolidated gallery.mdx and templates.mdx into single templates.mdx
- Moved templates page to Getting Started section
- Added MP4 video previews rendered by hyperframes (hover to play)
- Custom JS for hover-to-play behavior (Mintlify strips JSX event handlers)
- 2-column grid for landscape, 3-column for portrait
- Remotion-style cards with gradient overlay labels
scripts/ contains dev utilities (lint, versioning, preview generation)
that don't affect the rendering engine.
@jrusso1020
jrusso1020 merged commit fee51f7 into main Mar 31, 2026
16 checks passed
@jrusso1020
jrusso1020 deleted the 03-31-feat_docs_add_template_gallery_page_with_visual_previews branch March 31, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants