Unify homepage card system and enlarge header tap targets#419
Merged
Conversation
Homepage (index.mdx): collapse the four ad-hoc card treatments into two intentional types — the blue img "hero" row (Detect/Communicate/Resolve) and uniform icon cards everywhere else. Drop the redundant nested #### sub-headings (and their stray heading anchors), remove the one-off `cta` props, and add icons to the Learn More and Quick Links rows so every non-hero card matches. style.css: expand the small header icon buttons (search, assistant, dark-mode, more-actions) to a 44x44 minimum touch target (WCAG 2.5.5) via an invisible ::after hit-area overlay — no visual change, and the theme's responsive show/hide still applies. Verified live at 390px: targets go from 18–32px to ~44px, hit-tested. Addresses the homepage card-consistency and mobile touch-target findings from the /impeccable critique of the docs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What & why
Follow-up to an
/impeccable critiqueof the docs. Two repo-controlled fixes it surfaced, scoped to what this repo owns outright:1. Unify the homepage card system (
index.mdx)The homepage ran four different
<Card>treatments on one page — bigimgcards, icon cards, plain cards, and cards with a nested#### sub-heading— which read as inconsistent and created stray heading anchors (#monitor-&-test, etc.).Collapsed to two intentional types:
img): the blue Detect / Communicate / Resolve row — kept as the single brand moment and primary product journey.icon+ title + one-line description.Specifics:
####double-heading (and their stray anchors); each card now has a single heading.ctaprops so no single row is styled differently.2. Enlarge header icon tap targets (
style.css)The header icon buttons (search, assistant, dark-mode, more-actions) measured 18–32px — under the 44×44 WCAG 2.5.5 minimum, worst on mobile. Added an invisible
::afterhit-area overlay that expands the clickable region to 44×44 without changing the visual layout, so the theme's responsive show/hide of those buttons still applies.Verification
mint dev(desktop + 390px mobile): all 13 icons resolve, double-headings are gone, hero row preserved, cards stack correctly on mobile.overflow: visible(not clipped) and zero visual shift.Deliberately out of scope
Per the critique triage, these were parked:
#0075FF= 4.21:1) — kept as-is to preserve exact brand parity with the marketing site.🤖 Generated with Claude Code