feat: redesign landing page with overview layout, hero section, and card grid#100
Open
feat: redesign landing page with overview layout, hero section, and card grid#100
Conversation
…ard grid Co-Authored-By: jon <jon@buildwithfern.com>
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
…r Fern MDX compatibility Co-Authored-By: jon <jon@buildwithfern.com>
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.
Summary
Redesigns the docs-starter landing page (
welcome.mdx) to match a modern layout pattern with:layout: overviewin frontmatter for a wider content areaThe previous getting-started tutorial content (clone, install, preview, publish steps) has been replaced with this new layout. The hero illustration is an inline SVG placeholder (plant-themed with green stems/leaves growing from boxes).
Implementation notes
<span>wrappers — Fern's MDX renderer stripsclassNamefrom<a>tags (adding its ownfern-mdx-linkclass instead). To style the buttons, the links are wrapped in<span className="cta-primary">/<span className="cta-secondary">, and CSS targets.hero-cta-group .cta-primary a.fern-mdx-linkto override Fern's link styles.#008700(light) /#70E155(dark) instead ofvar(--accent-primary), because the accent variable's resolved color made the white link text invisible. If someone changes the accent color indocs.yml, the CTA button color will not update automatically.Local testing
Tested locally with
fern docs dev— both CTA buttons render correctly and the hero layout, card grid, and concepts section all display as expected in light mode.Review & Testing Checklist for Human
!importantoverrides and targeting Fern's internal.fern-mdx-linkclass. Confirm buttons still render correctly if the Fern CLI version is upgraded.Recommended test plan: Run
fern docs dev, open localhost:3000, and visually compare the landing page against the reference screenshot. Toggle dark mode. Resize to mobile width. Click both CTA buttons to verify navigation works.Notes