fix: optimize landing Lighthouse with static homepage rendering#435
fix: optimize landing Lighthouse with static homepage rendering#435LucasSantana-Dev merged 2 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedPull request was closed or merged during review WalkthroughThis PR removes dynamic imports and Supabase user retrieval from the landing page, simplifies component signatures by eliminating user-prop dependencies, replaces all animation and motion effects with static rendering, and updates a CSS design token for subtle text color. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 OpenGrep (1.16.3)apps/web/src/__tests__/components/landing/MarketingCtas.test.tsx┌──────────────┐ �[32m✔�[39m �[1mOpengrep OSS�[0m �[1m Loading rules from local config...�[0m apps/web/src/app/page.tsx┌──────────────┐ �[32m✔�[39m �[1mOpengrep OSS�[0m �[1m Loading rules from local config...�[0m apps/web/src/components/landing/CTASection.tsx┌──────────────┐ �[32m✔�[39m �[1mOpengrep OSS�[0m �[1m Loading rules from local config...�[0m
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 |
Project Scorecard |
60f27a5 to
848ba70
Compare
|



Summary
/signin,/signup)LandingNavValidation
npm run lint(apps/web)npm run test -- --runInBand src/__tests__/components/landing/MarketingCtas.test.tsxNODE_ENV=production npm run build(apps/web)http://localhost:3320): Performance 100, Accessibility 100, Best Practices 100, SEO 100https://siza.forgespace.co): Perf 100 / A11y 96 / BP 96 / SEO 100 (deploy required for live improvement)Summary by CodeRabbit
New Features
Bug Fixes & Improvements
Refactor
Tests