Skip to content

feat(docs): add static tweet embeds and Contributors component - #1

Merged
kevinmichaelchen merged 5 commits into
mainfrom
feat/react-static-tweets
Jan 5, 2026
Merged

feat(docs): add static tweet embeds and Contributors component#1
kevinmichaelchen merged 5 commits into
mainfrom
feat/react-static-tweets

Conversation

@kevinmichaelchen

@kevinmichaelchen kevinmichaelchen commented Jan 5, 2026

Copy link
Copy Markdown
Owner

Summary

Add support for embedding tweets in documentation using react-static-tweets for optimal SSG performance, and introduce a Contributors component showcasing community members with embedded tweets.

Changes

Static Tweet Embedding

  • Fetches tweet data at build time using static-tweets
  • Renders tweets as static components with react-static-tweets
  • 10-100x faster than Twitter's iframe embeds
  • Zero runtime network requests for tweet data
  • Strongly-typed with TweetAst type from react-static-tweets

Contributors Component

  • New Contributors component with embedded tweets from community members
  • Contributor cards link to their repositories with descriptions
  • Showcases community contributions and acknowledgments

Files Changed

  • New TweetEmbed component (app/tweet.tsx)
  • Tweet utility functions (lib/tweet-utils.ts) for fetching AST data
  • New Contributors component for acknowledgments page
  • Updated MDX components to include TweetEmbed

- Add Contributors component with masonry grid layout and accent colors
- Switch from react-static-tweets to react-tweet for better Next.js compatibility
- Embed launch tweets for all 7 contributors (Steve Yegge, Joel Hooks, Joel Reymont, Andre Figueira, Dicklesworth Stone, Intellectronica, Neiii)
- Fix light/dark mode theming to follow fumadocs-ui best practices
- Use proper CSS variable names (--color-fd-*) and html.dark selectors
- Add subtle grid pattern background that adapts to theme
- Cards now link directly to GitHub repos (opens in new tab)
- Added project descriptions to each card
- Removed redundant "Inspiration & References" sections
- Replaced role field with description field
@kevinmichaelchen kevinmichaelchen changed the title feat(docs): integrate react-static-tweets for SSG tweet embedding feat(docs): add static tweet embeds and Contributors component Jan 5, 2026
- Scope clippy/build/test to -p hbd -p helix-map to avoid GTK deps
- Tauri crate already tested in dedicated build-tauri job on macOS
- Add NODE_OPTIONS to lint-ui job for ESLint memory limit
- Use Self instead of BlockerNode in recursive struct field
- Remove ESLint from lint script (OOM in CI even at 4GB)
- oxlint covers linting needs and is faster
@kevinmichaelchen
kevinmichaelchen merged commit f1c7a11 into main Jan 5, 2026
6 checks passed
@kevinmichaelchen
kevinmichaelchen deleted the feat/react-static-tweets branch January 5, 2026 23:29
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