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 introduces several performance optimizations, codebase cleanups, and security improvements across the app. The most significant changes include lazy loading of heavy components for better performance, enhancement of security headers and build configuration in Next.js, refactoring for improved code clarity and maintainability, and minor UI/UX adjustments.
Performance Optimizations
CanvasRevealEffectandLottieinApproach.tsx,Footer.tsx, andBentoGrid.tsxto reduce initial bundle size and improve client-side performance. [1] [2] [3]Worldcomponent inGridGlobe.tsxto provide a better user experience during component load.Security and Build Improvements
next.config.mjsto add strict security headers (X-Content-Type-Options,X-Frame-Options,X-XSS-Protection, andReferrer-Policy) and optimized dev/build settings by disabling unnecessary source maps and IE11 transpilation, reducing build time and bundle size. [1] [2] [3]relattributes inFooter.tsxtonoopener noreferrerfor improved security against tab-napping.persist-credentials: falsein the Azure deployment workflow for improved security. (.github/workflows/azure-static-web-apps-mango-pebble-08050a31e.yml)Codebase Cleanup and Refactoring
BentoGridV1.tsxfile, streamlining the codebase.Globe.tsx, including improved camera configuration, scene setup, and ring animation logic, leading to cleaner and more maintainable code. [1] [2] [3] [4]Minor UI/UX Improvements
RecentProjects.tsxfor better responsive layout.layout.tsxto suppress hydration warnings, reducing potential client/server mismatch errors.useRef, icon mapping). [1] [2] [3] [4]Component Behavior Adjustments
PinPerspectivecomponent to use aspaninstead of an anchor tag for the title display, removing unnecessary external links.Let me know if you want to dive deeper into any of these changes!