Repository navigation
Revert "Add company social proof to landing page (#1468)" - #1482
Merged
Merged
Conversation
This reverts commit 79f0799.
SawyerHood
added a commit
that referenced
this pull request
Aug 13, 2026
## Summary - Reapply the company social-proof marquee from #1468, which #1482 reverted. - Fix the wide-screen bug that caused the revert: the marquee went blank near the end of each loop. ## Root cause The track held exactly two logo copies and scrolled by one copy width per cycle. One copy is about 1307px wide. When the viewport is wider than one copy, the track runs out of content near the end of each cycle, and the band goes blank. ## Fix - Measure the marquee and one logo list with a `ResizeObserver`. Render `ceil(viewport / copyWidth) + 1` copies, with a minimum of 2. Set the count as `--company-proof-copies` on the track. - The keyframe now translates by `calc(-100% / var(--company-proof-copies, 2))`, so one cycle always travels exactly one copy and the loop stays seamless at every width. - The animation still moves only `transform`, and the existing `IntersectionObserver` still pauses it off screen. Resize re-renders occur only when the copy count crosses a threshold. ## Verification - `pnpm exec turbo run typecheck --filter=@bb/web` - Headless Chromium checks at 390 / 1440 / 1920 / 3440px: 2 / 3 / 3 / 4 copies; the track covers both viewport edges at 21 sample points across 4 animation loops at each width. - Screenshot at 1920px at 97% of a cycle, the point where the old code went blank, shows a full band. > AGENT GENERATED: by Claude Opus 5 --------- Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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.
This reverts commit 79f0799 (#1468).
Summary
apps/web/src/landing/landing.css.apps/web/src/assets/company-logos/.Verification
pnpm exec turbo run typecheck --filter=@bb/webpassed.