Skip to content

docs: new homepage with gifs#687

Merged
lancesnider merged 15 commits into
mainfrom
home
Jun 1, 2026
Merged

docs: new homepage with gifs#687
lancesnider merged 15 commits into
mainfrom
home

Conversation

@lancesnider
Copy link
Copy Markdown
Collaborator

@lancesnider lancesnider commented May 18, 2026

  • Add new docs homepage
  • Add a video snippet
  • Add a new component for single rive files (without a card)

@lancesnider lancesnider requested a review from a team as a code owner May 18, 2026 19:27
@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented May 18, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
rive 🟢 Ready View Preview May 18, 2026, 7:31 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@@ -0,0 +1,27 @@
export const CardGroupCustom = ({ children }) => {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mintlify doesn't let you specify columns on mobile screen size. This allows us to do a skinny 2-col layout.

Image

Comment thread snippets/rive-card.jsx
@lancesnider lancesnider requested a review from HayesGordon May 29, 2026 00:10
Comment thread getting-started/introduction.mdx Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refreshes the docs homepage with a media-rich introduction (video grid + numbered concept cards) and adds supporting reusable snippets. To enable the new layout, RiveCard is extended to support media-only cards with optional href and 3:2 aspect ratio, a new CardGroupCustom wrapper, a generic single-canvas RiveFile runtime component, and a VideoEmbed for autoplay/loop videos. The global Rive runtime loader is also moved from a pinned version to @latest.

Changes:

  • New homepage in getting-started/introduction.mdx replacing the old text-heavy intro with a video gallery and a 6-step concept grid.
  • New snippets: video-embed.jsx, rive-file.jsx, card-group-custom.jsx; rive-card.jsx extended with href, aspect3by2, and media-only support; hover style added in custom.css.
  • rive-init.js switched from @rive-app/webgl2@2.31.2 to @latest.

Reviewed changes

Copilot reviewed 7 out of 11 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
getting-started/introduction.mdx Rewrites homepage as a video gallery + numbered concept cards + quickstart YouTube.
snippets/video-embed.jsx New autoplay/muted/loop video wrapper used in the homepage gallery.
snippets/rive-file.jsx New single-canvas Rive runtime component reacting to the rive-loaded event.
snippets/card-group-custom.jsx New grid wrapper used to lay out the homepage video cards.
snippets/rive-card.jsx Adds href, aspect3by2, and media-only rendering; wraps content area in a Link when href is set.
custom.css Adds hover border styling for linked Rive cards.
rive-init.js Switches global Rive runtime loader from pinned 2.31.2 to @latest.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread snippets/rive-file.jsx Outdated
Comment thread snippets/card-group-custom.jsx
Comment thread snippets/rive-card.jsx Outdated
Comment thread rive-init.js
(function() {
const script = document.createElement("script");
script.src = "https://unpkg.com/@rive-app/webgl2@2.31.2/rive.js";
script.src = "https://unpkg.com/@rive-app/webgl2@latest/rive.js";
Comment thread snippets/card-group-custom.jsx
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 12 changed files in this pull request and generated 6 comments.

Comment thread rive-init.js
(function() {
const script = document.createElement("script");
script.src = "https://unpkg.com/@rive-app/webgl2@2.31.2/rive.js";
script.src = "https://unpkg.com/@rive-app/webgl2@latest/rive.js";
Comment thread snippets/rive-card.jsx
Comment on lines +11 to +39
<CardGroupCustom>
<RiveCard>
<VideoEmbed src="https://framerusercontent.com/assets/LbCLJ75AO7l248pdkB0P0EFisbE.mp4" />
</RiveCard>
<RiveCard>
<VideoEmbed src="https://cdn.rive.app/framer/figma_rive.mp4" />
</RiveCard>
<RiveCard>
<VideoEmbed src="https://cdn.rive.app/framer/product_ui2.mp4" />
</RiveCard>
<RiveCard>
<VideoEmbed src="https://cdn.rive.app/framer/broadcast.mp4" />
</RiveCard>
<RiveCard>
<VideoEmbed src="https://cdn.rive.app/framer/data_driven2.mp4" />
</RiveCard>
<RiveCard>
<VideoEmbed src="https://cdn.rive.app/framer/joel_home.mp4" />
</RiveCard>
<RiveCard>
<VideoEmbed src="https://framerusercontent.com/assets/RROO3gsepwxfYDx3dsxJfx8HDzE.mp4" />
</RiveCard>
<RiveCard>
<VideoEmbed src="https://framerusercontent.com/assets/ECBYGU97tURypreR5jen03aJ4xQ.mp4" />
</RiveCard>
<RiveCard>
<VideoEmbed src="https://cdn.rive.app/framer/territory_sequence.mp4" />
</RiveCard>
</CardGroupCustom>
Comment thread snippets/rive-file.jsx
Comment thread snippets/rive-file.jsx
Comment thread snippets/rive-card.jsx
Copy link
Copy Markdown
Contributor

@HayesGordon HayesGordon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@lancesnider lancesnider merged commit fa3ad0f into main Jun 1, 2026
2 checks passed
@lancesnider lancesnider deleted the home branch June 1, 2026 16:26
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.

3 participants