feat(docs): randomize hero terminal demo across integrations#263
Conversation
The hero section now randomly shows one of four integration workflows (Figma, GitHub, Linear, Notion) on each page load, with matching taglines and highlighted integration logos. Figma is the SSR default. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Issue Linking ReminderThis PR doesn't appear to have a linked issue. Consider linking to:
Using If this PR doesn't need an issue, you can ignore this message. |
Greptile SummaryThis PR makes the hero section's terminal demo dynamic: on each client-side page load one of four integration scenarios (Figma, GitHub, Linear, Notion) is randomly selected, updating the tagline, subtitle, command output, and the highlighted integration logo. Figma remains the SSR default (index The approach is clean and low-risk for the Key observations:
Confidence Score: 2/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant SSR as SSR / Crawler
participant Browser as Browser (Client)
participant HeroSection as HeroSection Component
SSR->>HeroSection: Render (scenarioIndex = 0 → Figma)
HeroSection-->>SSR: Static HTML with Figma tagline/terminal
Browser->>HeroSection: Hydrate
HeroSection->>HeroSection: useEffect fires
HeroSection->>HeroSection: setScenarioIndex(Math.random() * 4)
HeroSection->>HeroSection: setTimeout → setIsVisible(true)
HeroSection-->>Browser: Re-render with random scenario (Figma/GitHub/Linear/Notion)
HeroSection-->>Browser: Highlight active integration logo (integrationLogoActive)
Last reviewed commit: a24245d |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a24245d22c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The index.tsx referenced FigmaShowcase, VisualValidation, and AgentEcosystem components that were never created. Restored the original ClientShowcase and LLMProviders components that exist. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
This PR has been automatically marked as stale because it has not had recent activity. |
Summary
Test plan
pnpm buildin docs/ passes🤖 Generated with Claude Code