Conversation
- Added VideoDemo component - Added arkenv-video.mov - Updated home page
- Removed StackBlitz demo component - Removed middleware for StackBlitz - Removed env var and sdk dependency
- Reduced dark mode shadow intensity
- Wrapped video in a button - Allows play on click
- Removed embed params - Removed duplicated source
- Use env var for github repo - Computed once, avoids repetition - Added github url breakdown util
- Added aria-label to the play button for the demo video to improve accessibility.
- Added a poster image for the video demo. - Set the video width to 958 pixels for better display.
|
You have run out of free Bugbot PR reviews for this billing cycle. This will reset on October 26. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughAdded width and poster attributes to a video element in apps/www/components/page/video-demo.tsx. No changes to logic, events, or structure. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests
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 |
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
apps/www/components/page/video-demo.tsx (1)
21-21: Aria label doesn’t match action.Click opens StackBlitz, not “play video”.
Apply this diff:
- aria-label="Play demo video" + aria-label="Open interactive demo in a new tab"
🧹 Nitpick comments (2)
apps/www/components/page/video-demo.tsx (2)
31-31: Add MP4 fallback for broader browser support.MOV/quicktime often fails on Chromium. Provide MP4 first, then MOV.
Use this source order:
<source src="/assets/demo.mp4" type="video/mp4" /> <source src="/assets/demo.mov" type="video/quicktime" />
27-29: Avoid fixed width — make the video responsiveReplace width={958} with responsive Tailwind constraints to prevent horizontal overflow on small screens.
File: apps/www/components/page/video-demo.tsx — apply:
- width={958} - poster="/assets/demo.png" - className="block max-h-[600px] sm:max-h-[1000px] object-contain" + poster="/assets/demo.png" + className="block w-full max-w-[958px] max-h-[600px] sm:max-h-[1000px] object-contain"Optional wrapper constraint:
- className="rounded-lg overflow-hidden border border-fd-border shadow-lg bg-black/5 dark:bg-black/20 cursor-pointer" + className="w-full max-w-[958px] rounded-lg overflow-hidden border border-fd-border shadow-lg bg-black/5 dark:bg-black/20 cursor-pointer"Verified assets: apps/www/public/assets/demo.png, apps/www/public/assets/demo.mov
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
apps/www/public/assets/demo.pngis excluded by!**/*.png
📒 Files selected for processing (1)
apps/www/components/page/video-demo.tsx(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: test-build
🔇 Additional comments (1)
apps/www/components/page/video-demo.tsx (1)
28-28: LGTM: poster improves perceived loading.
Summary by CodeRabbit
New Features
Style