Repository navigation
Add company social proof to landing page - #1468
Conversation
|
🚨 SLOP COP 🚨 · I am SlopCop. I am reviewing this pull request for security, code quality, performance, architecture, and end-to-end behavior. |
SawyerHood
left a comment
There was a problem hiding this comment.
🚨 SLOP COP 🚨 · review
ELI5: This adds a moving row of company names. It is like a sign that rolls by. A button stops it.
I found two nonblocking performance issues.
- The marquee continues to animate after it leaves the viewport. The permanent
will-changehint can retain a composite layer. - The Notion logo is 512×512 pixels. The page displays it at 20×20 pixels. It can decode to about 1 MiB.
Security review: I found no executable SVG content, remote image requests, event handlers, or unsafe React behavior.
Architecture review: The codebase has no existing marquee or suitable shared landing component. This change does not duplicate an existing feature.
End-to-end checks passed at desktop and mobile sizes. Pause and resume work. Reduced-motion mode shows one static list. The page has no horizontal overflow.
The Turbo type check passed. All 62 web tests passed. The Turbo build passed.
I left two nonblocking inline comments.
This reverts commit 79f0799 (#1468). ## Summary - Remove the "Used by builders at" company marquee from the landing page. - Remove the marquee styles from `apps/web/src/landing/landing.css`. - Remove the company logo assets in `apps/web/src/assets/company-logos/`. - Keep the hero, the "Works with" compatibility row, and all other landing-page content. ## Verification - `pnpm exec turbo run typecheck --filter=@bb/web` passed. > AGENT GENERATED: by Claude Opus 5
## 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]>
Summary
The wording describes individual use and deliberately does not claim that any listed company uses, endorses, or is a customer of BB.
Affiliation evidence
Publicly documented BB use and current-affiliation chains:
Explicitly owner-confirmed additions:
Official logo sources
Verification
pnpm exec turbo run typecheck --filter=@bb/webpnpm exec turbo run test --filter=@bb/web --force— 62 tests passedpnpm exec turbo run build --filter=@bb/web