feat: add landing page#4
Conversation
…ved layout and accessibility
… accessibility, and clipboard functionality
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughSummary by CodeRabbit
WalkthroughRemoves the root ChangesLanding Home Page
Sequence Diagram(s)sequenceDiagram
participant Browser
participant NextJS as Next.js RSC
participant ProviderCodeSwitcher as ProviderCodeSwitcher (async RSC)
participant Shiki as Shiki codeToHtml
participant Client as ProviderCodeSwitcherClient
Browser->>NextJS: GET /
NextJS->>ProviderCodeSwitcher: render landing page section
ProviderCodeSwitcher->>Shiki: highlight N samples × dark theme
ProviderCodeSwitcher->>Shiki: highlight N samples × light theme
Shiki-->>ProviderCodeSwitcher: pre-rendered HTML per sample
ProviderCodeSwitcher->>Client: samples[] with highlightedHtmlDark/Light
Client-->>Browser: tabbed switcher (tab click, clipboard copy, theme toggle)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
No description provided.