Files
hyperframes/docs/template-gallery.css
James Russo fee51f7a65 feat(docs): add template gallery page with visual previews (#160)
* feat(docs): add template gallery page with visual previews

* fix(docs): remove invalid MDX heading anchors

* chore: retrigger CI

* feat(docs): merge gallery into templates page with hover-to-play video 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

* fix(docs): update broken links after templates page move

* ci(regression): remove scripts/ from regression trigger paths

scripts/ contains dev utilities (lint, versioning, preview generation)
that don't affect the rendering engine.
2026-03-31 13:04:04 -07:00

26 lines
438 B
CSS

.tpl-card video {
width: 100%;
aspect-ratio: 16/9;
object-fit: cover;
display: block;
}
.tpl-card.portrait video {
aspect-ratio: 9/16;
}
.tpl-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.tpl-label {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 2.5rem 0.75rem 0.75rem;
background: linear-gradient(transparent, rgba(0,0,0,0.75));
pointer-events: none;
}