Skip to content

fix: hero rotating words animation and add new terms#270

Merged
prithvi2206 merged 1 commit intomainfrom
prithvi/claude/hero-rotating-words-fix
Feb 25, 2026
Merged

fix: hero rotating words animation and add new terms#270
prithvi2206 merged 1 commit intomainfrom
prithvi/claude/hero-rotating-words-fix

Conversation

@prithvi2206
Copy link
Contributor

Motivation

The hero section's rotating word animation was broken — it only cycled through 5 of 8 words, so it never showed "tutorials", "how-to guides", or the final "screenshots". This caused a jarring jump when the animation looped. Also wanted to expand the word list with more doc types.

Summary

  • Fixed animation: Updated CSS keyframes to cycle through all words with seamless looping (duplicate first/last word so the restart is invisible)
  • Added new terms: customer docs, developer docs, changelogs, code examples — spread throughout the rotation for variety
  • Adjusted timing: Duration scaled from 8s → 22s to maintain ~2s per word with 12 total words

🤖 Generated with Claude Code

Fix the word rotation animation which only cycled through 5 of 8 words,
causing a jarring jump back to "screenshots". Expand to 12 words with
seamless looping and add customer docs, developer docs, changelogs,
and code examples to the rotation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
promptless-docs Building Building Preview, Comment Feb 25, 2026 0:49am

Request Review

@prithvi2206 prithvi2206 marked this pull request as ready for review February 25, 2026 00:49
@prithvi2206 prithvi2206 merged commit 6ebf847 into main Feb 25, 2026
3 checks passed
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