Skip to content

feat: restyle the homepage with a hero section - #9

Merged
tisonkun merged 3 commits into
mainfrom
preview/homepage
Sep 3, 2026
Merged

feat: restyle the homepage with a hero section#9
tisonkun merged 3 commits into
mainfrom
preview/homepage

Conversation

@tisonkun

@tisonkun tisonkun commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

Restyle the homepage so it reads as a homepage instead of a doc page:

  • Add a centered hero (project title, tagline, Get started / View on GitHub buttons), OpenDAL-style
  • Add three feature cards (Runtime-agnostic / Composable building blocks / Async first)
  • Hide the right-hand table of contents on the homepage

The prose content and the API map table are unchanged. pnpm validate passes.

Staging preview: https://asyncband-homepage.staged.apache.org/

Replace the plain markdown rendering with a centered hero (title, tagline,
Get started / GitHub buttons) followed by three feature cards, and hide the
table of contents so the page reads as a homepage rather than a doc page.
The prose content and the API map table are unchanged.
The MDX hero was mangled twice over: Infima's .hero class is a flex row,
and oxfmt re-wrapping the JSX made MDX hoist the tagline text out of its
element. Render the hero and feature cards from src/pages/index.tsx (where
JSX is just JSX) and keep the prose as pure Markdown in
src/pages/_home-content.md. The hero is now a full-width band above the
container, and the prose is constrained to a readable 760px column.
Imported MDX content only receives the theme component mapping (Prism
highlighting, code block chrome) when rendered inside @theme/MDXContent.
@tisonkun
tisonkun merged commit e4b7ab7 into main Sep 3, 2026
2 checks passed
@tisonkun
tisonkun deleted the preview/homepage branch September 3, 2026 13:31
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.

1 participant