Skip to content

docs: static tweet wall + home tweaks#699

Merged
abhithesys merged 3 commits into
mainfrom
static-tweet-wall
Jul 1, 2026
Merged

docs: static tweet wall + home tweaks#699
abhithesys merged 3 commits into
mainfrom
static-tweet-wall

Conversation

@pd-builds

Copy link
Copy Markdown
Contributor

Follow-up to the merged marketing redesign (#691).

Static tweet wall

Replaces the home tweet wall's live Twitter embeds (18 iframes + widgets.js, with an all-or-nothing load) with self-hosted static cards that render instantly. Each card shows the avatar, name, verified badge, text, media, date, like/reply counts, a copy-link button, and a "Read more on X" CTA, and links to the tweet.

  • Avatars/media are downloaded into public/tweets/, so there is no runtime Twitter dependency.
  • pnpm --filter @openuidev/docs fetch:tweets (scripts/fetch-static-tweets.mjs) regenerates the snapshot and re-downloads the assets. Edit the IDs in home-tweet-embeds.ts to change which tweets appear.
  • The TweetWall is now a pure static marquee (removed the embed effect, widgets.js script, skeleton, and clone logic).

Small home tweaks

  • Break the "OpenUI works with any stack" description onto two lines on desktop.
  • Open the "Dashboard Demo" nav link in the same tab (it opened a new tab, unlike the neighboring Playground link).

🤖 Generated with Claude Code

pd-builds and others added 3 commits July 1, 2026 11:56
Swap the live Twitter embeds (18 iframes + widgets.js, all-or-nothing load)
for self-hosted static cards that render instantly. Each card shows the
avatar, name, verified badge, text, media, date, like/reply counts, a copy-
link button, and a "Read more on X" CTA, and links to the tweet.

- StaticTweetCard: the card component.
- home-tweets-static.ts: generated snapshot of the tweets.
- scripts/fetch-static-tweets.mjs + `pnpm fetch:tweets`: regenerates the
  snapshot and downloads the avatars/media into public/tweets/, so there is
  no runtime Twitter dependency. Edit the IDs in home-tweet-embeds.ts to
  change which tweets appear.
- TweetWall: now a pure static marquee (removed the embed effect, widgets.js
  script, skeleton, and clone logic).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@abhithesys abhithesys merged commit 4f6bb52 into main Jul 1, 2026
1 check passed
@abhithesys abhithesys deleted the static-tweet-wall branch July 1, 2026 07:02
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.

2 participants