[wip] Redesign index page - #6915
Draft
ethanpalm wants to merge 2 commits into
Draft
Conversation
Ports the landing site's design system (mintlify/landing public/design.md) to the docs home page: warm neutral surfaces, hairline rails framing the content column, a dot field in the page margins, 6px cards, and the brand green that shifts hue between light and dark. - Add home.css with the landing tokens, scoped to `.mint-home` so nothing reaches the rest of the site. - Replace the illustrated HeroCards with icon-led cards on the landing card spec (muted Lucide icon, whitespace, bottom-anchored title and description, hover reveals a trailing arrow and tints the icon brand green). - Swap the decorative hero SVGs for a CSS dot field, and add a copy-to-clipboard CLI install command to the hero, matching the landing hero's CTA row. - Keep headings in Inter at the landing display sizes and tracking; the serif display face is licensed and not available to the docs build. Copy is unchanged.
The introduction hero now leads with the full "set up Mintlify with your agent" prompt from the quickstart instead of `npm i -g mint`. It lands collapsed to four lines behind a fade and expands in place, with Copy prompt and Open in Cursor reachable in both states — reading the prompt is optional, running it is the point. The prompt text now also exists as a string in snippets/setup-agent-prompt-text.mdx, because the built-in <Prompt> component serializes its children's source rather than evaluating them and so cannot be handed a variable. Both copies must be edited together; .github/workflows/check-prompt-sync.yml fails the build if they drift. The quickstart's <Prompt> card is unchanged, byte for byte.
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation changes
Applies our new design language to the docs homepage
For Reviewers
When reviewing documentation PRs, please consider:
✅ Technical accuracy
✅ Clarity and completeness
✅ User experience