Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request focuses on performance optimizations, dependency updates, and security improvements across the codebase. The most significant changes include lazy-loading heavy components for better performance, updating and cleaning up dependencies, optimizing the Next.js build configuration, and tightening security headers. Additionally, some minor UI and accessibility tweaks were made.
Performance and Dependency Optimizations:
react-lottiewithlottie-react, lazy-loaded it usingnext/dynamic, and removed related types and dependencies frompackage.jsonfor improved performance and bundle size. (components/Footer.tsx,components/ui/BentoGrid.tsx,package.json) [1] [2] [3] [4]CanvasRevealEffectand added a loading skeleton for the 3D globe to reduce initial bundle size and improve perceived performance. (components/Approach.tsx,components/ui/GridGlobe.tsx) [1] [2]react-icons, and use experimental optimizations for certain libraries. (next.config.mjs)Build and Sentry Configuration Improvements:
next.config.mjs) [1] [2]sentry.client.config.ts)cross-envto scripts to suppress Node deprecation warnings and filter out Sentry logs during build. (package.json) [1] [2]Security and Accessibility:
next.config.mjs)relattributes on external links to usenoopener noreferrerfor better security. (components/Footer.tsx)spanfor improved accessibility. (components/ui/3d-pin.tsx)Other Cleanups:
components/ui/BentoGridV1.tsx, and trimmed Tailwind content paths for faster builds. (components/ui/BentoGridV1.tsx,tailwind.config.ts) [1] [2]three,eslint-config-next, and addedpunycode. (package.json)